Re: Backup and recovery CD
Dear Bernhard Erdmann, Once you wrote about "Re: Backup and recovery CD": BE> >I have been trying to do a complete restore on a Red Hat box for some time BE> >now. I haven't been able to figure out a way to access my SCSI tape drive BE> >from Red Hat rescue mode. Perhaps I'm missing something? BE> BE> No, just RedHat did miss to include the st (SCSI tape) driver. I've been BE> bitten, too. Yup, RedHat's mistake. Fortunately, they've realized this. Quote from Release Notes for the next (8.1) Redhat Linux version which is currently in beta: http://ftp.redhat.com/pub/redhat/linux/beta/phoebe-3/en/os/i386/RELEASE-NOTES " o The rescue mode environment (accessed by booting with the "linux rescue" boot-time command) has been enhanced. Numerous requested utilities have been added, and there is now support for activating network interfaces. Commands needed for SCSI tape support are also available. Please test this environment and send us your feedback. " -- Best regards, Leonid Mamtchenkov, RHCE System Administrator Francoudi & Stephanou Ltd.
Re: Backup and recovery CD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernhard Erdmann wanted us to know: >>I have been trying to do a complete restore on a Red Hat box for some time >>now. I haven't been able to figure out a way to access my SCSI tape drive >>from Red Hat rescue mode. Perhaps I'm missing something? >No, just RedHat did miss to include the st (SCSI tape) driver. I've been >bitten, too. If you don't want to mess with compiling your own kernel you have a couple of options: 1) install an older RedHat kernel, reboot into that. 2) install a Mandrake kernel, reboot into that. The only requirement is that the st driver be present (and you make an initrd if you have scsi devices). - -- Blue skies... ToddPublic key: http://www.mrball.net/todd.asc The question is for how long that network would be around before it falls due to the same problem (dclue/dt < 0 on the part of those who run it) --Alex on NANOG Linux kernel 2.4.19-24mdk 5 users, load average: 0.00, 0.03, 0.06 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) Comment: http://www.mrball.net/todd.asc iD8DBQE+dKHyIBT1264ScBURArrQAKDV4cGKYGL6CHNEqYClrOxhlOWPZACfbo8T REYUBPU7+NMKlGkHZUb9Heg= =j/9P -END PGP SIGNATURE-
Re: Backup and recovery CD
Seth, Wayne (Contractor) wrote: Leonid, I have been trying to do a complete restore on a Red Hat box for some time now. I haven't been able to figure out a way to access my SCSI tape drive from Red Hat rescue mode. Perhaps I'm missing something? No, just RedHat did miss to include the st (SCSI tape) driver. I've been bitten, too.
Re: Backup and recovery CD
Dear "Seth, Wayne (Contractor)", Once you wrote about "RE: Backup and recovery CD": SWC> I have been trying to do a complete restore on a Red Hat box for some time SWC> now. I haven't been able to figure out a way to access my SCSI tape drive SWC> from Red Hat rescue mode. Perhaps I'm missing something? Hmm, interesting. I, myself, never had to use SCSI tape on the recoring machine. Most of the times, it's a network restore. But, IIRC, SCSI tape drives are perfectly detectable during the boot time and tar is a part of the rescue mode. SWC> Dear "Kevin M. Myer", SWC> SWC> Once you wrote about "Backup and recovery CD": SWC> KMM> failure, being hacked, etc. I'm wondering if anyone has ever SWC> KMM> developed something similar for AMANDA. I'm envisioning something SWC> KMM> like the Red Hat installer, which boots up, lets you drop into a SWC> KMM> limited shell and lets you partition disks. The AMANDA bootable CD SWC> KMM> would boot up, let you format disks and give you a limited shell, SWC> KMM> and then let you run amrestore by connecting to the tape drive (or SWC> KMM> whatever archival media you are using) of your remote backup SWC> KMM> server. SWC> KMM> SWC> KMM> Just curious if anyone has ever gone down this road and if so, how SWC> KMM> far did you get? SWC> SWC> And what's wrong with RedHat rescue mode, since you've mentioned it? :) -- Best regards, Leonid Mamtchenkov, RHCE System Administrator Francoudi & Stephanou Ltd.
Re: Backup and recovery CD
Dear Gene Heskett, Once you wrote about "Re: Backup and recovery CD": GH> >And what's wrong with RedHat rescue mode, since you've mentioned GH> > it? :) GH> GH> I can report one problem with that, if he is booting from the GH> updated kernel that up2date might have installed. The updated GH> kernel did *not* come accompanied by an updated initrd, and the GH> updated kernel is useless for such booting because theres no GH> matching version numbered initrd he can load his scsi drivers from. initrd, IIRC, never comes with the kernel. Instead, I beleive, it is generated by mkinitrd during the installation of the RPM. Anyway, the rescue mode is not even affected by these problem, since one is using a floppy or CD-ROM to go to rescue mode, not a broken installation. :) GH> I know, I let it install it on me, and it over-wrote my grub.conf GH> rendering the rest of my custom kernels inactive till I fixed that GH> by giving grub a custom command line that did point to a valid for GH> my system kernel, and used that to restore my grub.conf. I have GH> not allowed up2date to touch my kernel installs since that fiasco. GH> GH> A rather heated message to RH at the time was not replied to. GH> GH> There are many things up2date is good for, but putzing with your GH> kernel install isn't one of them. You might want to try a newer version. It work much better then it used to with in times of RedHat 6.x, if you know what I mean. :) -- Best regards, Leonid Mamtchenkov, RHCE System Administrator Francoudi & Stephanou Ltd.
Re: Backup and recovery CD
On Wed February 26 2003 15:06, Seth, Wayne (Contractor) wrote: >Leonid, > >I have been trying to do a complete restore on a Red Hat box for > some time now. I haven't been able to figure out a way to access > my SCSI tape drive from Red Hat rescue mode. Perhaps I'm missing > something? > >-Original Message- From: Leonid Mamchenkov > [mailto:[EMAIL PROTECTED] Sent: Wednesday, > February 26, 2003 11:50 AM >To: [EMAIL PROTECTED] >Subject: Re: Backup and recovery CD > > >Dear "Kevin M. Myer", > >Once you wrote about "Backup and recovery CD": >KMM> failure, being hacked, etc. I'm wondering if anyone has ever >KMM> developed something similar for AMANDA. I'm envisioning > something KMM> like the Red Hat installer, which boots up, lets > you drop into a KMM> limited shell and lets you partition disks. > The AMANDA bootable CD KMM> would boot up, let you format disks > and give you a limited shell, KMM> and then let you run amrestore > by connecting to the tape drive (or KMM> whatever archival media > you are using) of your remote backup KMM> server. >KMM> >KMM> Just curious if anyone has ever gone down this road and if > so, how KMM> far did you get? > >And what's wrong with RedHat rescue mode, since you've mentioned > it? :) I can report one problem with that, if he is booting from the updated kernel that up2date might have installed. The updated kernel did *not* come accompanied by an updated initrd, and the updated kernel is useless for such booting because theres no matching version numbered initrd he can load his scsi drivers from. I know, I let it install it on me, and it over-wrote my grub.conf rendering the rest of my custom kernels inactive till I fixed that by giving grub a custom command line that did point to a valid for my system kernel, and used that to restore my grub.conf. I have not allowed up2date to touch my kernel installs since that fiasco. A rather heated message to RH at the time was not replied to. There are many things up2date is good for, but putzing with your kernel install isn't one of them. -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.23% setiathome rank, not too shabby for a WV hillbilly
RE: Backup and recovery CD
Leonid, I have been trying to do a complete restore on a Red Hat box for some time now. I haven't been able to figure out a way to access my SCSI tape drive from Red Hat rescue mode. Perhaps I'm missing something? -Original Message- From: Leonid Mamchenkov [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 11:50 AM To: [EMAIL PROTECTED] Subject: Re: Backup and recovery CD Dear "Kevin M. Myer", Once you wrote about "Backup and recovery CD": KMM> failure, being hacked, etc. I'm wondering if anyone has ever KMM> developed something similar for AMANDA. I'm envisioning something KMM> like the Red Hat installer, which boots up, lets you drop into a KMM> limited shell and lets you partition disks. The AMANDA bootable CD KMM> would boot up, let you format disks and give you a limited shell, KMM> and then let you run amrestore by connecting to the tape drive (or KMM> whatever archival media you are using) of your remote backup KMM> server. KMM> KMM> Just curious if anyone has ever gone down this road and if so, how KMM> far did you get? And what's wrong with RedHat rescue mode, since you've mentioned it? :) -- Best regards, Leonid Mamtchenkov, RHCE System Administrator Francoudi & Stephanou Ltd.
Re: Backup and recovery CD
Dear "Kevin M. Myer", Once you wrote about "Backup and recovery CD": KMM> failure, being hacked, etc. I'm wondering if anyone has ever KMM> developed something similar for AMANDA. I'm envisioning something KMM> like the Red Hat installer, which boots up, lets you drop into a KMM> limited shell and lets you partition disks. The AMANDA bootable CD KMM> would boot up, let you format disks and give you a limited shell, KMM> and then let you run amrestore by connecting to the tape drive (or KMM> whatever archival media you are using) of your remote backup KMM> server. KMM> KMM> Just curious if anyone has ever gone down this road and if so, how KMM> far did you get? And what's wrong with RedHat rescue mode, since you've mentioned it? :) -- Best regards, Leonid Mamtchenkov, RHCE System Administrator Francoudi & Stephanou Ltd.
Re: Backup and recovery CD
On Tue, Feb 25, 2003 at 05:26:23PM -0500, Matt Hyclak wrote: > On Tue, Feb 25, 2003 at 09:32:54PM +0100, Martin Schwarz enlightened us: > > One of my colleagues has built a bootable rescue CD based on the Knoppix > > Gnu/Linux distribution (see www.knoppix.net if you don't know Knoppix). > > His CD includes an amanda client besides our usual tools and goodies. I > > Any chance we might be able to download said CD anywhere? I've not played > with Knoppix, so I don't know how easy it is to add software to the disk... Sorry, it's not available for download atm. But I hear it wasn't that hard to customize the Knoppix CD. It's based on Debian, so the Debian package management tools should work for adding stuff to it and removeing unneeded things. Perhaps amanda client was even already included in the latest version of the original Knoppix distribution, not sure... There are some infos on customizing/remastering Knoppix CDs at http://www.knoppix.net/docs/index.php/KnoppixCustomizations Knoppix Lite ftp://ftp.es.debian.org/pub/miniKnoppix looks like a nice starting point for an amanda rescue CD. Hth, Martin -- [EMAIL PROTECTED] toplink-plannet GmbH Network Operations EngineerSchönfeldstraße 8 Tel +49 [0] 721 6636-0 D-76131 Karlsruhe Fax +49 [0] 721 6636-199 http://www.toplink-plannet.de/
Re: Backup and recovery CD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Schwarz wanted us to know: >> A number of commercial backup vendors ship bootable CDs with a copy of their >> backup application installed. You can use these CDs to restore a system that >One of my colleagues has built a bootable rescue CD based on the Knoppix >Gnu/Linux distribution (see www.knoppix.net if you don't know Knoppix). You forgot the URL :-D - -- Blue skies... Todd | Get a bigger hammer! | I vowed revenge on the soul | | http://www.mrball.net | of Bingbong. | | http://faq.mrball.net |Doug Glanville on espn.go.com | Linux kernel 2.4.19-16mdk 4 users, load average: 0.00, 0.00, 0.00 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) Comment: http://www.mrball.net/todd.asc iD8DBQE+XD76IBT1264ScBURAtA0AJ9vxsej6QX4k67Z0FmxbPuXqX1PxgCfUvOP zzbEbRzcLe6rtaI9EJzdo40= =7CNy -END PGP SIGNATURE-
Re: Backup and recovery CD
On Tue, Feb 25, 2003 at 09:32:54PM +0100, Martin Schwarz enlightened us: > On Tue, Feb 25, 2003 at 12:29:17PM -0500, Kevin M. Myer wrote: > > A number of commercial backup vendors ship bootable CDs with a copy of their > > backup application installed. You can use these CDs to restore a system that > > was totally toasted, due to massive disk failure, being hacked, etc. I'm > > wondering if anyone has ever developed something similar for AMANDA. > > One of my colleagues has built a bootable rescue CD based on the Knoppix > Gnu/Linux distribution (see www.knoppix.net if you don't know Knoppix). > His CD includes an amanda client besides our usual tools and goodies. I > have just recently used this CD to clone two of our machines, testing > the disaster recovery in case of a complate hard disk failure. Any chance we might be able to download said CD anywhere? I've not played with Knoppix, so I don't know how easy it is to add software to the disk... Matt -- Matt Hyclak Department of Mathematics Ohio University (740) 593-1263 pgp0.pgp Description: PGP signature
[Fwd: Re: Backup and recovery CD]
Original Message Subject: Re: Backup and recovery CD Date: Tue, 25 Feb 2003 16:08:05 -0600 From: Chris Johnson <[EMAIL PROTECTED]> To: "Kevin M. Myer" <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Hi Kevin, I just recently developed a system to do a "bare-metal" recovery. For my linux servers I've been using "zipslack" a 100MB distribution of slackware linux. I have it boot from a floppy and mount a parallel port zip drive a "/". You can add any slackware package to it (ie dump, amrestore, etc...). I like it better than a CD because I can put info about the disk partitions of each of my servers right on the restore media. I don't have to have and amanda client on the disk. I ssh to the backup servers to extract the dump image and pipe it to the local resort program. I've setup web-cluster using this as well as doing a restore. check it out at http://www.slackware.com/zipslack/ good luck, chrisj Kevin M. Myer wrote: A number of commercial backup vendors ship bootable CDs with a copy of their backup application installed. You can use these CDs to restore a system that was totally toasted, due to massive disk failure, being hacked, etc. I'm wondering if anyone has ever developed something similar for AMANDA. I'm envisioning something like the Red Hat installer, which boots up, lets you drop into a limited shell and lets you partition disks. The AMANDA bootable CD would boot up, let you format disks and give you a limited shell, and then let you run amrestore by connecting to the tape drive (or whatever archival media you are using) of your remote backup server. Just curious if anyone has ever gone down this road and if so, how far did you get? Thanks, Kevin
Re: Backup and recovery CD
On Tue, Feb 25, 2003 at 12:29:17PM -0500, Kevin M. Myer wrote: > A number of commercial backup vendors ship bootable CDs with a copy of their > backup application installed. You can use these CDs to restore a system that > was totally toasted, due to massive disk failure, being hacked, etc. I'm > wondering if anyone has ever developed something similar for AMANDA. One of my colleagues has built a bootable rescue CD based on the Knoppix Gnu/Linux distribution (see www.knoppix.net if you don't know Knoppix). His CD includes an amanda client besides our usual tools and goodies. I have just recently used this CD to clone two of our machines, testing the disaster recovery in case of a complate hard disk failure. Steps are: - booting from the rescue CD - setting up networking and starting sshd to be able to work comfortably from my workstation ;-) - partitioning the hard disk, setting up swap, creating file systems - mounting the root partition somewhere like /mnt/target - recovering the root partition using amrecover via the network - mounting the remaining partitions into the recovered root partition's mount points - recovering the remaining partitions - setting up tmp on the target partition (since /tmp is normally excluded from our backups), giving it the correct permissions - chrooting into /mnt/target and making the system bootable (quite easy with grub) - rebooting and testing the system. Works great if the new machine is identical to the old one. In my case, I ran into a (small) problem because the clone machines were only Pentium I while the original machine's kernel was built for Pentium II and higher. However, since Knoppix (and thus my colleagues's rescue CD) are based on Debian, "apt-get install"-ing an appropriate kernel wasn't very hard :-) The most tedious part of this procedure was changing the tapes (only a single DLT drive here). I should really take a look at the file: driver some time... Bye, Martin -- [EMAIL PROTECTED] toplink-plannet GmbH Network Operations EngineerSchönfeldstraße 8 Tel +49 [0] 721 6636-0 D-76131 Karlsruhe Fax +49 [0] 721 6636-199 http://www.toplink-plannet.de/
Re: Backup and recovery CD
For restoring linux based systems, I imagine that almost everything is already there on the KNOPPIX CD (http://www.knopper.net/knoppix/). You could boot from that (it would probably recognize some but not all hardware, test with your own), then you could compile and install amanda (with the correct configure options) and reconnect over the network to the backup copies of your indices. steven On Tue, 25 Feb 2003, Kevin M. Myer wrote: > A number of commercial backup vendors ship bootable CDs with a copy of their > backup application installed. You can use these CDs to restore a system that > was totally toasted, due to massive disk failure, being hacked, etc. I'm > wondering if anyone has ever developed something similar for AMANDA. I'm > envisioning something like the Red Hat installer, which boots up, lets you drop > into a limited shell and lets you partition disks. The AMANDA bootable CD would > boot up, let you format disks and give you a limited shell, and then let you run > amrestore by connecting to the tape drive (or whatever archival media you are > using) of your remote backup server. >
Backup and recovery CD
A number of commercial backup vendors ship bootable CDs with a copy of their backup application installed. You can use these CDs to restore a system that was totally toasted, due to massive disk failure, being hacked, etc. I'm wondering if anyone has ever developed something similar for AMANDA. I'm envisioning something like the Red Hat installer, which boots up, lets you drop into a limited shell and lets you partition disks. The AMANDA bootable CD would boot up, let you format disks and give you a limited shell, and then let you run amrestore by connecting to the tape drive (or whatever archival media you are using) of your remote backup server. Just curious if anyone has ever gone down this road and if so, how far did you get? Thanks, Kevin -- Kevin M. Myer Systems Administrator Lancaster-Lebanon Intermediate Unit 13 (717) 560-6140