Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 1996 15:35:12 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
To:        msv@arisia.net (Mark S. Velasquez)
Cc:        freebsd-isp@FreeBSD.org
Subject:   Re: Restoring from a multidump tape (was: )
Message-ID:  <199609272235.PAA13181@GndRsh.aac.dev.com>
In-Reply-To: <2.2.32.19960927193337.006ac718@207.100.94.5> from "Mark S. Velasquez" at "Sep 27, 96 03:33:37 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
>   Well, I know I'm asking a stupid question, but I'll do it anyways :
> 
>   I've installed a 4mm scsi tape drive(a Conner 4326NP) and then dumped my
> filesystems via the following script :
> 
>  /sbin/dump 0udf 61000 ganymede:/dev/nrst0 /
> /sbin/dump 0udf 61000 ganymede:/dev/nrst0 /usr
> /sbin/dump 0udf 61000 ganymede:/dev/nrst0 /var
> /sbin/dump 0udf 61000 ganymede:/dev/nrst0 /export/home
> /sbin/dump 0udf 61000 ganymede:/dev/rst0 /export/cache
> 
> This seems to work fine, however, when I do a "restore -if" to look at the
> tape, I can only see the first(/) filesystem I dumped.
> I'm doing an "mt -f /dev/rst0 fsf 1", etc. , to skip to the next dump-file
> on the tape, but I never get to the next dump. Does mt work on FreeBSD 2.1.5
> with my tape drive ? or am I misremembering how to skip to the next
> dump-file ? Admittedly its been several years since I was involved with
> system backup.

Try the following script to produce a TOC of your tape:

#!/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin

mt -f /dev/nrst0 rewind
restore if /dev/nrst0
mt -f /dev/nrst0 fsf 1
restore if /dev/nrst0
mt -f /dev/nrst0 fsf 1
restore if /dev/nrst0
mt -f /dev/nrst0 fsf 1
restore if /dev/nrst0
mt -f /dev/nrst0 fsf 1
restore if /dev/nrst0

That works just fine for me on my:
(ncr0:5:0): "ARCHIVE Python 28388-XXX 4.98" type 1 removable SCSI 2

Aka, Conner 4326RP



-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                 Reliable computers for FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609272235.PAA13181>