Hi to all,

I am not sure this is a complete newbie question but since I feel like one I post here.

Here is the deal, I have a second debian etch box which I want to use as a backup server to do daily incremental backups by using rsync. The two computers are connected to a local Lan at work and they have static IP addresses. I have installed samba on both of them and can see/transfer files read write etc. through konqueror and samba shares.

However, when I try to access the shared folders through a shell I get errors (usually “no such file or directory”). When I run rsync as:

user1@computer1:~$ rsync -a /mnt/sda2/mydata/ user2@computer2/backup/

I get the following error:

rsync: mkdir "/home/user2/user2@computer2/dev/hdb1/backup" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(529) [receiver=2.6.9]
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(453) [sender=2.6.9]


I assume that I am doing something wrong with how I am telling rsync to find the shared folder on computer2. But I have tried many different ways (i.e. user2@computer2/media/backup/ or user2@computer2/dev/hdb1/backup/ etc.) without success. If it might help, the shared folder on computer 2 is the backup folder which belongs to hdb1 which is mounted in fstab under /media.

So my fstab line is:

/dev/hdb1 /media vfat bla bla bla....

Any help greatly appreciated.