With BSD dump on 4.4BSD-derived systems, one can set the nodump flag
(see chflags(1)).  Then, one can compile amanda with
--with-dump-honor-nodump, and the nodump flag will be honored even for
level 0 - normally it is honored only for 1 and up (see dump(8)).
(FreeBSD man pages can be read at http://www.freebsd.org/)

For example:

$ ls -lo sendbackup.debug sendsize.debug 
-rw-------  1 amanda  operator  -  717 Jan  2 01:46 sendbackup.debug
-rw-------  1 amanda  operator  - 6544 Jan  2 01:13 sendsize.debug
$ chflags nodump sendsize.debug 
$ ls -lo sendbackup.debug sendsize.debug 
-rw-------  1 amanda  operator  -       717 Jan  2 01:46 sendbackup.debug
-rw-------  1 amanda  operator  nodump 6544 Jan  2 01:13 sendsize.debug

I use this feature regularly on FreeBSD and NetBSD to avoid backing up
build trees, stuff I've checked out from anoncvs, etc.

        Greg Troxel <[EMAIL PROTECTED]>

Reply via email to