Rsync + Samba: Don't Archive!

Posted by dave
on Wednesday, February 17

Just a quick note to self (and whoever else it might help) – when doing an rsync backup to a mounted SMB file share, this works:

rsync -rvz --progress /path/to/source /path/to/destination/

This doesn’t:

rsync -avz --progress /path/to/source /path/to/destination/

The -a option (“archive”) doesn’t work properly with SMB, so the files are never copied. Thanks to the Linux Blog for that one!