Re: Include/exclude in linux
>but the include didn't work
>I don't know why?
You sure are resisting that Unix Backup-Archive Clients manual... ;-)
About this, it says:
"Use exclude.fs and exclude.dir statements to exclude file spaces and all files
and sub-directories in the specified directory from processing. Tivoli Storage
Manager evaluates all exclude.fs and exclude.dir statements first (regardless
of their position within the include-exclude list), and removes the excluded
file spaces, directories, and files from the list of objects available for
processing. The exclude.fs and exclude.dir statements override all include
statements that match the pattern."
"[TSM then] evaluates the remaining include-exclude list from the bottom up and
stops when it finds an include or exclude statement that matches the file it
As I mentioned in my prior posting, the exclude.fs and exclude.dir specs tell
TSM to entirely stay out of those areas.
Your spec is trying to have it both ways, excluding everything and yet
including something. That can't work.
Since you do want to enter that directory, you would want to have like:
where the exclude, which is seen after the include, omits everything other than
what the preceding include(s) specified to be backed up.
Don't feel bad: Include-exclude processing makes everyone's brain hurt;
and it keeps getting more complex with each new TSM version.
Avail yourself of the 'dsmc query inclexcl' command to help out.