I'm currently using rsync to sync our anti-virus pattern files over our
Email AntiVirus-servers. It works well, but from time-to-time a mail
messages is being scanned as the sync occurs. The AV system (ahem,
Qmail-Scanner) notices a "corruption" has occured of the pattern files, and
errors - which requeues the mail. Nothing wrong with that, but I'd like to
get rid of that error.

I'm beginning to wonder if these AV pattern files (there are several) are
"related" in such a way that if rsync has moved two into place, the AV
system realises it's group of AV files are out-of-whack and calls it
corruption...

Can rsync copy the files over to a temp dir, and then move them live as one
move? I know I could do this with ssh directly, but the "--compare-dest" and
"--partial" options make me wonder if rsync can do this itself...

Is it possible?

-- 
Cheers

Jason Haar

Unix/Special Projects, Trimble NZ
Phone: +64 3 9635 377 Fax: +64 3 9635 417

Reply via email to