LinuxQuestions.org
Review your favorite Linux distribution.
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 08-17-2003, 11:45 AM   #1
bobbyr
LQ Newbie
 
Registered: Aug 2003
Location: SoCal
Posts: 10

Rep: Reputation: 0
Question using dd to copy a file system to another server


I need top copy all personal user directories from within /home to another server's /home. Wouldn't dd be faster? I am not sure what the synctax would be?

dd if=/home of=remoret_server:/home

not sure???
 
Old 08-17-2003, 12:08 PM   #2
raylpc
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Red Hat 9
Posts: 94

Rep: Reputation: 15
Don't know how to use dd.
one alternative is tar
tar -cf - <from-directory> | (cd <to-directory>; tar -xvf - .)
all attributes and symbolic links are preserved.
 
Old 08-17-2003, 01:19 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Or if you are versed enough, you could setup NFS and just do a cp:
cp -a /home /mnt/server/home
Assuming you've mounted the server's home at /mnt/server

Cool
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
SCP: Copy file from remote linux server onto a windows machine? Tony Empire Linux - Newbie 21 09-22-2015 11:18 PM
Setup Samba File Server with Shadow Copy support kstan Linux - Enterprise 2 07-04-2005 03:15 AM
file copy locks system for couple seconds on ABIT IS7 jEECHA Linux - Hardware 0 07-08-2004 05:14 PM
What does 'one file system' (copy command's -x arguement) mean? davidas Linux - Newbie 1 04-13-2004 03:07 AM
boot error after using Copy Commander to copy debian system onto larger new drive Interceptor Linux - Hardware 7 05-04-2003 01:40 PM

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

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