(function(a,e,f,g,b,c,d){a.GoogleAnalyticsObject=b;a[b]=a[b]||function(){(a[b].q=a[b].q||[]).push(arguments)};a[b].l=1*new Date;c=e.createElement(f);d=e.getElementsByTagName(f)[0];c.async=1;c.src=g;d.parentNode.insertBefore(c,d)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");ga("create","UA-732153-7","auto",{allowLinker:!0,siteSpeedSampleRate:10});ga("set","transport","beacon");ga("set","anonymizeIp",!0);ga("require","linker"); ga("linker:autoLink","askapache.com askapache.net htaccess.io htaccesselite.com askapache.info htaccess.guru".split(" "),!0);ga("send","pageview"); CLASS="ARTICLE" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" >

Linux Complete Backup and Recovery HOWTO

Charles Curley

           
        

Revision History
Revision 2.12006-03-28Revised by: c^2
Added notes for NTFS. Edited the To Do list. Started work on LVM and using finnix.
Revision 2.02005-10-12Revised by: c^2
Notes for Fedora Core 4. Removed notes for older versions of FC and Red Hat. Also, changes in the writeup and scripts to reflect using Knoppix instead of tomsrtbt. See the scripts for change notes. Changed some scripts so that long lines don't fall off the right side of printed pages (oops).
Revision 1.82005-02-19Revised by: c^2
Added notes for Fedora Core 3
Revision 1.72004-05-11Revised by: c^2
Adjusted copyright language.
Revision 1.62004-04-29Revised by: c^2
Added Knoppix notes, Syslinux, PPART, QtParted, some other rescue CDs, and made some fixes.
Revision 1.52003-12-19Revised by: c^2
Fedora 1 and GRUB notes.
Revision 1.42003-08-17Revised by: c^2
Some notes on burning CD-ROMs, and more on files to exclude.
Revision 1.32003-04-24Revised by: c^2
Substituted new email address and URL for old.
Revision 1.22003-02-12Revised by: c^2
Added Red Hat 8.0 notes, support for FAT32, split the first stage restore scripts, and other minor changes. Notes on Amanda.
Revision 1.12002-09-10Revised by: c^2
New code to handle ext3 partitions in make.fdisk, and a note on initrd.
Revision 1.02002-07-24Revised by: c^2
We now use bz2 compression in the first stage, have the run time option to check for bad blocks, and have a script that runs the entire first stage.

Imagine your disk drive has just become a very expensive hockey puck. Imagine you have had a fire, and your computer case now looks like something Salvador Dalĩ would like to paint. Now what?

Total restore, sometimes called bare metal recovery, is the process of rebuilding a computer after a catastrophic failure. In order to make a total restoration, you must have complete backups, not only of your file system, but of partition information and other data. This HOWTO is a step-by-step tutorial on how to back up a Linux computer so as to be able to make a bare metal recovery, and how to make that bare metal recovery. It includes some related scripts.


Table of Contents
1. Introduction
1.1. Copyright Information
1.2. Disclaimers
1.3. New Versions
1.4. Credits
1.5. Feedback
1.6. Translations
2. Overview
2.1. Limitations
3. Preparation
3.1. Installing the ZIP Drive
4. Creating the Stage 1 Back Up
4.1. Theme And Variations
5. First Stage Restore
5.1. Booting
5.2. Restoration
6. Second Stage Restoration
7. Distribution Specific Notes
7.1. Fedora Core 3 and 4
7.2. Knoppix
7.3. finnix
8. Application Specific Notes
8.1. Logical Volume Manager
8.2. Selinux
8.3. GRUB
8.4. Tripwire
8.5. Squid
8.6. Arkeia
8.7. Amanda
8.8. NTFS
9. Some Advice for Disaster Recovery
10. What Now?
10.1. To Do
11. The Scripts
11.1. First Stage
11.2. Second Stage
11.3. Backup Server Scripts
12. Resources
A. GNU Free Documentation License
0. PREAMBLE
1. APPLICABILITY AND DEFINITIONS
2. VERBATIM COPYING
3. COPYING IN QUANTITY
4. MODIFICATIONS
5. COMBINING DOCUMENTS
6. COLLECTIONS OF DOCUMENTS
7. AGGREGATION WITH INDEPENDENT WORKS
8. TRANSLATION
9. TERMINATION
10. FUTURE REVISIONS OF THIS LICENSE
11. How to use this License for your documents