> There are several ways. Tomsrtbt supports several SCSI adapters and IDE
> tapes by default, some other SCSI adapters need a module added, floppy
> tape drives need the ftape add-on. It includes the pax, tar, cpio, and dd
> programs which can be used for backup and restore at the filesystem and
> raw device levels. It has gzip and bzip2 for compression of archives.
Note that the tar and cpio commands are wrappers to pax.
That's fine for just extracting and creating .tar and cpio
archives. If you hace to do anything more complex
(particularly if you're trying to do a system audit using
th GNU tar -d (--diff) feature then you might need to
get a "real" copy of these.
One trick I've used with Tom's is to customize my
startup scripts to configure the booted system into a
reserved network IP address (reserved at one-per-floppy) and
to mount up a public NFS mount (read-only export).
With the proliferation of glibc based systems I'd have to
add a part that would append /mnt/share/lib and run
ldconfig.
> The dump and restore programs are available in the add-ons directory if
> you prefer that strategy. Tomsrtbt includes fdisk and mke2fs to re-create
> your disk partitions before doing a filesystem level restore. The way _I_
> do it is to first do "fdisk -l > save-fdisk" to save the disk geometries
> to a file, then I use cpio to backup to an Exabyte scsi tape drive with an
> Adaptec 2940 which uses the included aic7xxx driver. If I need to restore
> from scratch, I look at the saved save-fdisk file to get the partition
> structure, recreate that with fdisk and mke2fs, then do the restore with
> cpio. You need to analyze your requirements, decide if you want something
> like incremental backups based on datestamps, etc. -Tom
You can also use dd if=/dev/[sh]da of=/root/bak/mbr.bin \
count=1 to save a binary copy of your boot record and
partition table to some file (modify this command to suit
your needs and DON'T FOREGT THE count= option!).
Of course this assumes that you have a local network and
sufficient control over some other systems on it.
> On Thu, 28 Oct 1999, Mark B Withers wrote:
> > Date: Thu, 28 Oct 1999 19:54:48 -0400 (EDT)
> > From: Mark B Withers <[EMAIL PROTECTED]>
> > To: toms <[EMAIL PROTECTED]>
> > Subject: [tomsrtbt] restoring from tape backup
> >
> > Is there a way to restore Linux from a tape backup in case the worst
> > should ever happen using tomsrtbt?
> >
> > Mark
> >
--
Jim Dennis [EMAIL PROTECTED]
Linuxcare: Linux Corporate Support Team: http://www.linuxcare.com