From owner-freebsd-questions Sat Mar 28 15:29:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA23715 for freebsd-questions-outgoing; Sat, 28 Mar 1998 15:29:34 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA23707 for ; Sat, 28 Mar 1998 15:29:29 -0800 (PST) (envelope-from marcus@miami.edu) Received: from localhost by jaguar.ir.miami.edu (PMDF V5.1-10 #24029) with SMTP id <0EQJ00O01YL1BM@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Sat, 28 Mar 1998 18:29:25 -0500 (EST) Date: Sat, 28 Mar 1998 18:29:25 -0500 (EST) From: "Joe \"Marcus\" Clarke" Subject: Re: Backing up with dump multiple file systems. In-reply-to: To: Val Cc: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just figured all this out for myself. To do the dump that will allow multiple file systems, use something like the following: dump -u0 -a -f /dev/nrst0 /usr The -f /dev/nrst0 tells dump to use the non-rewinding form of SCSI tape 0. As for restoring multiple file systems, you need to use the mt command before each restore. For example, if /usr is the first dump session on your tape, simply type restore -i to enter the interactive restore shell and restore from /usr. Then, exit restore, and type mt fsf. This will advance the tape to the next session. Then type restore -i again to restore the next session. The only problem I had was restoring from the first session on the tape. It was really SLOW (but worked perfectly). I was using a DEC TZ04 (I think) to do the dump/restore. If anyone can shed some light on restore hints to improve speed, I'd love to hear them. Par la vie, the TZ04 is a SCSI-2 device. Joe Clarke On Sat, 28 Mar 1998, Val wrote: > I am sorry that I keep bugging the list with my tape backup questions, but > i am just not good with faq's and etc. i guess. > > I just checked out the dump utility and it seems to work good. > The problem is that it backs up one file system at a time. > Somewhere I read that you can tell the tape not to rewind, but I don't > know how to do that. > Also, if I tell it not to rewind the tape, how would restore work then? > > TIA, > Val. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message