Links
sudo cp /etc/rsnapshot.conf.default /etc/rsnapshot.conf
sudo nano /etc/rsnapshot.conf
> snapshot_root /media/lukel/05e20897-ac08-4c86-baf1-b68748ea6117/e490_rsync/ # Where do you want me to save stuff?
> no_create_root 1 # Do not sync if device not mounted
> cmd_cp /usr/bin/cp # Uncomment on Linux
> retain beta 7 # Keep 7 daily backups
> logfile /var/log/rsnapshot # Log to special file
> lockfile /var/run/rsnapshot.pid # Only one instance allowed
> exclude_file $HOME/.config/rsync/exclude # rsync exclude-from
> rsync_numtries 1 # Try again after fail
> backup $HOME/ home/ # Backup home dir
rsnapshot configtest
> Syntax OK
sudo crontab -e
> 0 */4 * * * /usr/local/bin/rsnapshot alpha
> 50 23 * * * /usr/local/bin/rsnapshot beta