*BSD News Article 10828


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA772 ; Sun, 07 Feb 93 13:00:20 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!usc!cs.utexas.edu!uunet!mnemosyne.cs.du.edu!nyx!smace
From: smace@nyx.cs.du.edu (Scott Mace)
Subject: Re: Does anybody have a complete tar.Z file of filesystem?
Message-ID: <1993Feb5.212252.19898@mnemosyne.cs.du.edu>
X-Disclaimer: Nyx is a public access Unix system run by the University
	of Denver for the Denver community.  The University has neither
	control over nor responsibility for the opinions of users.
Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
References: <1993Jan29.161226.966@sci34hub.sci.com> <fYFNcUt@quack.sac.ca.us> <1993Jan31.115936.24290@pilhuhn.ka.sub.org>
Date: Fri, 5 Feb 93 21:22:52 GMT
Lines: 49

In article <1993Jan31.115936.24290@pilhuhn.ka.sub.org> hwr@pilhuhn.ka.sub.org (Heiko W.Rupp) writes:
>dfox@quack.sac.ca.us (David Fox) writes:
>>my disk is hosed, I should hope I could restore the floppies.  But since
>>the /dev entries are special files, what should I do about them?  Switch
>>to 'cpio' for backups?
>
>try dump(8) and restore(8).
>
>-- 
>Heiko W.Rupp  Gerwigstr.5  7500 Kh'e 1  hwr@pilhuhn.ka.sub.org  +49 721 693642
>The Abrams' Principle:
>	The shortest distance between two points is off the wall.
>

If you have alot of disk space, here is a REAL clunky way to do backups
which compress stuff.  I tried using dump and restore, but it would take
about 100+ disks to back things up.  Instead I figured out a simplistic
way that seems to work very good (although real clunky).

first.

tar zcvfp root.mace1.tar.Z ... ... .. ..  (where root.mace1.tar.Z is the
archive and the ... 's are all the directories you want in it)

then.

tar cfLMpv /dev/rfd0a 10240 root.mace1.tar.Z

to restore (much easier)

tar xfLMOv /dev/rfd0a 10240 | tar zxvfpv -

By using this method I can now backup my system in 65 disks instead of
100+

The only catch is you have to have enough disk space to create you
initial tar files.  If you have limited space you can add the hastle of
multiple tar files.  

It may be clunky, but it sure works better than dump.  Also you can view
each disk for integrety by replace 'xvf' with 'tvf'

Scott Mace

--
*********************************************************************
*    Scott Mace                internet:    smace@nyx.cs.du.edu     *
*                                           emace@tenet.edu         *
*********************************************************************