rsync and missing files?

John Madden
Wed, 17 Apr 2002 09:03:04 -0000

(The list archiving site appears to be down -- sorry if this is answered
there...)

I'm using rsync to perform backups to an rsync daemon as follows:

/usr/local/bin/rsync -az --delete $X user@1.2.3.4::backup/current

One of those $X's is /home, which contains a few thousand maildir's.
Trouble arises when attempting to copy files that are quickly moved. (eg,
when someone initiates a POP session in the middle of a backup.)  Rsync
exits with:

send_files failed to open //home/user/Maildir/new/_dwG.NeZv8.blah: No such
file or directory
rsync error: partial transfer (code 23) at main.c(578)

I've looked through the manpage and the docs on the website, but I
haven't
found anything (ie, --partial and --ignore-errors) that have any effect.
This has gotta be something that people run into all the time, but does
anyone have a solution?

John




--
John Madden
UNIX Systems Engineer
Ivy Tech State College
jmadden@ivy.tec.in.us