Ok, here's the output created by the backup process captured as Mark suggested above (cool):
/usr/bin/rsync -aAv --links -8 --delete --port=873 [email protected]::pictures/DPhotos/. /backup/Automated Backups/DPhotos
I'm going to check what some of those options mean. For this to work in multiple cases I'd have to do more than pass the existing args and add some extras. Maybe by checking for some passed info and then having a condition which changes the call to rsync based on that.
I know I'll have to replace the "::" after the DEST domain with a single colon for instance. Since "::" means that you're using a module name defined in rsyncd.conf which isn't in place at Dreamhost.
I have tested ssh out from the ReadyNAS shell to Dreamhost and that's working. Now I need to generate a public key on the NAS to send up to Dreamhost to allow ssh and rsync without specifying a password.
I'll definitely need help with the conditional logic and breaking apart the args in the shell script.
At this point I know what the args do, but I still don't know why there's a period between the SRC and DEST.