LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   rsync no such file or directory (2) (https://www.linuxquestions.org/questions/linux-general-1/rsync-no-such-file-or-directory-2-a-450679/)

baronsam 06-01-2006 03:34 PM

rsync no such file or directory (2)
 
Hello--

I'm trying to use rsync to backup my /home directory on server yoruban to server legba with the following command:


rsync -a -e ssh /home root@192.168.0.6:/home/slm/backup_yoruban_home/

I've also tried running the command on the destination server (legba), and running as a non-root user.
I've updated to the latest rsync.

I get tons of stat no such file or directory (2) errors

when I try as root I get read-only filesystem errors (30)

I've looked around but can't understand what's happening.

Could somebody please point me in the right direction ?

Thanks,

--Sam

billymayday 06-01-2006 04:07 PM

I'm not sure of my ground here, but are you getting a mix of users here?


Does

rsync -a -e "ssh -l root" /home root@192.168.0.6:/home/slm/backup_yoruban_home/

work any better?

baronsam 06-01-2006 04:33 PM

thanks for the quick answer !

your suggestion yields many (many many) chgrp failed read only filesystem (30) errors

Any other ideas ?

Thanks


--Sam

billymayday 06-01-2006 04:46 PM

what distro are you running?

It would help if you posted some of the erroes you are getting

baronsam 06-01-2006 05:01 PM

RH 9 on yoruban
FC3 on legba

billymayday 06-01-2006 05:06 PM

Still out of my ground here, but are you running SELinux on legba? If so, does it work if you try it with SELinux disabled (setenforce 0)

baronsam 06-01-2006 06:13 PM

disabling selinux did it (didn't think I had left it on, either)

Thanks very much for your help !

--Sam


All times are GMT -5. The time now is 07:22 PM.