Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: glascock@hutt.mayo.edu (Don Glascock)
Subject: Re: multiple save sets on one tape using dump?
Date: 8 Jun 1994 14:08:30 GMT	[thread overview]
Message-ID: <2t4jcu$q6o@fermat.mayo.edu> (raw)
In-Reply-To: wilko.771062046@spoetnix.idca.tds.philips.nl


In article <wilko.771062046@spoetnix.idca.tds.philips.nl>, wilko@idca.tds.philips.nl (Wilko Bulte) writes:
|> Jay_Masino@ccmail.gsfc.nasa.gov (Jay Masino) writes:
|> 
|> >I'd like to use a single tape to do my incrementals[...]
|> 
|> This can be done. Just use 'mt' on the non-rewinding tape device
|> to position the tape on the correct dump image before you 
|> perform the restore. See man page of 'mt' for more info. 
|> I don't know about any "name" tricks.
|> 
|> Wilko

Some time ago, I put together a bogus tape labeling mechanism for the
backups of a fileserver.  I wrote a dump script that figured out what
was going to be dumped, and wrote an ascii file containing the partition
list onto the front of the tape.  Then the actual dump's used the non-
rewinding interface to the tape drive, and when all the dumps finished,
a final "I wrote 'em all ok" file was written onto the end of the tape.

Another shell script for file restores asked you whose files were to
be restored, and it would check the passwd map to find the partition,
and read the first file on the tape to find out how many files into
the tape it needed to "mt fsf".

You could put something like this together which would allow you to
write a day's set of incrementals onto the end of the tape, and the
restore script would ask you for the day of interest as well the the
name of the users' files to restore.

But this has some pretty gnarly disadvantages, most of which boil down
to "God help you if your dump won't fit on the tape", and there are
MANY unexpected & exciting ways that this can happen to you.  Also,
this is what we call "re-inventing the wheel" -- you can buy the Legato
or other dump packages which will do this & more.

The scripting we used was replaced by a commercial package, and worked
well during the interrum.  But it was never intended to be the permanent
system.

Later & good luck...

don

--

     +   +   +   +   +   +   +   +   +   +   +   +   +
        Don Glascock                                  
     +  Mailstop GU-10                               +
        Special Purpose Processor Development Group   
     +  Mayo Foundation                              +
        Rochester, MN  55905                          
     +  glascock@mayo.edu            (507) 284-1850  +
        "No matter where you go, there you are."      
     +   +   +   +   +   +   +   +   +   +   +   +   +



  reply	other threads:[~1994-06-08 14:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-06-07 22:12 multiple save sets on one tape using dump? Jay Masino
1994-06-08  7:54 ` Wilko Bulte
1994-06-08 14:08   ` Don Glascock [this message]
1994-06-10 21:28   ` Mark Truman
1994-06-08 14:12 ` Thomas Sippel - Dau
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