* Beginner needs help w/ dump/restore
@ 1996-05-15 4:00 JPHig
1996-05-15 4:00 ` Stewart Nichols
1996-05-15 4:00 ` Shawn Hose
0 siblings, 2 replies; 5+ messages in thread
From: JPHig @ 1996-05-15 4:00 UTC (permalink / raw)
First off, I'm a Unix neophyte who simply volunteered to admin our Alpha
Internet server and has been rebuffed by the manuals!
Now, then: Using # dump -0uf /dev/nrmt0h -b32 filesystem1
# dump -0uf /dev/nrmt0h -b32 filesystem2
# dump -0uf /dev/nrmt0h -b32 filesystem3
I expected to back up onto one TLZ07 tape three filesystems. dump
proceeds, giving me friendly progress updates as though everything were
fine. However, after filesystem2, I am told that I have 1160 feet of tape
left, whereas after filesystem3, I am told that I now have 2250 feet of
tape, as though it rewound despite my definitely having specified
/dev/nrmt0h.
When I issue # restore -t, only the first filesystem is tabulated.
Issuing # restore -t filesystem2/3, I see "filesystem2/3 not found on the
tape".
Any explanations out there? What happened to my backup?
BTW, is this newsgroup archived somewhere?
Thanks!!
Jeff Higgins
Area Cooperative Educational Services
http://www.aces.k12.ct.us
http://csde.aces.k12.ct.us
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Beginner needs help w/ dump/restore
1996-05-15 4:00 Beginner needs help w/ dump/restore JPHig
@ 1996-05-15 4:00 ` Stewart Nichols
1996-05-15 4:00 ` Tim Mooney
1996-05-15 4:00 ` Shawn Hose
1 sibling, 1 reply; 5+ messages in thread
From: Stewart Nichols @ 1996-05-15 4:00 UTC (permalink / raw)
In article <4ncldq$gr8@newsbf02.news.aol.com>, JPHig <jphig@aol.com> wrote:
>Now, then: Using # dump -0uf /dev/nrmt0h -b32 filesystem1
> # dump -0uf /dev/nrmt0h -b32 filesystem2
> # dump -0uf /dev/nrmt0h -b32 filesystem3
>I expected to back up onto one TLZ07 tape three filesystems. dump
>proceeds, giving me friendly progress updates as though everything were
>fine. However, after filesystem2, I am told that I have 1160 feet of tape
>left, whereas after filesystem3, I am told that I now have 2250 feet of
>tape, as though it rewound despite my definitely having specified
>/dev/nrmt0h.
>When I issue # restore -t, only the first filesystem is tabulated.
>Issuing # restore -t filesystem2/3, I see "filesystem2/3 not found on the
>tape".
>Any explanations out there? What happened to my backup?
Your commands for writing the dumps are correct. For restoring
the dump you need to know that the dumps are recorded separately
on the tape.
If you place the tape in the drive and do:
# restore -i
This will put you into interactive restore mode for the first filesystem.
If you want to restore filesystem2, then after placing the tape
in the drive:
# mt fsf 1 (or # mt fsf 2, for filesystem3)
# restore -i
Read the man pages on the joys of restore.
You also might consider using vdump and vrestore if you don't
need to exchange tapes with non-DU systems. See those manpages, too.
OBTW: If those error messages that you reported getting were REALLY the
actual messages, then I have no idea what the problem is, but other-wise
please include specific, exact error messages with your posts. It helps.
stu
stuart@capnet.state.tx.us
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Beginner needs help w/ dump/restore
1996-05-15 4:00 ` Stewart Nichols
@ 1996-05-15 4:00 ` Tim Mooney
0 siblings, 0 replies; 5+ messages in thread
From: Tim Mooney @ 1996-05-15 4:00 UTC (permalink / raw)
In article <4nddil$qop@piglet.cc.utexas.edu>, Stewart Nichols
<nichols@ccwf.cc.utexas.edu> wrote:
)In article <4ncldq$gr8@newsbf02.news.aol.com>, JPHig <jphig@aol.com> wrote:
)>Now, then: Using # dump -0uf /dev/nrmt0h -b32 filesystem1
)> # dump -0uf /dev/nrmt0h -b32 filesystem2
)> # dump -0uf /dev/nrmt0h -b32 filesystem3
)>I expected to back up onto one TLZ07 tape three filesystems. dump
)>proceeds, giving me friendly progress updates as though everything were
)>fine. However, after filesystem2, I am told that I have 1160 feet of tape
)>left, whereas after filesystem3, I am told that I now have 2250 feet of
)>tape, as though it rewound despite my definitely having specified
)>/dev/nrmt0h.
[Stewart's correct observations deleted]
)OBTW: If those error messages that you reported getting were REALLY the
)actual messages, then I have no idea what the problem is, but other-wise
)please include specific, exact error messages with your posts. It helps.
The messages are indicative of dump's heritage. Since dump hails from
the days of 9-track tapes, I'm guessing (guessing being the operative word)
that dump is trying to be helpful and let you know how much tape you have
left on your 9-track tape.
If you're not using a 9-track tape you should probably tell `dump' that.
It appears that you can do that using the `-c' option to dump.
All of these observations are pretty much untested, since my experience with
dump is limited to other platforms. We use `vdump' or NSR to backup our
alphas.
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] 5+ messages in thread
* Re: Beginner needs help w/ dump/restore
1996-05-15 4:00 Beginner needs help w/ dump/restore JPHig
1996-05-15 4:00 ` Stewart Nichols
@ 1996-05-15 4:00 ` Shawn Hose
1996-05-24 4:00 ` David R Courtade
1 sibling, 1 reply; 5+ messages in thread
From: Shawn Hose @ 1996-05-15 4:00 UTC (permalink / raw)
I alway have discrepencies with the output of feet on the tape and have
found that I dislike the restore -t command.
Instead I use the "mt fsf number". Where number is the backup you want to
go to the end of. In your case rewind the tape then "mt fsf 1" would put
you at the end of the first filesystem backed up (Hmmm, check the mt man
page it may advance 1 filesystem and you could do this incrementally as
you check).
Then I usually do a "restore -i" (interactive) to view what's there. I
think the command is "what" and it will display the tape header (the
filesystem you back up) like / or /usr. At the interactive prompt type in
a ? to get a list of commands that give you info (like ls).
Good luck.
In article <4ncldq$gr8@newsbf02.news.aol.com>, jphig@aol.com says...
>
>First off, I'm a Unix neophyte who simply volunteered to admin our Alpha
>Internet server and has been rebuffed by the manuals!
>
>Now, then: Using # dump -0uf /dev/nrmt0h -b32 filesystem1
> # dump -0uf /dev/nrmt0h -b32 filesystem2
> # dump -0uf /dev/nrmt0h -b32 filesystem3
>I expected to back up onto one TLZ07 tape three filesystems. dump
>proceeds, giving me friendly progress updates as though everything were
>fine. However, after filesystem2, I am told that I have 1160 feet of tape
>left, whereas after filesystem3, I am told that I now have 2250 feet of
>tape, as though it rewound despite my definitely having specified
>/dev/nrmt0h.
>
>When I issue # restore -t, only the first filesystem is tabulated.
>Issuing # restore -t filesystem2/3, I see "filesystem2/3 not found on the
>tape".
>
>Any explanations out there? What happened to my backup?
>
>BTW, is this newsgroup archived somewhere?
>
>Thanks!!
>
>Jeff Higgins
>Area Cooperative Educational Services
>http://www.aces.k12.ct.us
>http://csde.aces.k12.ct.us
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Beginner needs help w/ dump/restore
1996-05-15 4:00 ` Shawn Hose
@ 1996-05-24 4:00 ` David R Courtade
0 siblings, 0 replies; 5+ messages in thread
From: David R Courtade @ 1996-05-24 4:00 UTC (permalink / raw)
Try using restore -s 2 -t for the second dump file, see the restore man page.
We have used dump/restore here (I espescially like restore -i) for about a
year and have been quite happy with the result.
My understanding is that the feet left on a tape is computed after each
dump command without knowlwdge of previous files on the tape. Better would
be a tape % so you can see what you've used/have. Some assumptions are made
about tape length, density so it may not be exact for your setup. I just
ignore it.
==============================================================================
David R. Courtade
System Administrator
Amherst Systems Inc.
30 Wilson Rd.
Buffalo, N.Y. 14221
Phone: (716)631-0610
FAX: (716)631-0629
Email: drc@amherst.com
Shawn Hose (hose@ifmp.nasa.gov) wrote:
: I alway have discrepencies with the output of feet on the tape and have
: found that I dislike the restore -t command.
: Instead I use the "mt fsf number". Where number is the backup you want to
: go to the end of. In your case rewind the tape then "mt fsf 1" would put
: you at the end of the first filesystem backed up (Hmmm, check the mt man
: page it may advance 1 filesystem and you could do this incrementally as
: you check).
: Then I usually do a "restore -i" (interactive) to view what's there. I
: think the command is "what" and it will display the tape header (the
: filesystem you back up) like / or /usr. At the interactive prompt type in
: a ? to get a list of commands that give you info (like ls).
: Good luck.
: In article <4ncldq$gr8@newsbf02.news.aol.com>, jphig@aol.com says...
: >
: >First off, I'm a Unix neophyte who simply volunteered to admin our Alpha
: >Internet server and has been rebuffed by the manuals!
: >
: >Now, then: Using # dump -0uf /dev/nrmt0h -b32 filesystem1
: > # dump -0uf /dev/nrmt0h -b32 filesystem2
: > # dump -0uf /dev/nrmt0h -b32 filesystem3
: >I expected to back up onto one TLZ07 tape three filesystems. dump
: >proceeds, giving me friendly progress updates as though everything were
: >fine. However, after filesystem2, I am told that I have 1160 feet of tape
: >left, whereas after filesystem3, I am told that I now have 2250 feet of
: >tape, as though it rewound despite my definitely having specified
: >/dev/nrmt0h.
: >
: >When I issue # restore -t, only the first filesystem is tabulated.
: >Issuing # restore -t filesystem2/3, I see "filesystem2/3 not found on the
: >tape".
: >
: >Any explanations out there? What happened to my backup?
: >
: >BTW, is this newsgroup archived somewhere?
: >
: >Thanks!!
: >
: >Jeff Higgins
: >Area Cooperative Educational Services
: >http://www.aces.k12.ct.us
: >http://csde.aces.k12.ct.us
: >
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1996-05-24 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-15 4:00 Beginner needs help w/ dump/restore JPHig
1996-05-15 4:00 ` Stewart Nichols
1996-05-15 4:00 ` Tim Mooney
1996-05-15 4:00 ` Shawn Hose
1996-05-24 4:00 ` David R Courtade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox