Results 1 to 4 of 4
-
02-09-2011, 11:41 AM #1Newcomer
- Join Date
- Feb 2010
- Posts
- 6
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Include only these dir and subdir
HI There,
I have checked the previous posts on this and not really found an answer.
I would like to only backup 3 directories on my server:
DOMAIN All-Local -SYSTEMSTATEWhen i launch the client and check the incl via q incl it all looks fine:
*exclude everything
exclude *
*Include only these directories and sub directories
INCLUDE "C:\appfilder\*"
INCLUDE "C:\appfolder\...\*"
INCLUDE "C:\InetPub\*"
INCLUDE "C:\appfolder\...\*"
INCLUDE "D:\Backup\*"
INCLUDE "D:\Backup\...\*"
[IMG]file:///C:/DOCUME%7E1/e431743/LOCALS%7E1/Temp/moz-screenshot.png[/IMG][IMG]file:///C:/DOCUME%7E1/e431743/LOCALS%7E1/Temp/moz-screenshot-1.png[/IMG]Include FS *\*\* dsm_7yr.optWhen i run an 'i' it backs up as above but also the entire empty directory structure.
Include All D:\Backup\...\* dsm_7yr.opt
Include All D:\Backup\* dsm_7yr.opt
Include All C:\appfolder\...\* dsm_7yr.opt
Include All C:\InetPub\* dsm_7yr.opt
Include All C:\appfolder\...\* dsm_7yr.opt
Include All C:\appfolder\* dsm_7yr.opt
Exclude All *\...\* dsm_7yr.opt
No DFS include/exclude statements defined.
How can i get it to only check and backup the folders specified?
thanks
John
-
02-09-2011, 12:08 PM #2
exclude is another name for exclude.file, which as you noticed... only affects files
You need to use another option, exclude.dir to affect directories.
Reference this post for a ton more info
http://adsm.org/forum/showthread.php...ndows-platform
Post #7 shows some examples of using exclude.dir in a range format
http://adsm.org/forum/showthread.php...ll=1#post95527
-
02-09-2011, 12:15 PM #3Member
- Join Date
- Jan 2007
- Posts
- 36
- Thanks
- 0
- Thanked 0 Times in 0 Posts
You will need to use Exclude.dir to exclude the directories not listed in your include statements.
-
02-09-2011, 12:30 PM #4Newcomer
- Join Date
- Feb 2010
- Posts
- 6
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Thanks guys,
am running this
exclude.dir C:[b-fh-hj-z]*
exclude.dir D:[a-ac-z]*
let you know how i go
Similar Threads
-
Include-exclude syntax Exclude.dir
By stratanic in forum Backup / Archive DiscussionReplies: 2Last Post: 07-23-2010, 09:03 AM -
exclude subdir in archive (subdir is hidden)
By rogwall in forum Backup / Archive DiscussionReplies: 3Last Post: 05-12-2006, 05:50 PM -
Where is option "include.dir"?
By rischard in forum Backup / Archive DiscussionReplies: 0Last Post: 01-31-2005, 10:54 AM -
INCLUDE.DIR -- Why Not?
By sfcc in forum Backup / Archive DiscussionReplies: 2Last Post: 01-16-2004, 03:15 PM -
INCLUDE.DIR -- Why Not?
By sfcc in forum TSM ServerReplies: 2Last Post: 12-31-2003, 08:13 AM


Reply With Quote
