Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-12-2010, 05:16 AM   #1
Registered: Aug 2009
Posts: 228

Rep: Reputation: 30
Linux dump and restore?

Dear All
Can you please confirm if the following scenario works for making my client and server as identical ?
My local(source) Linux server @
My remote Linux client @
On the local system :
#df -m
Filesystem Mounted on
/dev/hda3 /
/dev/hda1 /boot
tmpfs /dev/shm
On the local system , issue the followings to make client and server as identical :
#dump -0uvf - /dev/hda3 | ssh root@ -c "restore -rf - /"
#dump -0uvf - /dev/hda1 | ssh root@ -c "restore -rf - /boot"
#dump -0uvf - /dev/shm | ssh root@ -c "restore -rf - /tmpfs"
Can you please confirm if my understanding is right?
Thank you
Old 01-12-2010, 08:13 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
You'll get a copy of SOMETHING. I wouldn't be too sure about the
state of volatile files if you do this from a live system, and
I definitely wouldn't try to copy /dev/shm

I'd recommend using a live-cd on both machines to execute that
clone, to be on the save side.


Last edited by Tinkster; 01-12-2010 at 08:14 PM.


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
Restore MySQL Dump File But I want it to restore with different names? helptonewbie Linux - Newbie 5 07-08-2009 06:09 AM
dump and restore ChrisAbela Slackware 0 05-08-2008 09:15 AM
dump/restore moger Linux - Software 4 12-31-2002 05:34 AM
dump + restore to backup linux ; "Couldn't find matching filesystem: LABEL=/" on boot markus1982 Linux - General 4 09-21-2002 02:16 PM
dump and restore nat Linux - General 1 04-26-2002 05:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration