LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-21-2014, 02:21 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 603

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
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,462

Rep: Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369
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
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 603

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
 
  


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 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


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