From owner-freebsd-questions Sun Nov 8 18:25:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA25113 for freebsd-questions-outgoing; Sun, 8 Nov 1998 18:25:32 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ds9.dreamhaven.org (dt091n3e.san.rr.com [204.210.47.62]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA25108 for ; Sun, 8 Nov 1998 18:25:30 -0800 (PST) (envelope-from data@dreamhaven.net) Received: (qmail 3551 invoked by uid 1010); 9 Nov 1998 02:25:13 -0000 Date: Sun, 8 Nov 1998 18:25:13 -0800 (PST) From: Bryce Newall X-Sender: data@ds9.dreamhaven.org To: Jordan Krushen cc: freebsd-questions@FreeBSD.ORG Subject: Re: Tape backup questions In-Reply-To: <000801be0b7f$582dc7e0$0300000a@oblivion.purplemedia.com> 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 On Sun, 8 Nov 1998, Jordan Krushen wrote: > I've just added a Seagate TapeStor 4/8Gb SCSI drive to my 2.2.7 system, and > I'm having a hard time figuring out how to have multiple sessions added to > the tape. When using tar with /dev/nrst0 for two consecutive files, only > the first file written to the tape remains. Tar doesn't allow you to create archive files on a tape. Rather, it sees the tape itself *as* the archive file, and allows you to add files to and extract them from the archive file. If you want to add to an existing tape archive, you should theoretically be able to use the -A (append) switch on the tar command. (I've never actually tried this, so I can't verify that it actually works.) Otherwise, tar will erase the header on the tape and start a new one. By the way, when you use the -A switch, you'll probably notice a lot of tape action with nothing going by on your screen. This is due to tar having to wind sequentially through the archive file on the tape to find the end, so it can start adding. Another solution would be to use dump instead of tar. I actually have not gotten dump to work properly, but your luck may be better than mine. :) ********************************************************************** * Bryce Newall * Email: data@dreamhaven.net * * WWW: http://home.dreamhaven.net/~data * * "Insanity takes its toll. Please have exact change." * ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message