Share your knowledge at the LQ Wiki.
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 08-21-2014, 02:21 AM   #1
Registered: Jan 2006
Location: Sri Lanka
Posts: 610

Rep: Reputation: 34
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
Old 08-21-2014, 02:44 AM   #2
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,658

Rep: Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539Reputation: 1539
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.
Old 08-21-2014, 05:36 AM   #3
Registered: Jan 2006
Location: Sri Lanka
Posts: 610

Original Poster
Rep: Reputation: 34
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


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
Using 'dd' and 'gzip' to create a disk image. Restoring image: can't find lvm_root. skiman1979 Linux - Desktop 2 02-25-2012 06:42 AM
Restoring an image on VMware NetRock Linux - Virtualization and Cloud 1 12-13-2011 03:07 PM
Error when restoring an image with ntfsclone nonoitall Linux - General 2 02-24-2008 06:32 PM
Restoring a split HD image drt1245 Linux - Software 12 12-14-2005 08:11 AM
NIC wont get IP after restoring image.. slug420 Linux - General 2 01-13-2005 08:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration