Date: Fri, 8 Sep 2000 09:34:35 +0930 From: Greg Lehey <grog@lemis.com> To: Andre I <piekcen@hotmail.com> Cc: questions@FreeBSD.ORG Subject: Re: mt (tape) problem Message-ID: <20000908093435.A83632@wantadilla.lemis.com> In-Reply-To: <LAW-F39FRFWMozgYLow0000048c@hotmail.com>; from piekcen@hotmail.com on Thu, Sep 07, 2000 at 05:00:57AM %2B0000 References: <LAW-F39FRFWMozgYLow0000048c@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000908093435.A83632>