From owner-freebsd-questions Wed Apr 3 04:25:38 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA09468 for questions-outgoing; Wed, 3 Apr 1996 04:25:38 -0800 (PST) Received: from nixpbe.pdb.sni.de (mail.sni.de [192.109.2.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id EAA09435 for ; Wed, 3 Apr 1996 04:25:19 -0800 (PST) Received: (from nerv@localhost) by nixpbe.pdb.sni.de (8.6.12/8.6.12) id NAA06497 for questions@freebsd.org; Wed, 3 Apr 1996 13:06:14 +0200 Message-Id: <199604031106.NAA06497@nixpbe.pdb.sni.de> Subject: Re: backing - up FreeBSD To: mmd@sprintlink.co.za (Stacey) Date: Wed, 3 Apr 96 14:21:03 MET DST From: Greg Lehey Cc: questions@freebsd.org, mmd@sprintlink.co.za In-Reply-To: <3162920F.4C17@sprintlink.co.za>; from "Stacey" at Apr 03, 96 12:58 pm X-Mailer: xmail 2.4 (based on ELM 2.2 PL16) Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Hi.. > I would like to know if you can answer the following question? > 1) I would like to backup FreeBSD on on tapes. How do I do this? Let me count the ways... No, don't. There are too many. Assuming you have a real tape unit, it will typically be called /dev/st0. To back up a directory hierarchy, say /usr/home, you could enter: $ tar cvf /dev/rst0 /usr/home The name /dev/rst0 refers to the 'raw' version of the tape, which is what you should almost always use. > 2) I would like to copy a complete "disk/system" i.e. like you can in dos > when you use xcopy??? Where do you want to copy it? To tape? That's what the tar call above does. To *avoid* copying subdirectories, you could supply tar with a specific list of files only. You don't often do this in UNIX. > Your help will be greatly appretiated, if you don't have a answer could > you recommend any site's I could go to on the internet. Your best bet would probably be a book on basic UNIX system administration. Look at the bibliography in the online handbook (http://www.freebsd.org/handbook/handbook249.html) or in "Installing and Running FreeBSD" (this book also includes a couple of lines on the subject, but you probably want more). My personal favourite is Evi Nemeth and Co's "UNIX System Administration Handbook". 2nd ed. Prentice Hall, 1995. ISBN 0131510517 Greg