Backup Strategy

#sysadmin #backups

How I use rclone and a Raspberry Pi to backup my local encrypted cache of backups.

$ crontab -e
0 0 * * * /bin/bash /home/pi/backup.sh

Rclone must be configured beforehand to setup the credentials for Onedirve

/home/pi/backup.sh

rclone --drive-use-trash sync /media/nas/backups onedrive:backups

Now all I have to do is set my backup software (depends on computer/OS) to send everything to the NAS and it all gets uploaded automatically to different cloud providers.