Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2009 15:37:26 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Bernt Hansson <bernt@bah.homeip.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dump
Message-ID:  <4B056636.6050309@infracaninophile.co.uk>
In-Reply-To: <4B0562A4.5050405@bah.homeip.net>
References:  <4B0562A4.5050405@bah.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B056636.6050309>