*BSD News Article 83602


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!hunter.premier.net!feed1.news.erols.com!howland.erols.net!vixen.cso.uiuc.edu!news.stealth.net!demos!news.uni-stuttgart.de!news.belwue.de!news-stu1.dfn.de!news-mue1.dfn.de!news-nue1.dfn.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: restore dumps to new disk?
Date: 26 Nov 1996 00:06:03 GMT
Organization: Private BSD site, Dresden
Lines: 33
Message-ID: <57dc9b$3gb@uriah.heep.sax.de>
References: <E1FA5C.Iv@infosci.org>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

chris@infosci.org (Chris Boyes) wrote:

> The handbook describes how to restore a system backup made by
> tape dumps (using dump) of the file systems after a disaster. I
> assumed that applies to the same disk or a direct replacement.
> 
> Or is it possible to use a quite different size and possibly
> even different interface. Replace an IDE with SCSI for instance.

It is.  While dump(8) reads the raw device (so you can dump an
unmounted filesystem), the dump tape itself is written in a format
that allows restoring onto a different disk easily (unlike dd(1) which
is the logical predecessor of dump(8)).

> Providingi, of course that the disks are partitioned (Unix) in
> the same way, although of a different size.

As long as everything fits, it is okay.

> A tar backup would be OK, even with a different partition scheme.
> However does (g)tar backup device files, even those large minor
> no's now in FreeBSD?

No, it doesn't, nor is it able to restore the file flags (see
chflags(1)).  cpio can backup the large dev nodes in -H crc or -H newc
mode, but can't cope with the file flags either.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)