Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2000 11:39:14 -0700
From:      David Greenman <dg@root.com>
To:        "Peter Ranger" <grievous@powerup.com.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Tar 
Message-ID:  <200009111839.LAA09290@implode.root.com>
In-Reply-To: Your message of "Mon, 11 Sep 2000 17:01:44 %2B1000." <000801c01bbe$25e0ce80$0201010a@poida> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009111839.LAA09290>