[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cron archive deletion / mass archive deletion



On 09/07/14 19:30, Bob wrote:
> I am using freeBSD and just started tarsnap backups. I would like to
> understand a reasonable way to do periodic deletes via cron. I have
> named my backups "lilybackup-yyyy-mm-dd-hh:mm:ss". My hope is to be
> able to delete backups older than 30 days.
>

I'm sure there are many pre-rolled solutions for this, but this is the
one that I use:

https://github.com/alexjurkiewicz/acts

A simple script for keeping daily/weekly/yearly backups and running
pre-/post-backup scripts.

Warren