On CHOW: Use leftovers wisely
BNET Business Network:
BNET
TechRepublic
ZDNet

May 7th, 2008

Geek Sheet: Bare-metal backup and recovery

Posted by Jason Perlow @ 10:40 am

Categories: Geek Sheet, General, Linux, Open Source

Tags: Recovery, Network File System, File System, Photovoltaics, Backup, Volume, Partition, Machine, System Rescue CD, LVM

Geek Sheet Logo (Courtesy Brandon Perlow)Tired of the same old punditry and OS wars? Want to read something practical you can actually use and apply to your real job? Or perhaps you need some light reading material to help you get some sleep on the plane between consulting engagements – either way, welcome to the first in what I hope will be a series of technical HOWTO articles, entitled “Geek Sheets”.

One of my favorite Linux tools and live CD distributions is the System Rescue CD. It allows you to boot up on any x86-based, PowerPC and SPARC-based machine and perform any number of backup and recovery tasks on Linux, Mac, Solaris and Windows-based systems. The System Rescue CD can even be booted on completely diskless systems on a USB stick or PXE-booted over the network. In another publication, I went into depth on how to use some of System Rescue CD’s basic functions and how to bare-metal image a typical desktop and server Linux or Windows configuration.

However, that article was aimed at an end-user or utility computing scenario using fixed file system configurations using local storage and not on an enterprise server machine. For storage flexibility, many Linux server systems today now use LVM, or Logical Volume Manager, rather than use fixed file system partitioning that desktop distributions such as Ubuntu typically use. This adds a layer of abstraction on top of the bare metal partition layout and introduces some complexity as to how these systems can be imaged.

Logical Volume Manager Layout

As a best practice, enterprises should look to do SAN-based replication and disaster recovery for a system imaging and snapshot solution. However, we all know that it isn’t always cost effective or practical to have a boot from SAN or SAN-replicated server infrastructure, and it may sometimes be desirable – such as during a data center move – to have a bare-metal “snapshot” backup of an entire system on a network file store or a portable storage device where everything can be quickly restored as it was without having to do some sort of complicated rebuild. I recently had to perform this for an engagement I was working on and it dawned on me that this procedure, while probably very useful, was not documented anywhere in one place.

The good news is that it can still all be done with standard Linux tools, System Rescue CD and without any expensive proprietary software. The bad news is that nobody has automated the process. I’m hoping that some enterprising college or high school kid looking for a summer project will take the information I am posting here and create a utility or script for inclusion in the next System Rescue CD build. Can you say “Google Summer of Code?

I would like to give special thanks to Durham, NC-based Linux sysadmin Mike Brennan for helping me to develop this procedure.

Next: Storing System Images and creating the NFS mount –>

Pages: 1 2 3 4

Jason Perlow is a technologist with over two decades of experience integrating large heterogeneous multi-vendor computing environments in Fortune 500 companies. See his full profile and disclosure of his industry affiliations.

  • Talkback
  • Most Recent of 19 Talkback(s)
Mondo Rescue vs System Restore CD?
Has anyone used Mondo Rescue to do a baremetal recovery? Pros and Cons between Mondo and System Recue CD?... (Read the rest)
Posted by: mariano.lopez@... Posted on: 10/08/08  (Edited: 10/08/08 @ 08:28) You are currently: a Guest | | Terms of Use
rsync? Anyone? Bueler?  D. T. Schmitz | 05/07/08
rsync is for directories  jperlowZDNet Moderator | 05/07/08
Good Lord. Yes.  D. T. Schmitz | 05/07/08
comparison with dd  jperlowZDNet Moderator | 05/07/08
RE: Geek Sheet: Bare-metal backup and recovery  wkulecz | 05/07/08
Rsync can be combined with this solution  jperlowZDNet Moderator | 05/07/08
Do what Texstar did with PCLinuxOS  johnf76@... | 05/08/08
Hmmm  Spiritusindomit@... | 05/08/08
RE: Geek Sheet: Bare-metal backup and recovery  erm@... | 05/08/08
RE: Geek Sheet: Bare-metal backup and recovery  frj111@... | 05/08/08
RE: Geek Sheet: So how can we print this article as a sheet?  chips@... | 05/08/08
Agreed ... Print functionality is deficient  David A. Pimentel | 05/08/08
Or make available as PDF download?  seanferd | 05/08/08
Print is not working properly... Found way using OS X  LucasArruda | 05/08/08
created a single html page  chips@... | 05/08/08
Download PDF of Article Here:  blc1839 | 05/09/08
RE: Geek Sheet: Bare-metal backup and recovery  vhinzsanchez@... | 05/11/08
Ubuntu's default install uses LVM  angrykeyboarder | 05/19/08
Mondo Rescue vs System Restore CD?  mariano.lopez@... | 10/08/08

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

  • Thought-provoking progressive ideas on diverse topics that intersect with technology, business, and life, and matter to the world at large. Visit SmartPlanet
  • More from IBM
  • Innovate your business' process model, play against the market, compete against others on our scoreboards and WIN! Try INNOV8 2.0: A BPM Simulator
  • Enabling Real-World Business Transformation through IBM Service Management Read the EMA Analyst Report
Click Here