Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2001 04:31:25 +0930
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        James Howard <howardjp@Glue.umd.edu>
Cc:        =?iso-8859-1?Q?Lars_K=FChl?= <kuehl@lgk.de>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Backup file formats:  tar, cpio, pax, yadda, yadda, yadda
Message-ID:  <20010727043125.A62047@misty.eyesbeyond.com>
In-Reply-To: <Pine.GSO.4.21.0107261449560.14427-100000@z.glue.umd.edu>; from howardjp@Glue.umd.edu on Thu, Jul 26, 2001 at 02:54:52PM -0400
References:  <000901c115fc$fecc0550$162301d4@wklk> <Pine.GSO.4.21.0107261449560.14427-100000@z.glue.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 26, 2001 at 02:54:52PM -0400, James Howard wrote:
> On Thu, 26 Jul 2001, [iso-8859-1] Lars Kühl wrote:
> 
> > Neither tar nor cpio is suitable for backup purposes.
> > Use dump instead.
> 
> A lot of people said this.  Why?  As near as I can tell, dump isn't that
> great either.  There is no way to exlude specific directories with dump
> and it appears to be quite painful to restore a specific directory (though
> I could be wrong about this.

From dump(8):

     Dump honors the user ``nodump'' flag (UF_NODUMP) on regular files and di-
     rectories.  If a directory is marked ``nodump'', the latter and all files
     and directories under it will not be backed up.  That is, dump propagates
     the ``nodump'' flag on directories.

(Note that the recursive nature of the flag only became available in a
 release starting with FreeBSD 4.3).

Restoring a particular directory is quite easy.  Interactive mode is my
favourite way of doing that.  See restore(8).

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Mobile: 0419 868 494
Information Technology                Web   : http://www.eyesbeyond.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010727043125.A62047>