From owner-freebsd-questions Thu Nov 7 10:13:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15F8B37B401 for ; Thu, 7 Nov 2002 10:13:57 -0800 (PST) Received: from blacklamb.mykitchentable.net (207-173-241-209.bras01.elk.ca.frontiernet.net [207.173.241.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 489B043ED1 for ; Thu, 7 Nov 2002 10:13:49 -0800 (PST) (envelope-from drew@mykitchentable.net) Received: from tagalong (unknown [165.107.42.110]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 36CD9EE52A; Thu, 7 Nov 2002 10:13:48 -0800 (PST) Message-ID: <009901c28689$6b06bb40$6e2a6ba5@tagalong> From: "Drew Tomlinson" To: "Blake Swensen" , "FreeBSD List" References: <3DCAA9E9.2040506@pyramus.com> Subject: Re: Dump and nodump flag? Date: Thu, 7 Nov 2002 10:13:48 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Blake Swensen" To: "FreeBSD List" 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