LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-30-2005, 06:43 PM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
rsync -R didn't work


Dear all,

I tried to use rsync -R to backup a directory together with its path. however it didn't work. the following is what happened.


]# rsync -a -e -R ssh root@xxx.xx.x.xxx:/etc/squid /backup
link_stat "/root/root@xxx.xx.x.xxx:/etc/squid" failed: No such file or directoryrsync error: some files could not be transferred (code 23) at main.c(633)

If I remove the -R it becomes ok, but I need to try the -R so that I can backup the whole directory path isntead of just the directory at the end of the path.

anyone who knows, please help me.
Thanks a lot for taking note of my question!
 
Old 03-30-2005, 06:56 PM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
Your distribution implies you paid for support, you should use it if you did.

You might try adding a / at the end of the command line.
 
Old 03-30-2005, 08:19 PM   #3
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
Hi MrGenius,

Actually I changed to fc2 now...forgot to update my info..sorry...

After adding the / to the end, it still gave me the same error. not sure why....
 
Old 03-30-2005, 08:23 PM   #4
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
is there a chance the file doesn't exist?
 
Old 03-30-2005, 08:30 PM   #5
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
Hi MrGenius,

very sure that is exist. I tried on other files too, gave me the same output.
thanks for your reply
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync help! slack66 Linux - Newbie 1 10-27-2005 07:40 AM
Rsync sant25 Linux - General 2 09-02-2005 03:34 PM
How does rsync work? obelxi Linux - General 6 03-07-2005 01:49 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
Rsync buttersoft Linux - Software 4 11-05-2003 11:37 AM


All times are GMT -5. The time now is 02:32 AM.

Main Menu
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