I'm trying to get rsync working as a simple backup tool (well, to be honest, more of a synchronization tool). I'm running Ubuntu 14.04 on a SSD on my home NAS, with two 3TB SATA drives for storage. I just acquired two 3TB WD Elements external hard drives (USB2.0), and plan to synchronize (or back up, or update a snapshot; I'm not sure of the language) the NAS storage drives to the external drives once a week.

The command I'm using is as follows:

# rsync -av --force --ignore-errors --delete /media/Sea01 /media/n54l/804E-B550/BU

The problem I'm facing is that whenever I run it to sync to the BU directory, it seems to want to synchronize the entire drive all over again, instead of just update as per the latest changes (add the new files and directories, update the modified ones, and delete the ones no longer on the NAS).

I'd greatly appreciate any advice you may have. Also would appreciate pointers on a better rsync command as I'm somewhat green, so to speak.

  • I would not use that "delete" flag in an automated script. If your primary drives go down, then rsync might think /media/Sea01 is empty, and then delete everything on your secondary drives. If you need "delete", I would carefully run that manually every couple of weeks or so. – cxrodgers Mar 22 '15 at 14:46

the command looks good to me. have you had it synced completely once at the beginning? if so, compare the size of the folders to check the size differences with

du -sh /media/Sea01
du -sh /media/n54l/804E-B550/BU

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.