From owner-freebsd-questions Mon Mar 23 07:19:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA01567 for freebsd-questions-outgoing; Mon, 23 Mar 1998 07:19:39 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from typeline.com (www.typeline.com [209.116.143.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA01466 for ; Mon, 23 Mar 1998 07:19:25 -0800 (PST) (envelope-from web@typeline.com) Received: from typeline.com (typeline.com [209.116.143.131]) by typeline.com (8.8.7/8.8.7) with SMTP id KAA12318 for ; Mon, 23 Mar 1998 10:18:28 -0500 (EST) (envelope-from web@typeline.com) Message-ID: <35167D44.41C67EA6@typeline.com> Date: Mon, 23 Mar 1998 10:18:28 -0500 From: Typeline Webmaster Organization: Typeline, Inc. X-Mailer: Mozilla 3.04 (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: cpio Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm in the process of trying to establish a backup procedure for a couple of machines running FBSD. While using tar for most of my Unix life I've just started to play with cpio. Since I'm trying to do a complete backup of these machines, cpio, from what I've read, is better suited for this purpose. If I need to rebuild one of these machines after a crash I'd just want to reload the OS and restore from tape. I've already tried using the following script using cpio and was wondering if this is sufficient: find / -print -depth | cpio -ov > /dev/rst0 To restore to / I've run: cpio -ivd < /dev/rst0 Is this procedure safe enough to restore everything including any dev special files etc.? Thanks Bob Badaracco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message