[comp.unix.admin] Backup recommendations sought

jeremym@syma.sussex.ac.uk (Jeremy Maris) (10/09/90)

I would like to be able to backup all our filesystems overnight to an Exabyte
and be able to restore  directory trees, as distinct from a complete
filesystem, without too much bother. We have 6 ~250Mb partitions  and
use CAP to provide an AUFS file server to Macs.

Dump is a bit of a pain for anything other than security backups of file
systems, because of the crude nature of restor, and can only write one 
filesystem per tape in its vanilla form. Tar has the 100 char filename limit,
so I'd have to hack GNUtar to allow for the large filenames used by CAP/AUFS.

Three questions:

	1) What do people use for multiple dumps to Exabyte ?
	2) Are there any fancy interfaces to restor to allow 
	   easy restoration of a directory tree ?
	3) Is there anything with the flexibilty and robustness of
	   VMS Backup available for Ultrix/Un*x  ( ie journal files,checksums,
	   redundancy, a gogol of selection options) ?

Thanks,
---
Jeremy Maris,Experimental Psychology,University of Sussex,Brighton,England.
Janet: jeremym@uk.ac.sussex.syma  Nsfnet: jeremym@syma.sussex.ac.uk
Bitnet: jeremym%sussex.syma@ukacrl.bitnet   UUCP: ...ukc!syma!jeremym

hackwort@dg-rtp.dg.com (Brian Hackworth) (10/10/90)

In article <3597@syma.sussex.ac.uk>, jeremym@syma.sussex.ac.uk (Jeremy
Maris) writes:

|> Three questions:
|> 
|> 	1) What do people use for multiple dumps to Exabyte ?

An enhanced version of dump(1M) that handles physical EOT.
We put a crude table of contents at the front of the tape
listing the names of the file systems on the tape.  Then
we invoke the enhanced dump for each file system, each
time writing to the no-rewind tape device.

|> 	2) Are there any fancy interfaces to restor to allow 
|> 	   easy restoration of a directory tree ?

No need for a fancy interface.  Check out restore(1M)'s "x"
flag to extract only named files.  If the "named file" is 
a directory, the directory and all its contents are recursively
extracted.  This sounds like what you're asking for.  The "i"
interactive flag is also handy for recovering only a few
files -- in allows you to "cd" around the dump tape, 
selecting only the files or directories you want to extract.

The only tricky part is figuring out the correct file system
for the directory you're interested in, and spacing around
the tape to find the start of that file system.

|> 	3) Is there anything with the flexibilty and robustness of
|> 	   VMS Backup available for Ultrix/Un*x  ( ie journal
files,checksums,
|> 	   redundancy, a gogol of selection options) ?

I don't know anything about VMS Backup.  Journal files are
trivial to create if you're writing a shell script around
dump and restore.  dump already performs checksums.  dump
and restore don't do software redundancy, but most new
tape drives support some sort of error detection to let
you know if you haven't really saved what you thought you saved.
I'm not sure how useful a gogol of selection options are;
the dump model of backing up all that has changed since
the last backup seems to be pretty reasonable.

--
Brian Hackworth
Data General Corporation            hackworth@dg-rtp.dg.com
62 T. W. Alexander Drive            ...!mcnc!rti!dg-rtp!hackworth
Research Triangle Park, NC 27709    (919) 248-6143

henryc@oar.net (Henry Clark) (10/11/90)

In article <3597@syma.sussex.ac.uk> jeremym@syma.sussex.ac.uk (Jeremy Maris) writes:
>	1) What do people use for multiple dumps to Exabyte ?

Dump.  (use the no-rewind device or use mt to position the tape)

>	2) Are there any fancy interfaces to restor to allow 
>	   easy restoration of a directory tree ?

Use restore in an interactive mode and you can restore whatever files/trees
you wish.

>	3) Is there anything with the flexibilty and robustness of
>	   VMS Backup available for Ultrix/Un*x  ( ie journal files,checksums,
>	   redundancy, a gogol of selection options) ?

One of the nice things about Unix is its simplicity.


Henry
henryc@oar.net

bachesta@bcstec.UUCP (Jim Bachesta) (10/11/90)

In article <3597@syma.sussex.ac.uk> jeremym@syma.sussex.ac.uk (Jeremy Maris) writes:
>
>Three questions:
>
>	1) What do people use for multiple dumps to Exabyte ?
>	2) Are there any fancy interfaces to restor to allow 
>	   easy restoration of a directory tree ?
>	3) Is there anything with the flexibilty and robustness of
>	   VMS Backup available for Ultrix/Un*x  ( ie journal files,checksums,
>	   redundancy, a gogol of selection options) ?
>

	At our site we have about 30 gigabytes of disk space. We use
dump and restore exclusively for our backup needs. The way we get
multiple dumps to is as follows:
	
	o Use the "non rewind" device for our 8mm tape unit.
	o call a script from cron that consecutively performs a 
	  backup to the 8mm tape unit. We can backup all 20 of our
	  drives to two tapes this way. It is only a daily bakup,
	  but it works unattended. 

Since the tape dosn't rewind after each dump, the next dump continues
where the previous dump ended.
-
To restore just use the "s" feature of restore. This skips file marks
to the desired dump on the tape.

Restore can handle a file tree easily. Use the interactive switch when
you start the restore (i.e restore -i /dev/nrmt2h ). You will be placed
at the the "restore>" prompt. To select a tree simply "add" the node
where the tree begins:

	restore> add node

As far as VMS backup goes, I am not aware of any products out there to
support that type of environment.


					James Bachesta
					Boeing P3 Update IV Project
	 				bachesta@trident.boeing.com