Sonic
2015-10-12 18:55:26 UTC
One of the backup lines in my rsnapshot.conf used an alternate port
for an rsync module:
backup --port=874 host::module destination/
Which worked fine with 1.3.1 now fails with:
rsync: --port=874 host:module: invalid numeric value
=====================================
/usr/bin/rsync -av --delete --numeric-ids --relative --delete-excluded \
--port=874 host::module /mnt/saved/test/daily.0/destdir/
rsync: --port=874 host::module: invalid numeric value
rsync error: syntax or usage error (code 1) at main.c(1554) [client=3.1.1]
=====================================
Alternate methods also fail:
backup host::module destination/ +rsync_long_args="--port=874"
=====================================
/usr/bin/rsync -av --delete --numeric-ids --relative --delete-excluded \
host::module /mnt/saved/test/daily.0/destdir/ \
+rsync_long_args="--port=874"
@ERROR: Unknown module 'module'
=====================================
seems the port change does not get passed to rsync
backup rsync:://host:874/module destdir/
=====================================
/usr/bin/rsync -av --delete --numeric-ids --relative --delete-excluded \
rsync:://host:874/module /mnt/saved/test/daily.0/destdir/
ERROR: The remote path must start with a module name not a /
rsync error: error starting client-server protocol (code 5) at
main.c(1635) [Receiver=3.1.1]
=====================================
a problem I don't get when running the rsync command manually (but
this fails the same way with 1.3.1)
Chris
------------------------------------------------------------------------------
for an rsync module:
backup --port=874 host::module destination/
Which worked fine with 1.3.1 now fails with:
rsync: --port=874 host:module: invalid numeric value
=====================================
/usr/bin/rsync -av --delete --numeric-ids --relative --delete-excluded \
--port=874 host::module /mnt/saved/test/daily.0/destdir/
rsync: --port=874 host::module: invalid numeric value
rsync error: syntax or usage error (code 1) at main.c(1554) [client=3.1.1]
=====================================
Alternate methods also fail:
backup host::module destination/ +rsync_long_args="--port=874"
=====================================
/usr/bin/rsync -av --delete --numeric-ids --relative --delete-excluded \
host::module /mnt/saved/test/daily.0/destdir/ \
+rsync_long_args="--port=874"
@ERROR: Unknown module 'module'
=====================================
seems the port change does not get passed to rsync
backup rsync:://host:874/module destdir/
=====================================
/usr/bin/rsync -av --delete --numeric-ids --relative --delete-excluded \
rsync:://host:874/module /mnt/saved/test/daily.0/destdir/
ERROR: The remote path must start with a module name not a /
rsync error: error starting client-server protocol (code 5) at
main.c(1635) [Receiver=3.1.1]
=====================================
a problem I don't get when running the rsync command manually (but
this fails the same way with 1.3.1)
Chris
------------------------------------------------------------------------------