# How to handle full disk

**URL:** https://forum.duplicati.com/t/how-to-handle-full-disk/1887
**Category:** Support
**Created:** [December 27, 2017, 6:09pm UTC](https://forum.duplicati.com/t/how-to-handle-full-disk/1887 "2017-12-27T18:09:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jpschewe](https://forum.duplicati.com/user_avatar/forum.duplicati.com/jpschewe/32/1037_2.png) [@jpschewe](https://forum.duplicati.com/u/jpschewe)
#### Post date: [December 27, 2017, 6:09pm UTC](https://forum.duplicati.com/t/how-to-handle-full-disk/1887/1 "2017-12-27T18:09:05Z")

</div>

I’m coming from CrashPlan Home. With CP I could tell it to keep backups until the disk was full (or the quota reached) and then old versions would be deleted. Does Duplicati have a way to handle this?

---

<div class="post-metadata">

### Author: ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)
#### Post date: [December 30, 2017, 5:29pm UTC](https://forum.duplicati.com/t/how-to-handle-full-disk/1887/2 "2017-12-30T17:29:36Z")

</div>

> [@jpschewe](#):
>
> With CP I could tell it to keep backups until the disk was full (or the quota reached) and then old versions would be deleted. Does Duplicati have a way to handle this?

Unfortunately not. There is a `--quota-size` parameter however it is currently only used as a placeholder if the destination doesn’t report one.

> [@Crashplan is out - Looking for alternative for 3-2-1 backup scheme](https://forum.duplicati.com/t/crashplan-is-out-looking-for-alternative-for-3-2-1-backup-scheme/176/9):
>
> It does not do anything. The option is there only to override or provide a quota number, if no such number is provided by the backend. It is intended to be displayed in the UI as an indicator for how much space is left.

It would be nice to have, though… 🙂

---

<div class="post-metadata">

### Author: ![jpschewe](https://forum.duplicati.com/user_avatar/forum.duplicati.com/jpschewe/32/1037_2.png) [@jpschewe](https://forum.duplicati.com/u/jpschewe)
#### Post date: [December 31, 2017, 4:36am UTC](https://forum.duplicati.com/t/how-to-handle-full-disk/1887/3 "2017-12-31T04:36:17Z")

</div>

What happens when the remote side gets full? Does Duplicati just error out?

Is there a way to manually tell Duplicati to prune versions?

---

<div class="post-metadata">

### Author: ![drakar2007](https://forum.duplicati.com/user_avatar/forum.duplicati.com/drakar2007/32/230_2.png) [@drakar2007](https://forum.duplicati.com/u/drakar2007)
#### Post date: [December 31, 2017, 4:41am UTC](https://forum.duplicati.com/t/how-to-handle-full-disk/1887/4 "2017-12-31T04:41:02Z")

</div>

You’d probably be interested in the latest few canary builds which now have the “retention policy” feature, which does (IMHO) the best possible version pruning, i.e. it progressively thins out backup jobs in a completely configurable manner over an arbitrary (configurable) number of timespans. Using this, and keeping your destination _reasonably_ monitored, I’d think it should be really easy to avoid a situation where you suddenly slam into a storage limit, at least in most common use cases.

---

<div class="post-metadata">

### Author: ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)
#### Post date: [December 31, 2017, 5:40am UTC](https://forum.duplicati.com/t/how-to-handle-full-disk/1887/5 "2017-12-31T05:40:59Z")

</div>

> [@jpschewe](#):
>
> What happens when the remote side gets full? Does Duplicati just error out?
> 
> Is there a way to manually tell Duplicati to prune versions?

No and yes.

Duplicati should notice the space issue and stop thus leaving the backup “paused” but on a usable state. There is a `delete` command which can be used to manually debate specific backup versions (but too be confused with `purge` which works on specific files).

You might be interested in this discussion:

> [@Max destination size auto-prune?](https://forum.duplicati.com/t/max-destination-size-auto-prune/1064):
>
> Since pretty much all destinations have finite storage would it make sense have a “keep until” setting for maximum destination size? Once reached (approached?), Duplicati would automatically start pruning the oldest revisions until back within the keep size limit. Things to consider include Is it a hard (if limit will be hit by next upload, stop backup and prune?) or soft limit (finish backup even if over limit then prune until under) Should add warning notification if source size gets more …

Though personally I do as @drakar2007 suggested so am not too worried about destination space.
