Backup using Rsync, Bash & Cron

Backup using Rsync, Bash & Cron I wanted to backup my home directory using rsync to a separate drive, and to make it happen automatically. I spent ages doing research into the various commands, and found everything I needed to know, but not all in the same place. While it was fun for me, others may just want to know how to do it immediately. So here goes! The rsync command Code: sudo rsync -av –progress –delete –log-file=/home/your-username/Desktop/$(date +%Y%m%d)_rsync.log –exclude “/home/your-user

Source: Backup using Rsync, Bash & Cron

Backup using Rsync, Bash & Cron was last modified: July 13th, 2017 by Jovan Stosic