From owner-freebsd-questions Thu Sep 7 17: 4:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 3ECC837B423 for ; Thu, 7 Sep 2000 17:04:45 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e8804a886274; Fri, 8 Sep 2000 09:34:36 +0930 (CST) (envelope-from grog) Date: Fri, 8 Sep 2000 09:34:35 +0930 From: Greg Lehey To: Andre I Cc: questions@FreeBSD.ORG Subject: Re: mt (tape) problem Message-ID: <20000908093435.A83632@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from piekcen@hotmail.com on Thu, Sep 07, 2000 at 05:00:57AM +0000 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 7 September 2000 at 5:00:57 +0000, Andre I wrote: > Hi, > I am trying to do daily backup using dump. Here is my plan: > > dump level 0 on monday, and dump level 5 every other days. Because I don't > have a lot of tape, I have to use one tape for the whole week. Fortunately, > it's big enough :) > > the problem I have is here... > I made a script that log the result of mt status (so I know the file number > on the tape): > > root# mt status > Current Driver State: at rest. > --------------------------------- > File Number: 3 Record Number: 0 > ^^^^^^^^^^^^^^ > I want this!!! > -------------- > > the problem is, somebody might eject my tape in the morning and put it back. > So for my level 5 dump script, I want the drive to forward the tape to the > eof. I use "mt eom" for it. Why don't you do this? # mt rewind # mt fsf 2 Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message