aboutsummaryrefslogtreecommitdiff
path: root/scripts/rollover/README
blob: fd2dd08e4293249b98c1d96ba71d55ead608c7c4 (plain)
1
2
3
4
5
6
7
8
9
10
# backup.sh 

This rolls over a weeks worth of backups made by the backup script and refiles them under the Week number

1. Drop this script in your home and make it executable.
3. For every thing you want to backup, create a bash script that sets the REMOTE_LOCATION and BACKUP_DIR variable.
3. Add a new cron job like this `@weekly BASH_ENV=$HOME/environment.sh $HOME/rollover.sh >> $HOME/rollover.log`.


License: It's like 10 lines bro. MIT if you must.