Is rsync corrupting my RAR?

Posted by Mark Henderson on Server Fault See other posts from Server Fault or by Mark Henderson
Published on 2011-06-27T23:36:31Z Indexed on 2011/06/28 0:23 UTC
Read the original article Hit count: 184

Filed under:
|
|

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?

© Server Fault or respective owner

Related posts about rsync

Related posts about rar