xfs
[Top] [All Lists]

Re: dumping multiple sessions to a single tape with XFS dump.

To: austin@xxxxxxxxxxxxxxx
Subject: Re: dumping multiple sessions to a single tape with XFS dump.
From: Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 19 Jul 2001 10:55:57 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.SGI.4.32.0107191021260.6891-100000@omen.melbourne.sgi.com>; from ivanr@melbourne.sgi.com on Thu, Jul 19, 2001 at 10:28:14AM +1000
References: <85063BBE668FD411944400D0B744267A643458@AUSMAIL> <Pine.SGI.4.32.0107191021260.6891-100000@omen.melbourne.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Just a couple of extra comments.

On Thu, Jul 19, 2001 at 10:28:14AM +1000, Ivan Rayner wrote:
> On Wed, 18 Jul 2001, Gonyou, Austin wrote:
> 
> > If I perform the following:
> >
> > xfsdump -f /dev/nst0 -L "Boot FS" -m "test1" /boot
> > xfsdump -f /dev/nst0 -L "Home FS" -m "test1" /home
> 
> I assume you used -M and not -m.  Also, you don't need to use the
> non-rewind device here - xfsdump will take care of dumping /home after
> /boot on the tape.
If it finds an existing dump it will search for the stream terminator 
file (which marks the end of the dump) to start dumping a new session
to. No rewinds or forward spacing is needed if all the tape
has is xfs dumps.

> 
> > mt /dev/st0 rewind
> > then
> > xfsrestore -f /dev/st0 -t
> > I only get data from /boot listed..and thats all that xfsrestore says it has
> > found.
> 
> It would've examined the first dump.  If you want it to examine the second
> dump, you will need to run xfsrestore again.
> 
> Note also, that since you are using the rewinding tape device here, your
> second xfsrestore will also examine the first dump.  However, xfsrestore
> should give you the option to skip that dump, and examine the next.
> 
Or you could have specified the session label for the one you wanted:
  xfsrestore -f /dev/st0 -t -L "Home FS"

--Tim


<Prev in Thread] Current Thread [Next in Thread>