From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 9BCCE2F913 for ; Wed, 9 Aug 2000 14:52:13 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id OAA15551 for axp-list@listman.redhat.com; Wed, 9 Aug 2000 14:52:13 -0400 Received: from riven.plaza.ds.adp.com ([139.126.16.128]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA15543 for ; Wed, 9 Aug 2000 14:52:12 -0400 Received: from mallard.plaza.ds.adp.com (mallard.plaza.ds.adp.com [139.126.60.251]) by riven.plaza.ds.adp.com (8.8.7/8.6.9) with SMTP id LAA25867; Wed, 9 Aug 2000 11:51:14 -0700 (PDT) Received: by mallard.plaza.ds.adp.com (5.65v4.0/1.1.10.5/17Dec97-1120AM) id AA30989; Wed, 9 Aug 2000 11:51:20 -0700 Date: Wed, 9 Aug 2000 11:51:20 -0700 From: "Seth D. Alford" To: axp-list@redhat.com Cc: "Seth D. Alford" Subject: Re: bootable backups Message-Id: <20000809115120.B23013@mallard.plaza.ds.adp.com> Mail-Followup-To: axp-list@redhat.com References: <343CDA89CA23D211B69C0000F845B2910198C75B@ALOLGM1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <343CDA89CA23D211B69C0000F845B2910198C75B@ALOLGM1>; from reinhard.vock@lotterien.at on Wed, Aug 09, 2000 at 03:23:20PM +0200 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Wed, Aug 09, 2000 at 03:23:20PM +0200, Vock Reinhard wrote: > Hi folks! > > I was wondering if there is something like a tool to produce bootable > backups under linux? I am refereng to something like ignite/UX from HP; > build an image of the machine, wirte it to tape, boot from tape and either > just boot or rebuild the machine? > > Thanks, > Reinhard > I too would like the same thing. That way, when a hard disk crashes, I can replace the hard disk, boot from tape, and have the system recreate itself. Yes, I know, the traditional Linux approach to this problem is to boot from floppy, load a vanilla Linux from CD-ROM, and then restore a tar archive from tape. Alternatively, the tape carries a dd archive. In that case, I boot from floppy, and un-dd the tape onto disk. The problem with the tar approach is that I have to re-partition the disk before I can de-tar. I have to somehow remember the sizes of the partitions, or extract that information from the tar tape. At a previous job in the Old Days, we used dd to 9-tracks to save and restore partitions on BSD systems on Vaxen. There are several problems with the dd approach. I have to replace the hard disk with a similar hard disk. If I install, say, a larger hard disk onto the system, I'm not sure if the dd will work. At the least, part of the new disk will be unuseable without re-partitioning. And I'm very sure that if I install a smaller hard disk, whatever data was at the end of the last disk partition won't be restored, and the partition probably won't even fsck correctly. Also, if there's an error on a dd tape, you potentially can lose much more than just a file, which is what you'll likely lose with an error on a tar tape. Also, I'm less likely to mis-place the backup tapes than I am to mis-place the emergency boot floppy and Linux CD-ROM. Why? I make backups more frequently than I restore from floppy. So I have handled the backup tapes more recently than the floppy. So I'm more likely to know where the backup tapes are. If I can reboot from those backup tapes, I save myself the step of having to search for the boot floppy and the Linux distribution CD-ROM. I do know about having a spare root partition from which to boot. We used the same trick on Vaxen, 15 years ago. We referred to these as shadow roots. I'm reluctant to have to allocate space for, and maintain, a shadow root partition on each system I oversee. It also means that I have to have a second disk drive on each system. --Seth Alford setha@plaza.ds.adp.com