From owner-freebsd-isp Fri Sep 27 15:35:39 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA10221 for isp-outgoing; Fri, 27 Sep 1996 15:35:39 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA10183 for ; Fri, 27 Sep 1996 15:35:31 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.7.5/8.7.3) id PAA13181; Fri, 27 Sep 1996 15:35:13 -0700 (PDT) From: "Rodney W. Grimes" Message-Id: <199609272235.PAA13181@GndRsh.aac.dev.com> Subject: Re: Restoring from a multidump tape (was: ) In-Reply-To: <2.2.32.19960927193337.006ac718@207.100.94.5> from "Mark S. Velasquez" at "Sep 27, 96 03:33:37 pm" To: msv@arisia.net (Mark S. Velasquez) Date: Fri, 27 Sep 1996 15:35:12 -0700 (PDT) Cc: freebsd-isp@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > 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