From owner-freebsd-questions Sun Nov 8 17:55:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA22139 for freebsd-questions-outgoing; Sun, 8 Nov 1998 17:55:29 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA22134 for ; Sun, 8 Nov 1998 17:55:26 -0800 (PST) (envelope-from mike@sentex.net) Received: from ospf-wat.sentex.net (ospf-wat.sentex.net [209.167.248.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id UAA08617; Sun, 8 Nov 1998 20:59:11 -0500 (EST) From: mike@sentex.net (Mike Tancsa) To: rjent@rjent.pair.com Cc: questions@FreeBSD.ORG Subject: Re: tar disaster recovery questions Date: Mon, 09 Nov 1998 01:59:54 GMT Message-ID: <36464af7.634731896@mail.sentex.net> References: <199811081505.KAA16392@relay.pair.com> In-Reply-To: <199811081505.KAA16392@relay.pair.com> X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 8 Nov 1998 8:43:59 -0600, in sentex.lists.freebsd.questions you wrote: >Greetings, > >I am a rookie at disaster recovery and I have hade a machine crash and have rebuilt & recovered the >mission critical data however I am a bit puzzled if I went about my recovery the correct way. > >To backup I am using: > >tar -cv /* > >to backup to the tape. Using tar, I find the following switches a little more useful tar -p -l -c -f /dev/nrst0 / tar -p -l -c -f /dev/nrst0 /usr tar -p -l -c -f /dev/nrst0 /var and so on... This backups the data onto tape in separate sections so you can quickly fast forward to the required section e.g. mt -f /dev/rst0 rewind to go the start of the tape mt -f /dev/nrst0 fsf 1 will fast forward to the next record (in the above case /usr) You also want the -p option to preserve permissions. e.g. tar -p -x -f /dev/nrst0 ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message