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 @192.168.0.2 My remote Linux client @192.168.0.70 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@192.168.0.70 -c "restore -rf - /" #dump -0uvf - /dev/hda1 | ssh root@192.168.0.70 -c "restore -rf - /boot" #dump -0uvf - /dev/shm | ssh root@192.168.0.70 -c "restore -rf - /tmpfs" Can you please confirm if my understanding is right? Thank you |
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. Cheers, Tink |
All times are GMT -5. The time now is 10:16 PM. |