[Cialug] rsync weirdness, ..

L. V. Lammert lvl at omnitec.net
Sun Nov 20 13:02:47 CST 2016


Here's a Holiday Noodler for a distraction:

This rsnapshot/rsync problem is a stumper, .. upgraded the host OS last
week (BSD -> Linux), ..this is the last backup job not running.

This rsnapshot sequence works just fine:

/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \
    --exclude=/proc --exclude=/dev --exclude=/var/tmp --rsh=/usr/bin/ssh -p \
    2206 --link-dest=/u/MX2/daily.1/./ root at mx2.omnitec.net:/ \
    /u/MX2/daily.0/./

BUT this one doesn't:

/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \
    --exclude=/dev --exclude=/mnt --exclude=/tmp --rsh=/usr/bin/ssh -p 2206 \
    --link-dest=/u/Mail/daily.1/./ root at mail.omnitec.net:/ \
    /u/Mail/daily.0/./
Unexpected remote arg: root at mail.omnitec.net:/
rsync error: syntax or usage error (code 1) at main.c(1345) [sender=3.1.0

Key commands are identical on both targets, .. hostnames are in config on
host and work directly.

Similar target OSs (non-working is .5 older, rsync .1 older, protocol
version 3 older). Are the rsync versions that sensitive?

	Happy Turkey Day!

	Lee



More information about the Cialug mailing list