From owner-freebsd-questions Mon Jul 15 15:18: 7 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 3FA6037B400 for ; Mon, 15 Jul 2002 15:18:04 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 627E543E31 for ; Mon, 15 Jul 2002 15:18:03 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g6FMI2bo032976; Mon, 15 Jul 2002 23:18:02 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g6FMHvhw032975; Mon, 15 Jul 2002 23:17:57 +0100 (BST) Date: Mon, 15 Jul 2002 23:17:57 +0100 From: Matthew Seaman To: Boyd James H Cc: "'freebsd-questions@FreeBSD.org'" Subject: Re: Dump appears to ignore the nodump flag Message-ID: <20020715221757.GB32811@happy-idiot-talk.infracaninophi> References: <20020715211829.8373.qmail@mellon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020715211829.8373.qmail@mellon.com> User-Agent: Mutt/1.5.1i 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 On Mon, Jul 15, 2002 at 05:17:52PM -0400, Boyd James H wrote: > We are running BSD version 4.4 and it appears that the dump utility ignores > the nodump flag and backs up the hierarchy below the directory flagged as > nodump. > > In the example below, the structure below env1 is included in the dump. Are > we doing something incorrect? > dump -0uan -f - /usr |gzip |rsh oos0a dd of=/raid1/backup/kws5a/full/usr_0 Yes. you need to use the `-h 0' flag to tell dump to honour the nodump flag when you're doing a level zero dump. The default is to honour nodump only for level 1 or higher. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message