From owner-freebsd-questions Mon Sep 11 11:42: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 5686D37B423 for ; Mon, 11 Sep 2000 11:42:06 -0700 (PDT) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id LAA09290; Mon, 11 Sep 2000 11:39:14 -0700 (PDT) Message-Id: <200009111839.LAA09290@implode.root.com> To: "Peter Ranger" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Tar In-reply-to: Your message of "Mon, 11 Sep 2000 17:01:44 +1000." <000801c01bbe$25e0ce80$0201010a@poida> From: David Greenman Reply-To: dg@root.com Date: Mon, 11 Sep 2000 11:39:14 -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >hello, >I am a 16 year old student, and I am currently setting up a home >network. I am trying to set up one of the computers for a backup >machine. This machine has a tape drive in it. I was wondering how to >use tar to back up entire folders and files to the tape drive. >I need to be able to back up one directory that contains numerous other >directories containing files, could you please email me with the syntax >on how to use tar for this purpose. Assuming that your tape drive is called "/dev/rst0" (which it would be if it were SCSI), then you would do something like: tar cf /dev/rst0 dir ...where 'dir' is a subdirectory of your current directory. If you want to see the files printed that are being archived, then make it "tar cvf /dev/rst0 dir" (add the 'v' flag). -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message