Hi all,
I have a script that rsyncs files from one machine to another as part of a
periodic backup. The source file system can be changing as the backup happens
and sometimes, I get "24 - Partial transfer due to vanished source files"
errors. That error doesn't really bug me, so I mask it out in my script.
Things just keep going when files vanish.
I really want my script to print a message and stop if it sees a more
significant error, say "23 - Partial transfer due to error". So, I have
the script do that too.
I recently bumped into a case where a single rsync run had both errors.
First it printed:
rsync: rsync_xal_set: lsetxattr("/path/to/file","xattrname") failed:
Argument list too long (7)
Then it printed:
file has vanished: "/path/to/other/file".
Rsync returned exit code 24 and my script kept on going -- not what I
wanted it to do.
So, is it the last error that's reported? An ideas on how to get the
error I want?
Thanks!
--
Ken Preslan <[email protected]>
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html