* multiple save sets on one tape using dump?
@ 1994-06-07 22:12 Jay Masino
1994-06-08 7:54 ` Wilko Bulte
1994-06-08 14:12 ` Thomas Sippel - Dau
0 siblings, 2 replies; 5+ messages in thread
From: Jay Masino @ 1994-06-07 22:12 UTC (permalink / raw)
I'd like to use a single tape to do my incrementals (using OSF/1's dump) and
would like to know what happens if I just continue to do dumps to the same
tape without allowing a rewind. Will the restore command know how to handle
the multiple dump tape? Is there a way to define (or assign a "name") to dump
save sets in OSF/1? Any help would be appreciated.
************************************************************************
* Jay Masino, Loral AeroSys *
* 1967 Cherokee 140 - N4269J *
* "real men fly hershey bars" *
* *
* Jay_Masino@ccmail.gsfc.nasa.gov or jmasino@gtpitch.gsfc.nasa.gov *
* *
* #include <standard_disclaimer.h> *
************************************************************************
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: multiple save sets on one tape using dump?
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
1994-06-10 21:28 ` Mark Truman
1994-06-08 14:12 ` Thomas Sippel - Dau
1 sibling, 2 replies; 5+ messages in thread
From: Wilko Bulte @ 1994-06-08 7:54 UTC (permalink / raw)
Jay_Masino@ccmail.gsfc.nasa.gov (Jay Masino) writes:
>I'd like to use a single tape to do my incrementals (using OSF/1's dump) and
>would like to know what happens if I just continue to do dumps to the same
>tape without allowing a rewind. Will the restore command know how to handle
>the multiple dump tape? Is there a way to define (or assign a "name") to dump
>save sets in OSF/1? Any help would be appreciated.
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
--
| / o / / _ Wilko Bulte mail: wilko@idca.tds.philips.nl
|/|/ / / /( (_) |d|i|g|i|t|a|l| Equipment Corporation voice: +3155-432062
fax: +3155-432103 DTN: 829 2062 PO Box 245 - 7300 AE Apeldoorn - The Netherlands
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: multiple save sets on one tape using dump?
1994-06-08 7:54 ` Wilko Bulte
@ 1994-06-08 14:08 ` Don Glascock
1994-06-10 21:28 ` Mark Truman
1 sibling, 0 replies; 5+ messages in thread
From: Don Glascock @ 1994-06-08 14:08 UTC (permalink / raw)
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."
+ + + + + + + + + + + + +
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: multiple save sets on one tape using dump?
1994-06-08 7:54 ` Wilko Bulte
1994-06-08 14:08 ` Don Glascock
@ 1994-06-10 21:28 ` Mark Truman
1 sibling, 0 replies; 5+ messages in thread
From: Mark Truman @ 1994-06-10 21:28 UTC (permalink / raw)
In article <wilko.771062046@spoetnix.idca.tds.philips.nl> wilko@idca.tds.philips.nl (Wilko Bulte) writes:
>From: wilko@idca.tds.philips.nl (Wilko Bulte)
>Subject: Re: multiple save sets on one tape using dump?
>Date: 8 Jun 94 07:54:06 GMT
>Jay_Masino@ccmail.gsfc.nasa.gov (Jay Masino) writes:
>>I'd like to use a single tape to do my incrementals (using OSF/1's dump) and
>>would like to know what happens if I just continue to do dumps to the same
>>tape without allowing a rewind. Will the restore command know how to handle
>>the multiple dump tape? Is there a way to define (or assign a "name") to dump
>>save sets in OSF/1? Any help would be appreciated.
>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
>--
> | / o / / _ Wilko Bulte mail: wilko@idca.tds.philips.nl
> |/|/ / / /( (_) |d|i|g|i|t|a|l| Equipment Corporation voice: +3155-432062
>fax: +3155-432103 DTN: 829 2062 PO Box 245 - 7300 AE Apeldoorn - The Netherlands
You can also do this directly with the restore command by using the "-s"
argument to specifiy the file number on the tape. (More info in the restore
man page....)
----------------------------------------------------------------------------
Mark Truman
GTECH Corp
mrt@gtech.com The opinions expressed here are mine alone......
----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: multiple save sets on one tape using dump?
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:12 ` Thomas Sippel - Dau
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Sippel - Dau @ 1994-06-08 14:12 UTC (permalink / raw)
In article <Jay_Masino.57.001233DA@ccmail.gsfc.nasa.gov>, Jay_Masino@ccmail.gsfc.nasa.gov (Jay Masino) writes:
- I'd like to use a single tape to do my incrementals (using OSF/1's dump) and
- would like to know what happens if I just continue to do dumps to the same
- tape without allowing a rewind.
You can do WITH a rewind. It also makes for faster access to the newest version of
a file.
If you cannot afford the risk of the system going down while you make your
incremental dump (and overwriting the previous one), then you can certainly
not afford the risk of the tape falling into a honeypot or being wiped by
a rogue command involving tape write.
The notion that part of a tape is "safe" while other bits are being written
is fanciful. View a tape as useless until it has been written and read back
(for example to extract a list of files), extracted from the machine and stored
in a reasonably fire, and water and dustproof way.
Conversely, if you have a valuable tape (containing important data), do you
really want to entrust that to unreliable mechanical devices like tapedrives
which will just chew it up ?
Thomas
--
*** This is the operative statement, all previous statements are inoperative.
* email: cmaae47@ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet)
* voice: +44 (1)71 594 6904 (day), or +44 (1)71 594 6957 (fax)
* snail: Imperial College of Science, Technology and Medicine
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1994-06-10 21:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1994-06-10 21:28 ` Mark Truman
1994-06-08 14:12 ` Thomas Sippel - Dau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox