From owner-freebsd-questions Thu Jun 27 1: 9:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.ovh.net (b1.ovh.net [213.186.33.51]) by hub.freebsd.org (Postfix) with ESMTP id 4E60437B400 for ; Thu, 27 Jun 2002 01:09:17 -0700 (PDT) Received: (qmail 14945 invoked by uid 503); 27 Jun 2002 08:08:06 -0000 Received: from unknown (HELO gueway.home) (212.43.212.24) by ns0.ovh.net with DES-CBC3-SHA encrypted SMTP; 27 Jun 2002 08:08:06 -0000 Received: from greatoak.home (greatoak.home [192.168.1.2]) by gueway.home (8.12.2/8.12.2) with ESMTP id g5R893fm070837; Thu, 27 Jun 2002 10:09:07 +0200 (CEST) (envelope-from pcasidy@greatoak.home) Message-Id: <200206270809.g5R893fm070837@gueway.home> Date: Thu, 27 Jun 2002 10:11:24 +0200 (CEST) From: Philippe CASIDY Subject: Re: how to configure tar? To: arvids@blezurs.lv Cc: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27 Jun, arvids wrote: > Dear Sirs, > I just took an administration of FreeBSD based system from another admin. > There seems to be a problem. We have a script doing backups and compressing > the files in format backup.tar.gz > I cannot open the archive > I do: > tar -x backup.tar.gz > and it answers that /dev/sa0 is not configured. What to do? > tar works on tape devices by default. (/dev/sa0) To specify a tar file, use the -f option tar -xf will do the trick. But first you will have to uncompress it first add the -z option then tar -xfz then if you want it to be verbose, try -v tar -xvfz man tar details these options Enjoy Phil. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message