Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Michael Quinn" <mquinn@vignette.com>
To: <axp-list@redhat.com>
Subject: RE: bootable backups
Date: Wed, 9 Aug 2000 17:53:15 -0500	[thread overview]
Message-ID: <005a01c00254$9b345360$b08ca8c0@vignette.com> (raw)
In-Reply-To: <20000809115120.B23013@mallard.plaza.ds.adp.com>

The cool way of doing it would be to retain partition info for volumes.
This can be done in a multitude of ways.  I like the way HP does it with the
vgbackup tool that basically "stores" info on your partition configuration
(sizes and which disks belong to which volumes).  If you were to put a
larger drive in there - you would land up with unused space.  If you were to
put a smaller drive in, the vgrestore command will fail (makes sense...).

It of course becomes more tricky with hardware and software RAID
configurations, but not impossible (since most of these configuration
utilities are done thru a software interface..... someone could be bold
enough to write this tool).

It is possible....

M.

-----Original Message-----
From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com]On
Behalf Of Seth D. Alford
Sent: Wednesday, August 09, 2000 1:51 PM
To: axp-list@redhat.com
Cc: Seth D. Alford
Subject: Re: bootable backups


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



_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list




  reply	other threads:[~2000-08-09 21:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-09 13:23 bootable backups Vock Reinhard
2000-08-09 18:51 ` Seth D. Alford
2000-08-09 22:53   ` Michael Quinn [this message]
2000-08-09 22:49     ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
2000-08-09 19:22 Paul Bunn
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox