From owner-freebsd-questions@FreeBSD.ORG Thu Nov 19 15:37:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 011D71065670 for ; Thu, 19 Nov 2009 15:37:46 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7E7E58FC20 for ; Thu, 19 Nov 2009 15:37:45 +0000 (UTC) Received: from significant-gravitas-shortfall.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nAJFbVc9084611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Nov 2009 15:37:37 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nAJFbVc9084611 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1258645057; bh=6Eif//IURX94lOcXo4xeevrS+OKoUF2S7raPditDJVE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B056636.6050309@infracaninophile.co.uk>|Date:=20T hu,=2019=20Nov=202009=2015:37:26=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090824)|MIME-Vers ion:=201.0|To:=20Bernt=20Hansson=20|CC:=20fr eebsd-questions@freebsd.org|Subject:=20Re:=20Dump|References:=20<4 B0562A4.5050405@bah.homeip.net>|In-Reply-To:=20<4B0562A4.5050405@b ah.homeip.net>|X-Enigmail-Version:=200.95.7|OpenPGP:=20id=3D60AE90 8C|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0 A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D" ------------enigF910B2EC6B5A2525E9628E91"; b=JgJpQ2lvHTLi2SIFmy4i4i50eiTMlKz79Dm3NylPzGtgzckIj2oB7VmkC6dWvHPur Y5YD5hYG2Dy1tWYvks4lTMDA2KLBv8t9DjEMzxLpM3ZxNdSKBs4cATLiarH1MH3a72 i0DNEHmhxhx08ionLMUQJ9or4ktD+ksOU36YTp6s= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host gateway.ash.thebunker.net [213.129.64.4] claimed to be significant-gravitas-shortfall.thebunker.net Message-ID: <4B056636.6050309@infracaninophile.co.uk> Date: Thu, 19 Nov 2009 15:37:26 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: Bernt Hansson References: <4B0562A4.5050405@bah.homeip.net> In-Reply-To: <4B0562A4.5050405@bah.homeip.net> X-Enigmail-Version: 0.95.7 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF910B2EC6B5A2525E9628E91" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Dump 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: Thu, 19 Nov 2009 15:37:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF910B2EC6B5A2525E9628E91 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Bernt Hansson wrote: > Hello list. >=20 > I've been testing backups with dump, works well BUT > -L does not work. For example >=20 > dump -0 -a -u -L -f /mnt/dump.home.full /dev/ad0s2d I believe that you need to tell dump the mount point of the file system i= n order for it to create a snapshot, rather than the device file for the partition. (ie. snapshotting only makes sense on a mounted read-write filesystem). Also, if you're dumping a snapshotted FS to a local file, then bump up th= e cachesize to improve performance a lot. Add '-C 32' to your command-line= =2E > How does one set the nodump flag on a filesystem/directory chflags(1). Note that nodump is not honoured by default for a level 0 dump. Add '-h 0' to the dump command line to make that happen. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK --------------enigF910B2EC6B5A2525E9628E91 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksFZjsACgkQ3jDkPpsZ+VYq7wCaAo5+bUgMhjPrSSIUu8oWCiUA yyAAnR96RNP2a1aZ92+MytBcoccHdRit =dkYL -----END PGP SIGNATURE----- --------------enigF910B2EC6B5A2525E9628E91--