* Q - dump/restore
@ 1996-07-17 4:00 Jeff Dykzeul
1996-07-19 4:00 ` Robert Elz
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Dykzeul @ 1996-07-17 4:00 UTC (permalink / raw)
Hello all. As a former VMS guru I can "backup" left/right, up/down,
inside/outside all day long. But I have to learn dump/restore now. Help!
I configured a TZ85 tape drive on a DEC3000-400 and dumped the / and /usr
partitions to it as follows:
# dump -0uf /dev/nrmt1h /
# dump -0uf /dev/nrmt1h /usr
These commands are straight out of the DEC OSF/1 sysadmin manual and seemed
to work just fine. However, just to check for confirmation of the dumps, I
tried to list the tape, but can only seem to get the first dump (/) listed out.
I tried
# restore -tvf /dev/nrmt1h
# restore -tvf /dev/nrmt1h
and
# restore -tvf /dev/rmt1h
# restore -tvf /dev/nrmt1h
and even unloaded the tape, reloaded it and tried the restore commands again.
All I can get listed out is the dump for the / partition.
What am I doing wrong?
tia - jd
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Q - dump/restore
1996-07-17 4:00 Q - dump/restore Jeff Dykzeul
@ 1996-07-19 4:00 ` Robert Elz
1996-07-23 4:00 ` Tim Mooney
0 siblings, 1 reply; 3+ messages in thread
From: Robert Elz @ 1996-07-19 4:00 UTC (permalink / raw)
In <4sj84c$oni@hacgate2.hac.com> jd@ahi.es.hac.com (Jeff Dykzeul) writes:
| I tried
| # restore -tvf /dev/nrmt1h
| # restore -tvf /dev/nrmt1h
Unix tape drivers leave the tape positioned where it was last sitting
when yu close the non-rewind tape (or rewind completely with the rewinding
version). "restore t" just reads the directories, all of which are near
the front of the dump file - the effect is that after the first restore
the tape is positioned in the middle of the forst dump, a later restore
won't make much sense of that.
Try...
restore -tvf /dev/nrmt1h
mt -f /dev/nrmt1h fsf
restore -tvf /dev/nrmt1h
(restore also has a file skipping option you could try, but that's
generally useful only when you have the tape rewound and want to access
the N'th tape file).
kre
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Q - dump/restore
1996-07-19 4:00 ` Robert Elz
@ 1996-07-23 4:00 ` Tim Mooney
0 siblings, 0 replies; 3+ messages in thread
From: Tim Mooney @ 1996-07-23 4:00 UTC (permalink / raw)
In article <4sm0hl$rd1@mundamutti.cs.mu.OZ.AU>,
Robert Elz <kre@cs.mu.OZ.AU> wrote:
> In <4sj84c$oni@hacgate2.hac.com> jd@ahi.es.hac.com (Jeff Dykzeul) writes:
>
> | I tried
>
> | # restore -tvf /dev/nrmt1h
> | # restore -tvf /dev/nrmt1h
>
> Unix tape drivers leave the tape positioned where it was last sitting
> when yu close the non-rewind tape (or rewind completely with the rewinding
> version).
To be nitpicky, I believe that should read `BSD style' tape drivers...
The system V behavior actually repositions the tape head, if I remember
correctly. Digital Unix uses the BSD behavior exclusively as far as I can
tell, but other Unixes (eg HP-UX) and Unix-like OSes (eg Solaris :-) ) have
both, with the behavior depending on the device file.
Tim
--
Tim Mooney mooney@toons.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Bldg. (701) 231-8541 (FAX)
North Dakota State University, Fargo, ND 58105
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-07-23 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-17 4:00 Q - dump/restore Jeff Dykzeul
1996-07-19 4:00 ` Robert Elz
1996-07-23 4:00 ` Tim Mooney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox