Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2002 10:13:48 -0800
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        "Blake Swensen" <blake@pyramus.com>, "FreeBSD List" <freebsd-questions@freebsd.org>
Subject:   Re: Dump and nodump flag?
Message-ID:  <009901c28689$6b06bb40$6e2a6ba5@tagalong>
References:  <3DCAA9E9.2040506@pyramus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Blake Swensen" <blake@pyramus.com>
To: "FreeBSD List" <freebsd-questions@freebsd.org>
Sent: Thursday, November 07, 2002 9:59 AM
Subject: Dump and nodump flag?


> The manual for dump states:
>
> ...
>   -h level
>         Honor the user ``nodump'' flag (UF_NODUMP) only for dumps at
or
>         above the given level.  The default honor level is 1, so that
>         incremental backups omit such files but full backups retain
them.
> ...
>
> I have looked at the several man pages referenced by this, and
searched
> the mailing list archives.  I want to take advantage of this feature
but
> cannot find how to set this flag.
>
> This is really an attempt to only back up part of a file system on a
> dump run.  For instance, /dev/ad2s1e is mounted at
> /usr/exports/corporate and contains
> /usr/exports/corporate/reallyimportant and
/usr/exports/corporate/justjunk.
>
> I really don't care to back up justjunk, but since both justjunk and
> reallyimportant are in the same filesystem I really cannot do:
> dump ..... /user/exports/corporate/reallyimportant.
>
> Was thinking that the nodump flag might be the answer... if I could
find
> out how to set it, and if nobody else has a better idea.

This and other flags are set via the 'chflags' utility.  Check the man
page.

Cheers,

Drew


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?009901c28689$6b06bb40$6e2a6ba5>