I use Time Machine to make backups of my computer. Now I would like to mirror the complete backup to a remote machine for added security.
Here's my rsync command:
rsync -azvH --progress --partial --delete -e ssh /Volumes/2tb/Backups.backupdb/ user@remote:/backup
-a to preserve timestamp,
-z for compression,
-v to get verbose output,
-H to preserve hard links (essential to copy Time Machine backup),
--progress to see what's happening,
--partial keeps partially transferred files,
--delete removes files on remote that are deleted locally.
When I run this, I get a lot of file permission errors. Apparently, I'm not allowed to access a lot of files in my Time Machine backup. This is not only for files in
/private, but also files in
/usr/ which should have read permissions.
- Does Time Machine change file permissions while doing a backup?
- How can I use rsync to mirror my complete Time Machine backup without using sudo?