LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-15-2004, 11:02 AM   #1
AZDAVE
Member
 
Registered: Aug 2003
Posts: 82

Rep: Reputation: 15
disaster recovery steps


Can anybody tell me now I can create a ISO boot disk for my mandrake 9.1 webserver. I am fearful that I may loose my hard drive and I wont be able to restore my filesystems back. I would like to have a ISO image of my system so I can boot my machine up to restore all file systems back. I assume that I will need tar to do this. What could I do to prevent me from loading the entire system? I have 2 20 gb hard drives both IDE. Here is my thought. Here is my filesystem . I do full system backup each night.

Filesystem Size Used Avail Use% Mounted on
/dev/hda5 3.9G 1.9G 1.9G 50% /
/dev/hda1 46M 11M 33M 25% /boot
/dev/hda6 9.7G 62M 9.7G 1% /home
/dev/hda7 3.8G 1.3G 2.3G 37% /var
/dev/hdb1 19G 1.2G 17G 7% /var/www

IF I lost a filesystem on my hdaX drive, I could swap out the drive and just restore my full backup tarfile to the new disk. Can you fill me in on what I need to do to insure that I don't do any further damage. What do I need to know about lilo and how can I get the boot cd created with the tar pgm so I can extract the data?
A step by step recovery procedure would be nice if somebody is willing to share ther thoughts.
Thank YOu,
 
Old 04-15-2004, 03:44 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"IF I lost a filesystem on my hdaX drive, I could swap out the drive and just restore my full backup tarfile to the new disk. Can you fill me in on what I need to do to insure that I don't do any further damage. What do I need to know about lilo and how can I get the boot cd created with the tar pgm so I can extract the data?"

The easiest way to create the boot CD is to use LifeBoat:

http://users.rcn.com/srstites/LifeBo...home.page.html

When you boot a LifeBoat CD the CD is removable. So you do not need to put the tar backups on the bootable LifeBoat CD. You can restore by booting the LifeBoat CD, removing the LifeBoat CD, mounting the CD-RW with your backup tar files, and extracting the tar files to your hard drive.

-----------------------------
Steve Stites
 
Old 04-15-2004, 04:41 PM   #3
AZDAVE
Member
 
Registered: Aug 2003
Posts: 82

Original Poster
Rep: Reputation: 15
Thanks, The problem is I don't have a LifeBoat CD to boot my linux box. And my backup is performed on DDS tapes. I just wanted to know how I can make a LIFEBOAT CD and include tar so I can restore my backup tape. What is the procedure to create a LifeBoat CD so I can at least boot up linux and use the tar utility to restore. What about lilo? Please tell me what you would do if you lost (lets say) the boot partition and were unable to boot the system. You have a full system backup but you can't use it because you don't have access to tar. AM I confusing you? Thanks for the reply.
 
Old 04-15-2004, 06:08 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Thanks, The problem is I don't have a LifeBoat CD to boot my linux box. And my backup is performed on DDS tapes. I just wanted to know how I can make a LIFEBOAT CD and include tar so I can restore my backup tape. What is the procedure to create a LifeBoat CD so I can at least boot up linux and use the tar utility to restore. "

To create a LifeBoat CD you download the LifeBoat script from the web site and untar it. Then you configure the script for your system and run it. The LifeBoat script will burn a bootable CD.

"What about lilo?"

LifeBoat uses isolinux for a bootloader, not lilo. You don't have to do anything to the LifeBoat isolinux. You do not have to do anything to your system lilo.

"Please tell me what you would do if you lost (lets say) the boot partition and were unable to boot the system. You have a full system backup but you can't use it because you don't have access to tar."

Once a week I make tar backups of my system. It takes 3 CD-RWs. So to restore /boot I would boot my LifeBoat CD and then remove the CD. The entire LifeBoat system is then resident in memory, including tar. At that point I would be running on a memory resident Linux system that depends on absolutely nothing from your hard drive based Linux system. I would mount my first backup CD-RW on my CD-RW drive. I would then mount the /boot partition. I would then untar the /boot tar backup file from the CD-RW into the mountpoint directory for the /boot partition. umount the CD, umount the /boot partition, remove the backup CD-RW and issue:
shutdown -r now
to reboot my system.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 04-16-2004, 09:11 AM   #5
AZDAVE
Member
 
Registered: Aug 2003
Posts: 82

Original Poster
Rep: Reputation: 15
OK good.. But I still need to know how I can get my hands on a LifeBoat CD. IS there a option on how to create one in mandrake 9.1 . Thanks for your input. I am closer to understanding the process but still I lack the recovery linux CD.
 
Old 04-16-2004, 10:13 AM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"OK good.. But I still need to know how I can get my hands on a LifeBoat CD. IS there a option on how to create one in mandrake 9.1 . Thanks for your input. I am closer to understanding the process but still I lack the recovery linux CD."

You build your own LifeBoat CD. You go to the LifeBoat web site:
http://users.rcn.com/srstites/LifeB....home.page.html
and you download the LifeBoat script. You then follow the directions in the documentation found on the LifeBoat web site and in the LifeBoat tarball to create your own version of a LifeBoat CD.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


Reply



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
Disaster Recovery?, what to do? Motaro Linux - General 3 11-03-2005 03:04 PM
Disaster Recovery souperdad Linux - General 4 11-10-2004 02:11 PM
Disaster Recovery Suggestions kemplej Slackware 8 06-30-2004 01:28 PM
Disaster Recovery Analyst sphelpspsi AIX 1 05-04-2004 09:54 AM
backup / disaster recovery for Linux 1kyle Linux - Software 3 03-06-2004 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:47 AM.

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
Open Source Consulting | Domain Registration