resnc for a local mirror backup
Jason Straight
jason at jeetkunedomaster.net
Sun Mar 5 14:45:54 UTC 2006
On Sunday 05 March 2006 01:28, Gabriel Dragffy wrote:
> 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
you don't want to access it by /dev/sdb1, that's direct device access, not to
access the filesystem on it.
You'll want to mount /dev/sdb1 to someplace and then make "Backup" there.
try the following commands
man mount
man fstab
to get an idea of how to mount your drives.
--
|
| Jason Straight
| SkyCon.net 231-627-3528
| Jabber: leejunfan at jabber.org
| ICQ: 1796276 / AIM: JasonRStraight
| MSN: glock21-45cal at hotmail.com / Yahoo: jasonrstraight
|
More information about the kubuntu-users
mailing list