LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03: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, 04:07 PM   #2
billymayday
LQ 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, 04: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, 04:46 PM   #4
billymayday
LQ 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 04:49 PM.
 
Old 06-01-2006, 05: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, 05:06 PM   #6
billymayday
LQ 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, 06: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



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 05:40 AM
rsync skips directory when trying to restore weibullguy Linux - General 1 03-24-2006 10:24 PM
RSYNC - file ownership MikeAtVillage Linux - Networking 2 01-16-2006 03:12 AM
rsync password-file not working kmoffat Slackware 6 08-02-2004 10:41 PM
RSYNC - Stopping a sub-directory from mirrorring!! RKris Linux - Networking 1 05-19-2003 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:19 AM.

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
Open Source Consulting | Domain Registration