rolling backup
Alexander Moisseev
moiseev at mezonplus.ru
Mon Jan 25 11:46:29 UTC 2016
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
More information about the freebsd-questions
mailing list