tarsnap-cron
tarsnap-cron copied to clipboard
Cron scripts (bash/shell) for tarsnap backup, including scheduled deletion of old backups.
I don't think I was aware of shellcheck the last time I worked on this! Checking for style and possible bugs - say, quoting - would be good.
The original debug option was for developer use, on a different system. For others to use it, it's probably better and clearer to add an argument for a dry-run, which...
Would be great to be able to specify patterns to exclude from backups. Just like how tarsnap exclude patterns are taken care of, but applied to every backup defined in...
It works. I think it takes a `tarsnap --fsck` to resync the caches, perhaps on both archiving and pruning servers? Note to self: figure this out and document it when...
Someone just asked about suggested pruning frequencies, and I threw out suggestions: - right after running the backup. Tack "&& /usr/local/bin/tarsnap-prune.sh" onto the end of the lines that run the...