From owner-freebsd-questions Thu Apr 4 01:47:08 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA16152 for questions-outgoing; Thu, 4 Apr 1996 01:47:08 -0800 (PST) Received: from colin.muc.de (colin.muc.de [193.174.4.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA16123 for ; Thu, 4 Apr 1996 01:47:00 -0800 (PST) Received: from [193.174.4.22] ([193.174.4.22]) by colin.muc.de with SMTP id <86034-2>; Thu, 4 Apr 1996 11:45:44 +0200 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 4 Apr 1996 11:23:56 +0200 To: mmd@sprintlink.co.za From: Lutz Albers Subject: Re: backing - up FreeBSD Cc: freebsd-questions@freefall.FreeBSD.org Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In article <3162920F.4C17@sprintlink.co.za>, Stacey writes: -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? -2) I would like to copy a complete "disk/system" i.e. like you can in dos -when you use xcopy??? Hi, there are basically two ways to do a backup in most U*X-Systems: 1) either a full filesystem backup (dump/restore) 2) or a backup of selected files (cpio/tar) The second approach is usually not a good method (esp. for desaster backups), as both tar and cpio have problems with certain kind of files (special files, sparse files and long names). dump is much better for that kind of backup you describe. That said, a few examples: tar - backup: tar cvf many This will backup all the files and dirctories (recursivly) tar - restore: tar xvf optional This will restore either the whole tape or the selected files. dump: dump 0uBf This will backup the whole filesystem (and only this filesystem). Repeat it for each filesystem you have. Hope this helps. Share & Enjoy ! --------------------------------------------------------------------- Lutz Albers | What's good ? Luederitzstr. 14, 81929-Muenchen, Germany | Life's good - email:lutz@muc.de ph: +49-89-93940364 | But not fair at all http://www.muc.de/~lutz fax:+49-89-93940365 | (Lou Reed) Do not take life too seriously, you will never get out of it alive.