Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 14:53:28 -0600
From:      "Mike Meyer" <mwm-dated-1011473609.3befd1@mired.org>
To:        Jon Hamilton <hamilton@pobox.com>
Cc:        "Gary W. Swearingen" <swear@blarg.net>, "Brian T.Schellenberger" <bts@babbleon.org>, questions@freebsd.org
Subject:   Re: HOWTO -- backup onto CDRs?
Message-ID:  <15427.17736.753992.943127@guru.mired.org>
In-Reply-To: <20020114183532.GA991@woodstock.monkey.net>
References:  <15426.33499.296182.78699@guru.mired.org> <0ecd43711140e12FE7@mail7.nc.rr.com> <02aad1513140e12FE8@mail8.nc.rr.com> <15426.63500.847866.284422@guru.mired.org> <ukk7ukwzrk.7uk@localhost.localdomain> <20020114183532.GA991@woodstock.monkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jon Hamilton <hamilton@pobox.com> types:
> "Gary W. Swearingen" <swear@blarg.net>, said on Mon Jan 14, 2002 [10:31:11 AM]:
> } A NOTE ON "dump" USAGE: I see a problem with using dump in that the man
> } page says it doesn't dump files and directories with the "nodump" file
> } flag set.  That seems to mean that to do a backup with confidence, one
> } would need to run "chflags" on everything one intends to dump.  Not a 
> } big problem if one remembers to do it; it just lengthens the process.
> 
> No; from elsewhere in the dump(8) manpage:
> 
>      -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.
> 
> So to effectively "turn off" nodump, just specify -h 0 on the dump command
> line.

That's backward - you've just told it to honor nodump on full
backups. To disable it for all backups, you want "nodump -h 10".

Of course, that sort of defeats the purpose of turning it on in the
first place. I mean - why would you turn on the nodump flag for a file
other than because you didn't want it backed up?

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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?15427.17736.753992.943127>