Is rsync corrupting my RAR?
- by Mark Henderson
We have two qnap devices - one in our datacentre and one off-site. We have hundreds of password protected RAR files stored on the qnap that contain virtual machine image snapshots, with approx 20 of them being created each day.
We synchronise the two devices using rsync, and it looks like all the files are being rsynced OK - they come over and have the same file size and all the files are present and accounted for.
However, when I try to open the RAR files on the remote site, I get
Cannot open \\qnap01\FromDatacentre\Snapshots\DB001SQL1-20110626.rar
I can open the RAR files on the local site just fine, so I assume that something is getting mangled during the rsync procedure. However, the older files (pre 2011-06-20) work just fine, it's something that's only started happening in the last week.
There haven't been (as far as I know) any changes to any of the devices, setup or configuration in that time. Obviously something has changed though.
Where should I start investigating?