rename error on temporary destination file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

rename error on temporary destination file

Samba - rsync mailing list
Hi

I am seeing from time to time the following error:

rsync: rename "/DEST_DIR/SUB_DIR/.A_FILE.AzmlvG" -> "SUB_DIR/.tmp/A_FILE.xml.gz": No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183)

I rsync from a few source machines to a single destination machine, with:

/usr/local/bin/rsync-no-vanished \
--bwlimit=512k --recursive --delay-updates --quiet --update \
--include=\"*/\" --include=\"*.gz\" --exclude=\"*\" \
/SOURCE_DIR/ DEST_IP:/DEST_DIR/

The filenames on the 4 source machines are distinct, but they do contain sub directories with the same names.

Could it be that while machine A syncs SUB_DIR/fileA, machine B finishes syncing SUB_DIR/fileB and cleans the temporary directory on the destination machine? If so, is there a way to avoid it?

Both sources and destination have: rsync  version 3.1.0  protocol version 31

rsync-no-vanished is the one provided by rsync's distribution.

Regards
Vangelis

--
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