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
[-- Attachment #1 --]
Bernt Hansson wrote:
> Hello list.
>
> I've been testing backups with dump, works well BUT
> -L does not work. For example
>
> 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 in
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 the
cachesize to improve performance a lot. Add '-C 32' to your command-line.
> 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
--
Dr Matthew J Seaman MA, D.Phil. Flat 3
7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW, UK
[-- Attachment #2 --]
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B056636.6050309>
