resnc for a local mirror backup

Gabriel Dragffy dragffy at yandex.ru
Sun Mar 5 06:28:24 UTC 2006


Hi,

Thanks for the help so far on this issue, I made a script to automatically 
activate rsynv for copying the contents of my /home on to a usb hard drive.

However, when I run the command

> rsync -av --delete /home/sniff /dev/sdb1/Backup

it returns the following error:


>building file list ... done
>rsync: mkdir "/dev/sdb1/Backup" failed: Not a directory (20)
>rsync error: error in file IO (code 11) at main.c(422)
>rsync: connection unexpectedly closed (8 bytes received so far) [sender]
>rsync error: error in rsync protocol data stream (code 12) at io.c(434)


I know that it isn't a permission problem (as i also tried it doing sudo) and 
I have tried every possible combination I can think of for the destination 
drive (/dev/sdb1     /media/sdb1/     /mnt/sdb1) etc with the same results. I 
want the /home backup to end up in a folder named "Backup" on the drive 
(hence the /Backup), this directory already exists on the media. Please help 
me, I really can't make head nor tail out of this error message.

Regards,
Gabe




More information about the kubuntu-users mailing list