How to restore a TAR backup to a new drive
Hello all,
I have been using a small script to perform a backup of my entire system every week for a few years, to a RAID5 Array of 10 SCSI drives.
I have never had any need to restore my system from my Backup, and I could use some advise and/or assistance.
The OS involved is CentOS 5.2 x86 (32bit).
My Backup Script :
#!/bin/bash
SRCD="/"
TGTD="/media/MOM-3/MOM-3_Backups/"
OF=MOM-3_BU-Full-$(date +%m%d%Y).tgz
tar cvpzf $TGTD$OF --exclude=/proc --exclude=/lost+found --exclude=/mnt --exclude=/media --exclude=/sys $SRCD
## $TGTD$OF $SRCD
I have had an unrecoverable disk failure, and find I shall have to restore the entire system to a new drive.
I do have both the CentOS "Install" and "Live CD" to use if needed.
My atempts to find the answer as to the proper method to use for restoring this to a new drive; ie... can I use this method to restore a new "bare metal" drive, or does the drive need more preparation prior to the restoration (some sort of install of CentOS, etc...). My attempts to use the OS's Archive Manager to restore the BU to a drive have not been successful. I do not have the background/experience to feel comfortable wiht this restoration without the guidance of someone more Experienced/Knowledge than myself.
I have tried to figure this out for myself, but my attempts have not been successful....
TIA....
TexasMike
Any assistance or advice will be most appreciated.
Last edited by TexasMike; 03-01-2013 at 02:56 PM.
|