Fedora Linux Support Community & Resources Center
  #1  
Old 14th October 2012, 07:58 AM
ramsurgeon Offline
Registered User
 
Join Date: Oct 2012
Location: Zagreb
Posts: 3
linuxchrome
Bare metal restore suggestion

Hi everybody!

I'm currently working on a inhouse backup solution, and for next stage we're working on a bare metal restore function.

Apart from knowing the obvious ( MBR backup, fdisk info etc ) if somebody can suggest any additional tips or insights how this can be done seamlessly.

The server data is being rsynced daily from the remote server to the backup server, in which point we've got an already generated disk layout info for the server.

Thank you all!
Reply With Quote
  #2  
Old 23rd October 2012, 03:10 PM
tony4377 Offline
Registered User
 
Join Date: Feb 2009
Posts: 24
windows_7firefox
Re: Bare metal restore suggestion

Have you looked at 'fsarchiver', I would think that this would do the vast majority of what you need done for a bare metal restore. Check out http://www.fsarchiver.org, There are already packages for Fedora.
Reply With Quote
  #3  
Old 27th October 2012, 08:30 PM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,553
linuxfirefox
Re: Bare metal restore suggestion

I use a file-oriented backup scheme and use 'safekeep' (scripts around rdiff-backup). I'm not in love with safekeep, but it works reliably and is simple to configure. I backup my /home and some shared directories and also /etc from each of 4 machines using safekeep. I do not backup the majority of the rootfs nor /var except for /etc.

My practice is to restore the rootfs and the packages (I keep a package list for each) from the fedora DVD & repo. I keep detailed configuration instructions for the packages on a per system basis, but I also have copies of the /etc directories for reference. In the rare event of a rebuild, I reinstall Fedora from repos, configure the packages in ~90 minutes or a little more. So my approach is NOT a good one for a production facility. OTOH is serves me well.

I have complete file-oriented backups of /home /usr/local/bin and a few others and I can reconstruct these into any partition at any time.

The really great thing is that I have incremental, differential backups going back ~22 months now. I can reconstruct my /home file system to it's state on any night back to January 2011.

Yes fsarchiver is no doubt a great tool to *copy* partition contents - but it's not really a backup unless you want to keep daily/weekly copies of everything - and that's usually impractical.
==

Stuff you no doubt know.

There are categorically two ways a backup scheme can save you. The first is when you have a data loss AND you recognize it immediately. Then of course you go to the latest copy and restore. The second case is more common and insidious, you accidentally delete something and you don't recognize the loss until weeks or months later. In this second case a nightly or weekly 'copy' will not help. You need old historical copies going back many months. The only practical way to save that much data is to make incremental backups.

So fsarchive doesn't approach the LT backup issue at all. For example I backup stuff from 4 systems that amounts to ~150GB in compressed form. fsarchive would require the same 150GB every night, ~1TB per week, ~50TB per year. Instead by using rdiff-backup/safekeep I have ~22 months of nightlies available in ~250GB total. So with differential incremental backups I get far more functionality using ~350 times less storage.

So perhaps a one-off nightly restorable image with fsarchiver AND some form of incremental backup together make sense. But let's not confuse the purpose of a restore image with a backup.

=====
Some more germane comments ...
http://www.linuxjournal.com/article/4175
http://www.bacula.org/en/dev-manual/...Using_Bac.html
http://en.wikipedia.org/wiki/Bare-metal_restore
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 27th October 2012 at 08:50 PM.
Reply With Quote
Reply

Tags
bare, metal, restore, suggestion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VM vs Metal xorbe F16 Development 6 28th October 2011 08:58 PM
Instaling Fedora 14 on bare-metal KVM/RHEL6 toomas Installation, Upgrades and Live Media 0 14th April 2011 08:33 AM
Fedora 12 and bare Metal Virtualization basillica Using Fedora 2 27th December 2009 02:58 PM
custom bare-metal installs sixy Using Fedora 2 8th May 2006 06:37 AM


Current GMT-time: 03:14 (Sunday, 20-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat