On 09 Jul 2014, 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. > > Thanks, > Bob
I don't know a fully automatic way to do this via cron but I've posted a description of how I do it semi-automatically. This is on linux but I think it should work for freeBSD as well. It's not very elegant and could no doubt be improved, but it does work. See http://www.acampbell.org.uk/serendipity/index.php?/archives/685-Tarsnap-deleting-unwanted-archive-files.html -- Anthony Campbell - [email protected] http://www.acupuncturecourse.org.uk http://www.smashwords.com/profile.view/acampbell https://itunes.apple.com/ca/artist/anthony-campbell/id73235412
