I work for a company that rsyncs its media content to a datacentre daily for distribution via https to our clients. Unfortunately we've started to have problems with our rsync command/script.
It runs fine, but it seems to re-copy files that are already at the destination, of the same size and of the same date modified? We have hundreds of thousands of files, so this really cant happen. Our team here at the company use Windows XP to create the media, then put in on a the local suse server via SMB.
The code is
/usr/bin/rsync -p --chmod=ugo+rwX -rltvH --exclude 'mc*' --exclude 'mca*' --modify-window=1 192.168.0.83::KVMediaDJV/DJVideo/Clips/mp3/ /home/ftpupload.kv_users/config/ftp/clips/mp3
Both servers local and remote are Suse 10. The target/paths are irrelevant because they are correct and work.
Local server LS -L
-rwxrwx--- 1 design kvmediagroup 4545946 Feb 15 2006 d.o.n.s. feat. techtronic - .m3e
-rwxrwx--- 1 design kvmediagroup 4 Mar 28 2008 d.o.n.s. feat. techtronic - .m3e.date
-rwxrwx--- 1 test kvmediagroup 4494361 Jul 25 2008 d.o.n.s. feat. techtronic - _pn.m3e
Remote server LS -L
-rwxrwxrwx 1 504 502 4545946 Feb 15 2006 d.o.n.s. feat. techtronic - .m3e
-rwxrwxrwx 1 504 502 4 Mar 28 2008 d.o.n.s. feat. techtronic - .m3e.date
-rwxrwxrwx 1 504 502 4494361 Jul 25 2008 d.o.n.s. feat. techtronic - _pn.m3e
As you can see local/remote files are the same, any ideas why this re-copy would happen? What's rsync playing at? We obviously just want it to sync new files and changes.