LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 05: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, 07:08 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:51 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
Open Source Consulting | Domain Registration