exclude.dir & include combination does not work

mathiasbx

ADSM.ORG Member
Joined
Aug 13, 2009
Messages
29
Reaction score
0
Points
0
Location
Germany / Bremen
Hi @ll

i´m a little bit confused with the include / exclude statement.

i will backup a fileshare and i need a exlude.dir and a include. But the combination does not work correct.

I have the following entrys in my optionfile:

exclude.dir \\bird01\C$\...\*
include \\bird01\C$\UserShare\...\*

When i look at the gui under backup, there are all Folders excluded and if i perform a backup per command line, the backup runs complete with 0 files / folders.

I have always understood that incl / excl be read from bottom to top?

Can someone help me?

OS: Windows 2008
BA-Client 6.4

Mathias
 
Domain -C: <= This is like a global exclude.

Give this a try.

Exclude C:\...\*
Include C:\UserShare\...\*
DOMAIN C:

To test this out.
Open the TSM Client GUI, select backup and expand local.
Everything on the C should have a red circle with a line through it.
Files that are under C:\UserShare\, should be able to backup.

Good Luck,
Sias
 
Hallo TiborB,

The bottom-top rule does not apply for exclude.dir statements.

They are always executed BEFORE the exclude statements (same as exclude.backup or exclude.file) and they exclude ALL specified directories and its files AND all subdirs and their files!!

On the BA Client CLI you can use the q inclexcl command to check how the BA client "really" interprets the include/exclude statements.
Read the output from "Top to Down"

rgds Michael Malitz
 
Please use "q inclexcl -detail" to double check what has been included / excluded, as it's always a general mistake that other include/exclude statement using wildcards being omitted, especially admin used "include *:\*.* <mgmt-class>" may turn out into chaos.

Also, when you use "preview backup ?:\??? file -console", you could see the file is being affected by while statement inside the include/exclude list.
 
Back
Top