I am rsyncing directories from one system to the other for nightly backups, I have noticed it refuses to copy some binaries even though they have different sizes, dates and checksum, i even tried with the -c option. The file "runcbl" is the one that is different.
Here is what is happening:
[root@inqdbvm RWzzz]# /usr/bin/rsync -aucvx --rsh="ssh" --delete aries3:/RWzzz /Backup/aries3
receiving file list ... done
wrote 56072 bytes read 218126 bytes 4853.06 bytes/sec
total size is 2212191051 speedup is 8067.86
[root@inqdbvm RWzzz]# ls -la /Backup/aries3/RWzzz/runcbl
-rwxrwxrwx 1 root root 1647880 Oct 15 2008 /Backup/aries3/RWzzz/runcbl
[root@aries3 RWzzz]# ls -la /RWzzz/runcbl
-rwxrwxrwx 1 root root 2205724 Jul 21 2008 /RWzzz/runcbl
[root@inqdbvm RWzzz]# file runcbl
runcbl: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
Rsync 2.5.7 is six years old; we won't support it. If you're using an "enterprise" OS distribution, you can ask the vendor. Otherwise, please upgrade rsync.
Attempted in 3.0.7, same issue.
Ah. You are using the -u option, which tells rsync not to replace the newer destination file with the older source file. If that's not what you want, remove the -u option.
Thanks, I saw that just now, I'm unsure how the backup file got modified to be newer than the one running but that solved it!