Date: Mon, 25 Jan 2016 14:37:20 +0300 From: Alexander Moisseev <moiseev@mezonplus.ru> To: freebsd-questions@freebsd.org Subject: Re: rolling backup Message-ID: <af40c683-0474-8b00-0df1-ea58fd744c8c@mezonplus.ru> In-Reply-To: <56A6017E.4020801@freebsd.org> References: <56A5F7FF.1050606@gmail.com> <56A6017E.4020801@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?af40c683-0474-8b00-0df1-ea58fd744c8c>