From owner-freebsd-questions Sun Feb 13 9:29:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from proxy4.ba.best.com (proxy4.ba.best.com [206.184.139.15]) by builder.freebsd.org (Postfix) with ESMTP id 0DCC243A1 for ; Sun, 13 Feb 2000 09:29:21 -0800 (PST) Received: from stcinc.com (gw-covad768k-cognitivetech.ncal.verio.com [207.20.238.29] (may be forged)) by proxy4.ba.best.com (8.9.3/8.9.2/best.out) with ESMTP id JAA26763; Sun, 13 Feb 2000 09:27:39 -0800 (PST) Message-ID: <38A6ED8D.FDA665B0@stcinc.com> Date: Sun, 13 Feb 2000 09:44:45 -0800 From: Gregory Carvalho Reply-To: GregoryC@stcinc.com Organization: Simplified Technology Company X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: wellsian , FreeBSD Questions Subject: Re: dump/restore problem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am certain it is the correct volume. Here are the two commands I issue prior to restore: # mt -f /dev/nrsa0 rewind # mt -f /dev/nrsa0 fsf 3 If I issue # restore -tf /dev/nrsa0 > files.text then files.text contains the Employment directory and it's contents. To create the tape, I use BackupThisSystem script: #!/bin/sh for filesys in / /var /usr /usr/newdrv do dump -0au -f /dev/nrsa0 $filesys done mt -f /dev/nrsa0 rewind mt -f /dev/nrsa0 offline I hope this is what you are asking for regarding the file systems attached: /dev/da0s1a / /dev/da0s1f /usr /dev/da0s1e /var /dev/da1c /usr/newdrv Thanks, Greg wellsian wrote: > > Are you sure the files in question are on that part of the tape? I mean > not elsewhere in a multiple-dump backup that might require you to "mt > /dev/rsa0 fsf 2" first or something? What are the dump commands that > created the tape? (from when it was blank and fully rewound) What's the > mount command show for where your filesystems are attached? > > Dave > > On Sun, 13 Feb 2000, Gregory Carvalho wrote: > > > I am unable to restore /usr/newdrv/Employment from a dump volume. I > > receive the following: > > > > # restore -xvf /dev/nrsa0 /usr/newdrv/Employment/ > > Verify tape and initialize maps > > Tape block size is 10 > > Dump date: Sat Jan 1 16:16:17 2000 > > Dumped from: the epoch > > Level 0 dump of /usr/newdrv on homer.stcinc.com:/dev/da1c > > Label: none > > Extract directories from tape > > Initialize symbol table. > > ./usr/newdrv/Employment is not on the tape > > Extract requested files > > You have not read any tapes yet. > > Unless you know which volume your file(s) are on you should start > > with the last volume and work towards the first. > > Specify next volume #: ^Crestore interrupted, continue? [yn] n > > > > I am using FreeBSD 3.2R. I have tried entering 0 through 4 for the > > volume, but to no avail. restore -t displays the Employment dir and it's > > files. I would appreciate someone explaining the proper restore command > > syntax since mine is obviously flawed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message