From owner-freebsd-questions@FreeBSD.ORG Fri Mar 16 11:01:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0253D16A404 for ; Fri, 16 Mar 2007 11:01:53 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.freebsd.org (Postfix) with ESMTP id BA82A13C45B for ; Fri, 16 Mar 2007 11:01:52 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.138] (helo=anti-virus01-09) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1HSABz-0003Bc-DS; Fri, 16 Mar 2007 11:01:51 +0000 Received: from [62.31.10.181] (helo=[192.168.0.2]) by asmtp-out3.blueyonder.co.uk with esmtp (Exim 4.52) id 1HSABy-0006ti-P3; Fri, 16 Mar 2007 11:01:50 +0000 Message-ID: <45FA791F.2070004@dial.pipex.com> Date: Fri, 16 Mar 2007 11:01:51 +0000 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: Bram Schoenmakers References: <200703151857.19679.bramschoenmakers@xs4all.nl> <200703151437.30390.lists@jnielsen.net> <200703151953.36380.bramschoenmakers@xs4all.nl> In-Reply-To: <200703151953.36380.bramschoenmakers@xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: 'nodump' on directories: new contents still dumped X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 11:01:53 -0000 Bram Schoenmakers wrote: >>On Thursday 15 March 2007 13:57, Bram Schoenmakers wrote: >> >> >>>I'm using dump(8) for backing up a FreeBSD 4.10 server. >>> >>> [...] >>>The problem is that new files appearing in the /usr/ports tree (daily >>>portsnap cron) do not have the 'nodump' flag set. But despite the >>>'nodump' flag on the /usr/ports directory, the new files in the tree are >>>still dumped. >>> >>>I understood that dump does not enter directories with 'nodump' flag set, >>>so it shouldn't see the new files inside, right? Or is this behavior >>>implemented in a newer version than FreeBSD 4.10? I have scanned the CVS >>>logs for dump, but couldn't find anything relevant. >>> >>> >-h 0 just works fine, that is not the problem. > >I may have forgotten one detail in case that was not clear. The level 0 backup >does not contain any folder marked with 'nodump' (so it's all OK, despite >the -h0 you mentioned). New contents (which have no flags set) in these >folders emerge in higher level dumps. > >The problem is that dump(8) enters directories with 'nodump' flags set while >it shouldn't. > > I'll second what Wojciech said: I've been using nodump flags for some time and never seen the symptoms you describe. I have just verified that 5.4 does not do this for me - even with /usr/ports which I too neglect to dump! However, you are running an ancient, obsolete version (4.10). Can you try explicitly putting a "-h 0" into your incremental command line and see if that makes a difference? If it still does what you describe, show us the exact command line you are using. --Alex