On 07/23/06 14:16, Justin Piszcz wrote:
I used the chattr +d option for no_dump for a certain directory, but it
still appears xfsdump dumped the directory anyway?
Is there some special usage/way to make xfsdump NOT dump a certain
Perhaps you have an older xfsdump. This was recently added to the
xfsdump man page:
ticular size. Additionally, when xfsdump is run with the -e option,
files that are tagged with the "no dump" file attribute will not be
included in the dump. The chattr(1) command can be used to set this
attribute on individual files or entire subtrees.
To tag an individual file for exclusion from the dump:
$ chattr +d file
To tag all files in a subtree for exclusion from the dump:
$ chattr -R +d directory
Note that any new files or directories created in a directory which has
the "no dump" attribute set will automatically inherit this attribute.
Also note that xfsdump does not check directories for the "no dump"