Tarsnap-generations
Tarsnap-generations copied to clipboard
A bash script that manages Tarsnap backups
GitHub changed the way Markdown headings are parsed, so this change fixes it. See [bryant1410/readmesfix](https://github.com/bryant1410/readmesfix) for more information. Tackles bryant1410/readmesfix#1
just a small change to fix the problem I had with the script
1) When using paths like /path/to/my/folder inside tarsnap.folders, tarsnap-generations will use that as $dir in the filename, which can cause issues because of slashes. Proposed method is to replace slashes...
Define a path to the tarsnap binary. Currently, when running via cron, tarsnap is not in $PATH and there is an error `Tarsnap-generations/tarsnap-generations.sh: line 118: tarsnap: command not found`
I'm running Arch Linux using bash 4.2.045 and tarsnap 1.0.33 My crontab 0 23 \* \* \* /root/tarsnap-generations.sh -f /root/tarsnap.folders -h 1 -d 6 -w 4 -m 3 The configuration...
At a minimum I'm going to re-work this into less embarrassing Bash (functions, anybody?), I might move it to Python 2.x. I'm open to adding features or changing functionality, please...