updated readme

This commit is contained in:
ilguappo 2024-08-14 17:06:54 -07:00
parent d383a7ef9d
commit ca81e2f080

View File

@ -10,7 +10,7 @@ requires: rsync, cron and a filesystem that is capable of hardlinking.
```
Setup backup strategy in `crontab -e`
```bash
0 */3 * * * /mnt/DOOM/BACKUPS/backup.sh /home/bob/ /mnt/DOOM/BACKUPS/bob/daily 56 | tee -a /mnt/DOOM/BACKUPS/bob/log.txt
0 0 * * 4 /mnt/DOOM/BACKUPS/backup.sh /home/bob/ /mnt/DOOM/BACKUPS/bob/weekly 4 | tee -a /mnt/DOOM/BACKUPS/bob/log.txt
0 0 1 * * /mnt/DOOM/BACKUPS/backup.sh /home/bob/ /mnt/DOOM/BACKUPS/bob/monthly 12 | tee -a /mnt/DOOM/BACKUPS/bob/log.txt
@daily /mnt/DOOM/BACKUPS/backup.sh /home/bob/ /mnt/DOOM/BACKUPS/bob/daily 56 | tee -a /mnt/DOOM/BACKUPS/bob/log.txt
@weekly /mnt/DOOM/BACKUPS/backup.sh /home/bob/ /mnt/DOOM/BACKUPS/bob/weekly 4 | tee -a /mnt/DOOM/BACKUPS/bob/log.txt
@monthly /mnt/DOOM/BACKUPS/backup.sh /home/bob/ /mnt/DOOM/BACKUPS/bob/monthly 12 | tee -a /mnt/DOOM/BACKUPS/bob/log.txt
```