meskyanichi/backup — Issue #252: Suggestion: Storage Cycling by size
Author: kuraga
Created: 2012-01-03 08:25:09+00:00
State: open

Suppose we have 1Gb disk free space. And we don't know how many backups would fit in. It is great to haave an option such as `sftp.keep_sizeit = 1.gigabyte`.

```
if backup_size > keep_size
raise Error
until storage_free_space >= backup_size
remove_oldest_backup!
end
```

But it's a question how to compose `keep` and `keep_size`... Which of them is dominant, there ara variants.