[comp.unix.ultrix] dump/restore -- should this work?

peirce%pernod@gumby.cc.wmich.edu (Leonard J. Peirce) (01/31/89)

Reply-to: peirce%pernod@gumby.cc.wmich.edu (Leonard J. Peirce)



Well, I just installed 3.0 and discovered that either DEC didn't fix the
bug that I reported or they didn't understand what I was trying to explain
to them.  Maybe I'm dumb for doing this; you be the judge.

I do our dumps using multiple dump files on mutilple tapes.  A breakdown
of the dump file and tape boundaries is such:

|------------tape 1------------||------------tape 2------------||-------
|---dump 1---||---dump 2---||---dump 3---||---dump 4---||---dump 5---||---

The problem shows up when I run restore.  restore can find anything in the
dump files 1 and 2.  However, if I try to get to anything in dump file 3
and up, I get the message

	Wrong dump date
	   got: Tue Dec 27 11:18:14 1988
	   wanted: Wed Dec 31 19:00:00 1969

shortly after I insert the second tape.

If I force a new tape to be inserted such that any dump file that will
require more than one tape starts at the beginning of the tape, restore
works fine for everything.

Should dump/restore be able to handle the situation I described above?
I've got my asbestos thermal underwear on so if I'm being stupid, you
can flame me if you want; do it by e-mail, though, so as not to waste
everyone's bandwidth.  Anything constuctive should be posted.
-- 
Leonard J. Peirce               Internet:  peirce@gumby.cc.wmich.edu
Western Michigan University                peirce@gw.wmich.edu
Academic Computer Center        Voice:     (616) 387-5469
Kalamazoo, MI  49008

peirce@gumby.cc.wmich.edu (Leonard J. Peirce) (01/31/89)

Reply-to: peirce@gumby.cc.wmich.edu (Leonard J. Peirce)



Well, I just installed 3.0 and discovered that either DEC didn't fix the
bug I reported or didn't understand what I was talking about.  Maybe I'm
dumb for doing this; you be the judge.

The problem is this:  I do our dumps using multiple dump files on multiple
tapes, with some dump files crossing tape boundaries.  A breakdown of the
tape and dump file boundaries would be:

|------------------tape 1------------------||---------tape 2---------||------

|---dump file 1---||---dump file 2---||---dump file 3---||---dump file 4---|

Dump doesn't complain about anything, asking for new tapes when it thinks
it needs one.

The problem shows up when I run restore.  It can get to anything in dump files
1 and 2, but if I try to get to anything in dump file 3 or beyond, I get
the message

	Wrong dump date
	    got: Tue Dec 27 11:18:14 1988
	    wanted: Wed Dec 31 19:00:00 1969

soon after I insert the second tape.

restore works just fine if I force a new tape to be inserted such that if
a dump file will require more than one tape, it starts at the beginning
of a tape.

Am I dumb for using dump the way I described above?  I've got my asbestos
thermal underwear on so you can flame me for being stupid if you feel like
it; just send them directly to me.  Anything constructive can be posted.
-- 
Leonard J. Peirce               Internet:  peirce@gumby.cc.wmich.edu
Western Michigan University                peirce@gw.wmich.edu
Academic Computer Center        Voice:     (616) 387-5469
Kalamazoo, MI  49008

sean@adelie.adelie.com (Sean Conway) (02/04/89)

Reply-to: sean@adelie.adelie.com (Sean Conway)


> Well, I just installed 3.0 and discovered that either DEC didn't fix the
> bug that I reported or they didn't understand what I was trying to explain
> to them.  Maybe I'm dumb for doing this; you be the judge.

They never thought of dumping multiple file systems to a no-rewind device.

> I do our dumps using multiple dump files on mutilple tapes.  A breakdown
> of the dump file and tape boundaries is such:
> 
> |------------tape 1------------||------------tape 2------------||-------
> |---dump 1---||---dump 2---||---dump 3---||---dump 4---||---dump 5---||---
> 
> The problem shows up when I run restore.  restore can find anything in the
> dump files 1 and 2.  However, if I try to get to anything in dump file 3
> and up, I get the message

Sure can...  Lets say for the scenario above you want to restore a file off
"dump 4".  Stick (well insert) tape 2 in the drive on put it online.  Then
run the restore command "skipping" to the second dump on the tape.  For
example:

restore -ivfs /dev/rmt0h 2

the "s 2" combo will skip to the second dump on the tape.  "dump 3", the
partial dump is considered "dump 1".

> Should dump/restore be able to handle the situation I described above?
> I've got my asbestos thermal underwear on so if I'm being stupid, you
> can flame me if you want; do it by e-mail, though, so as not to waste
> everyone's bandwidth.  Anything constuctive should be posted.

No flame needed.  DEC Ultrix support couldn't help me on this one either.  I
finally figured it out myself.

Good Luck.

Sean Conway
Adelie Corporation
125 CambridgePark Drive
Cambridge Ma, 02140
(617) 354-0400

sean@Adelie.COM