LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   prerequisites for restoring dd OS image (https://www.linuxquestions.org/questions/linux-newbie-8/prerequisites-for-restoring-dd-os-image-4175515657/)

procfs 08-21-2014 01:21 AM

prerequisites for restoring dd OS image
 
Hi,I have a linux server and I have don a dd backup and I need to restore this on a different server. my question is does both servers need to be identical?

Thanks and Reagrds

allend 08-21-2014 01:44 AM

The target server will need to have sufficient disk space to accommodate the original image.
The /etc/udev/rules.d/70-persistent-net.rules file will need to be altered as it will include the MAC address(es) of the interface(s) on the the original server. (Probably easiest to delete the file and reboot so that the file is automatically regenerated).
There may be other site specific changes that will need to made.

procfs 08-21-2014 04:36 AM

Hi Allend, thanks for the reply.

It seems pritty straight forward, but my life was in pretty much a misery when an restoration failed to boot up (this was long time a go so I can't remember the exact error) :(. What I did was do a dd if=/dev/sda of=disk_backup and to restore dd if=disk_backup of=/dev/sda. This command should copy block to block of the first drive to the second, dont know what went wrong though.

I was under the impression the hardware has to be identical for an dd dump to be perfect (32 and 64 has to match of cause)!

Thanks again and best regards


All times are GMT -5. The time now is 10:44 PM.