Backup a Raspberry Pi with Rsync – The Chewett blog
chewett.co.uk › blog › 613Dec 20, 2017 · Once we have removed the line deleting the directories we need to change the scp command to a rsync command. My new backup commands are. rsync -rthvz --progress --delete bunker-master2:/home . rsync -rthvz --progress --delete bunker-master2:/var/www var/ Here I call rsync with a number of flags to backup my Raspberry Pi.