Malformed rsync command on ReadyNAS

backupnetwork-attached-storagereadynasrsync

I'm trying to set up rsync backups on my ReadyNAS and I'm getting the following error:

ERROR: The remote path must start with a module name not a /

This error is accompanied by the following information:

Job: 015
Protocol: rsync
Source: 192.168.140.25::/home/jason
Destination: [gob]/

I think the error makes sense because look what happens when I try this:

$ rsync -r 192.168.140.25::/home/jason dest/
ERROR: The remote path must start with a module name not a /

The command fails. If I change it only slightly, it succeeds:

$ rsync -r 192.168.140.25:/home/jason dest/

So the question is: Why is the ReadyNAS trying to run an rsync command with an extra colon? Is there something about the way rsync works that I don't understand?

Best Answer

When you run rsync HOST::PATH, rsync uses the rsync protocol (there must be an rsync daemon at the other end). When you run rsync HOST:PATH, rsync uses ssh (or rsh) for transport (there must be an ssh (or rsh) server and an rsync executable at the other end).

If ReadyNAS must use the rsync protocol, or if you prefer to use it, read the rsync manual for how to work and configure an rsync daemon. If you choose to use ssh transport, make sure to use a single :.