I moved one of my OMV machines (DESTINATION) to mom's house to rsync from my Gen8 (SOURCE) at home. I can SSH shell at her machine back to the Gen8, so port forwarding rule and public key settings are all good. However, when it remote rsync (pull) with this:
Code
rsync -av --delete --numeric-ids --rsh=/usr/bin/ssh -p 8822 -i /var/lib/openmediavault/ssh/keys/BACKUP_KEY root@source.duckdns.org:/srv/dev-disk-by-label-SOURCE/SOURCE_FOLDER/ /srv/dev-disk-by-label-DESTINATION/.
it doesn't work and prompts this:
Code
Unexpected remote arg: root@source.duckdns.org:/srv/dev-disk-by-label-SOURCE/SOURCE_FOLDER/
rsync error: syntax or usage error (code 1) at main.c(1348) [sender=3.1.1]
What's wrong with the syntax? Thanks.