Each month, I backup my /home to an external USB HDD. This works well, but takes a long time. I suspect this is because everything is being copied fresh, each time I perform the operation, when I only need the added and deleted files to be amended. I can confirm that files that have been deleted from my /home are being deleted as part of the rsync back up.
Could I ask anyone who uses rsync to have a look at the command I am using, and see whether it looks correct.
For info, I am executing the command as a user (chris), and I want to back up /home/chris to my Freecom HDD directory, called Backup. I think I am excluding files that begin with a '.'
I am using this:
Code: Select all
rsync -av --delete --exclude=".*/" /home/chris/ /media/chris/FREECOM\ HDD/Backup/
I'd really appreciate a second opinion on this. As I say, the backup completes, it just takes a long time, and most of the contents don't change from one month to the next (photos, music etc).
Cheers,
Chris.