Date: Sun, 29 Mar 1998 22:16:54 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: Typeline Webmaster <web@typeline.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: cpio Message-ID: <Pine.BSF.3.96.980329221615.23543O-100000@gdi.uoregon.edu> In-Reply-To: <35167D44.41C67EA6@typeline.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Mar 1998, Typeline Webmaster wrote: > 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. Dump works pretty well too. > 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.? Probably not /dev; tar won't backup device special files. Easily fixed however. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major 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?Pine.BSF.3.96.980329221615.23543O-100000>