another stupid dump question
Collins Richey
erichey2
Mon May 17 11:47:12 PDT 2004
On Thu, 08 May 2003 15:18:58 -0400
Tim Wunder <tim at thewunders.org> wrote:
> On 5/7/2003 12:00 PM, someone claiming to be Andrew Mathews wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Tim Wunder wrote:
> > | Is there a way to have dump backup multiple filesystems onto a
> > | singe tape? In reading the man page, the only thing that resembles
> > | that capability is th -M option, but that doesn't appear to be
> > | what I want. Unless I'm misunderstanding the man page, it's not
> > | possible.
> > |
> > | Thanks,
> > | Tim
> > |
> >
> > Yes. Use the non-rewinding tape device, /dev/nst0. This will write
> > the first dump to tape, but not rewind it when complete. Then the
> > next dump will begin after the end of the first dump block on tape.
> > Repeat as necessary. This is what I use on a Sun system using dump
> > (slightly modified from my xfsdump backup scripts):
> >
> <script-snip>
>
> Well, this seems to work, only I haven't a clue how to restore after
> this. I was able to execute the following subsequent commands without
> error:
> # /sbin/dump 0uf /dev/nst0 /
> # /sbin/dump 0uf /dev/nst0 /var
>
> But when I try to do an interactive restore with
> # /sbin/restore -i
>
> /sbin/restore > what
> Dump date: Thu May 8 14:35:05 2003
> Dumped from: the epoch
> Level 0 dump of / on <my hostmname>:/dev/sda1
> Label: none
>
> How do I get to the part of the tape where the second dump (of /var)
> is located? 'man restore' isn't providing me enough clues :-(
> I haven't looked in detail at your script, is it logging where on the
> tape the /var dump got dumped? Do I need to manually advance the tape
> there and then /sbin/restore -i /dev/nts0?
>
I'm not familiar with the tape commands, but it would seem that you
should
1. forward space one file
2. restore using /dev/nst0 to prevent rewind.
--
Collins Richey - Denver Area
gentoo stable - ext3
More information about the Linux-users
mailing list