EXCLUDE.DIR stataments are prrocessed first and nothing else for a match. You 
need to change them to:

EXCLUDE "*:\...\Profiles\...\*"
INCLUDE "*:\...\Profiles\My Documents"
INCLUDE "*:\...\Profiles\Desktop"

This will mostly do what you want. Only the files/directories in My Documents 
and Destop will be backed up, but the directories in
everyting else under Profiles will be backed up, too. Just not the files.

Bill Boyer
DSS, Inc.

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Hizny, 
Michael
Sent: Monday, January 15, 2007 1:46 PM
To: ADSM-L@VM.MARIST.EDU
Subject: include / exclude question

In setting up a backup, I am having problems with a specific include/exclude 
option.  I want to do the following:

On our users H: drives they have a subdirectory called profiles.  I want to 
keep 3 folders under this and exclude the rest. i.e.

H:\user\profiles\cookies                        don't want to back up
H:\user\profiles\My documents\          want to back this up
H:\user\profiles\application data\              don't want to back up

My opt files has the following:

EXCLUDE.DIR "*:\...\Profiles"
INCLUDE "*:\...\Profiles\My Documents"
INCLUDE "*:\...\Profiles\Desktop"

Yet, when I run this, it excludes the entire profiles directory, even though 
the include is at the bottom.

Any ideas what I am doing wrong?

Thanks,
Mike

Reply via email to