LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-12-2007, 07:56 PM   #1
combilli
Member
 
Registered: Oct 2006
Posts: 75

Rep: Reputation: 15
How can I transfer files from network


I got 2 Linux server. Going to tranfer the home directory from old server to another.

Could anyone tell me how to do that?
 
Old 02-12-2007, 08:12 PM   #2
wanderingmind
Member
 
Registered: Sep 2005
Location: UK
Distribution: Ubuntu 12.04 LTS
Posts: 76

Rep: Reputation: 16
what have you tried? SSH? NFS?
Are they hooked to the net? What servers? What distro?
Impossible to help unless you specify your problem.
 
Old 02-12-2007, 08:18 PM   #3
monkster
LQ Newbie
 
Registered: Sep 2005
Location: New England
Distribution: Ubuntu, Debian, Redhat
Posts: 12

Rep: Reputation: 0
try a tar pipe

You could try a tar pipe. On your old server type:

% (cd /; tar -cvf - home) | (ssh newserver.yournetwork.com 'cd / ; tar -xf -')

Experiment with a test file first to see how this works, and be careful with the minus signs. They are very important. This command takes the output of tar and pipes it through an ssh connection to your new server, where the tar program on the new server extracts the data, making an identical copy of the data from the old server.
 
  


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
How To transfer files Hpolanco Linux - Newbie 1 09-01-2006 11:49 AM
How transfer files? zpxykm Linux - Newbie 4 11-24-2005 03:03 AM
Can't Transfer Files derek-888 Linux - General 9 11-29-2003 12:41 PM
how do I transfer files dogma Linux - Newbie 5 05-27-2003 06:11 PM
Best Way to Transfer Files? Cynthia Blue Linux - Newbie 20 12-14-2002 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:34 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