LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2014, 06:34 AM   #1
Aashika
LQ Newbie
 
Registered: Sep 2014
Posts: 15

Rep: Reputation: Disabled
rsync remote to remote problem


Hello,

I have two systems A and B. There is a file say X in system A, which consists of certain paths to different folders.

What I want to do is, read the paths of file X and copy the folders with the same path as file X from system B into system B itself but in a different location.

Well I know this sound confusing, but is there any way to do it?

I tried doing rsync in system A like

rsync -ave ssh --files-from=$fileX user@systemB:/ user@systemB:/target_location

but I am getting an rsync error stating "The source and destination cannot both be remote."
 
Old 09-29-2014, 08:08 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
Yes, rsync cannot handle that situation. You should download that X (from A to B) and use rsync locally. Or try something else...
 
  


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
Remote connection with rsync countrydj Linux - Software 7 11-17-2011 11:53 AM
rsync - Remote to local gabriel01 Linux - Software 3 03-09-2011 09:40 AM
Trying to rsync from remote to local dooley28 Linux - Software 1 09-23-2010 02:03 AM
remote backup with rsync cattien Linux - Networking 1 09-15-2009 01:36 AM
rsync over two remote hosts Meson Linux - General 5 01-12-2008 09:46 AM


All times are GMT -5. The time now is 10:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration