From owner-freebsd-questions@FreeBSD.ORG Wed Apr 18 19:31:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80EA416A408 for ; Wed, 18 Apr 2007 19:31:38 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 5122313C469 for ; Wed, 18 Apr 2007 19:31:38 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l3IJTRl4058609; Wed, 18 Apr 2007 15:29:27 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l3IJTRDK058608; Wed, 18 Apr 2007 15:29:27 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 18 Apr 2007 15:29:27 -0400 From: Jerry McAllister To: freebsd-questions@freebsd.org Message-ID: <20070418192927.GA58583@gizmo.acns.msu.edu> References: <4623DB08.3050208@calarts.edu> <448xcpbzg9.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <448xcpbzg9.fsf@be-well.ilk.org> User-Agent: Mutt/1.4.2.2i Cc: Sean Murphy Subject: Re: mt command questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 19:31:38 -0000 On Wed, Apr 18, 2007 at 09:10:30AM -0400, Lowell Gilbert wrote: > Sean Murphy writes: > > > I am learning about backing up to tape and have made quite a bit of > > progress with the mt command. I understand what the fsf option does. > > There are other options however and would like to understand them as > > well. I am looking at the man page and have tried googleing them with > > not a lot of luck. the fsr and fss options I understand they would > > fast forward but what is "count records" and "count setmarks" > > considered and how would I use them? > > In this context, "count" is a number. > I haven't used mt(1) in quite a while, but I don't think I ever used > more than one of {files, records, setmarks} on the same tape, > andoffhand I can't think of a reason for doing so. If you only put > one backup on a given tape, you wouldn't use any of them. We often put a number of backups on one tape. It is convenient to make a fill dump on one day and then incremental dumps for other days. In that case, the full dump take a whole tape, but all the incrementals together take one tape. Also, when I want to make a system to install on several machines via tape, each file system becomes one backup. The count does refer to the number of operations to do. So, for example, if you have 5 files one one tape and you want to go to that last file to restore, then you would execute: mt -f /dev/nrsa0 fsf 4 to skip past the first four files to get to the last one. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"