I currently use rsync to do backups on my desktop from one location to another on the same machine, but I'd like to be able to backup the entire home/user directory to a network attached storage device. This is a consumer device (LaCie d2 Ethernet Disk mini) which I can only set using a browser based interface. It offers smb and ftp, http and some other obscure protocols, but no nfs. I can access it through nautilus and store the user passwords in the keyring, but rather than drag-and-drop backups I'd like a command I can run from an executable text file. So I just click that and off it goes.
This was my best attempt so far (I've changed the username and passwords in the example):
[user@desktopPC ~]$ rsync -av --delete --rsh=smb /home/user/Desktop/ //workgroup%3Bnasuserpwd@192.168.1.147/archive
building file list ... done
rsync: mkdir "//workgroup%3Bnasuserpwd@192.168.1.147/archive" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(509) [receiver=2.6.8]
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(463) [sender=2.6.8]