Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Nov 19 15:37:46 UTC 2009

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

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.



Dr Matthew J Seaman MA, D.Phil.                       Flat 3
                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW, UK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091119/6fa25cb1/signature.pgp

More information about the freebsd-questions mailing list