rename error on temporary destination file

Vangelis Katsikaros vkatsikaros at gmail.com
Wed Sep 13 16:35:44 UTC 2017


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



More information about the rsync mailing list