rolling backup

Sergei G sergeig.public at gmail.com
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:

https://github.com/Kulak/rollingdump

I pushed it to github as a backup strategy :)


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

> 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.
>
> https://github.com/moisseev/rmexp/blob/master/rmexp/rmexp.pod
> There is no support for backups stored locally as files yet, but it is not
> complicated to add.
>
> --
> Alexander
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list