rolling backup

Sergei G sergeig.public at
Thu Feb 11 18:52:21 UTC 2016

I ended up creating a rolling backup script.  It does not use exponential
strategy, but is simple enough for me:

I pushed it to github as a backup strategy :)

On Mon, Jan 25, 2016 at 3:37 AM, Alexander Moisseev <moiseev at>

> On 25.01.16 14:05, Matthew Seaman wrote:
>> Deleting 'all but the last N' is a good strategy with backups.  Suppose
>> for whatever reason, backup fails for N nights in a row.  If you just
>> deleted backup files that were over N days old, you'ld be left without
>> any backups at all after a certain time.  However, keeping a certain
>> number of files means that you still have some backups available, albeit
>> older than would be ideal.
>> An exponential expiry strategy can solve that problem.
> There is no support for backups stored locally as files yet, but it is not
> complicated to add.
> --
> Alexander
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list