LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 06-01-2006, 04:34 PM   #1
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Rep: Reputation: 15
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
 
Old 06-01-2006, 05:07 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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?
 
Old 06-01-2006, 05:33 PM   #3
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
thanks for the quick answer !

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

Any other ideas ?

Thanks


--Sam
 
Old 06-01-2006, 05:46 PM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
what distro are you running?

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

Last edited by billymayday; 06-01-2006 at 05:49 PM.
 
Old 06-01-2006, 06:01 PM   #5
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
RH 9 on yoruban
FC3 on legba
 
Old 06-01-2006, 06:06 PM   #6
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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)
 
Old 06-01-2006, 07:13 PM   #7
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
disabling selinux did it (didn't think I had left it on, either)

Thanks very much for your help !

--Sam
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync syntax to skip directory, but copy select files.. tnicol Linux - Software 3 07-24-2007 06:40 AM
rsync skips directory when trying to restore weibullguy Linux - General 1 03-24-2006 11:24 PM
RSYNC - file ownership MikeAtVillage Linux - Networking 2 01-16-2006 04:12 AM
rsync password-file not working kmoffat Slackware 6 08-02-2004 11:41 PM
RSYNC - Stopping a sub-directory from mirrorring!! RKris Linux - Networking 1 05-19-2003 11:15 AM


All times are GMT -5. The time now is 11:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration