# VACUUM - performance improvement is huge

**URL:** https://forum.duplicati.com/t/vacuum-performance-improvement-is-huge/5186
**Category:** Developer
**Created:** [November 4, 2018, 11:25am UTC](https://forum.duplicati.com/t/vacuum-performance-improvement-is-huge/5186 "2018-11-04T11:25:26Z")
**Posts on this page:** 1
**Showing post:** 24

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [November 22, 2018, 7:20pm UTC](https://forum.duplicati.com/t/vacuum-performance-improvement-is-huge/5186/24 "2018-11-22T19:20:39Z")

</div>

> [@tacioandrade](#):
>
> My question now is to see if Duplicati has any way to purge data that is no longer needed, such as data from 91 days ago when my retention is 90 days, for example.

[Compacting files at the backend](https://duplicati.readthedocs.io/en/latest/03-using-the-graphical-user-interface/#compacting-files-at-the-backend) explains the usual way this happens. Manual command is [here](https://duplicati.readthedocs.io/en/latest/04-using-duplicati-from-the-command-line/#the-compact-command) and I point to it mainly because that page gives the options you can put in the backup’s web UI to control how aggressively compact runs. [This](https://forum.duplicati.com/t/reduce-dblock-size-possible/5335/6) is an example of really forcing `compact`, for a special purpose. Compaction requires a lot of downloads and uploads as backed up data gets repackaged, so storage provider charges may be a factor.

---

_[View the full topic](https://forum.duplicati.com/t/vacuum-performance-improvement-is-huge/5186)._
