inclexcl help!!!

RaiteiX

ADSM.ORG Member
Joined
Jul 11, 2007
Messages
14
Reaction score
0
Points
0
Hey there,

So i'm experiencing some problems with my inclexcl list. I have this set on the client:

tsm> q inclexcl
*** FILE INCLUDE/EXCLUDE ***
Mode Function Pattern (match from top down) Source File
---- --------- ------------------------------ -----------------
No exclude filespace statements defined.
No exclude directory statements defined.
Include All /data/splunk/ /opt/tivoli/tsm/client/ba/bin/inclexcl.lst
Include All /opt/splunk/var/lib/ /opt/tivoli/tsm/client/ba/bin/inclexcl.lst
Include All /opt/splunk/etc/ /opt/tivoli/tsm/client/ba/bin/inclexcl.lst
Exclude All /.../* /opt/tivoli/tsm/client/ba/bin/inclexcl.lst
No DFS include/exclude statements defined.


As far as I know and can see, there are no option sets on the server side. However when it does a incremental backup, it does a full file system backup. It doesn't just include the directories i've listed and exclude everything else.

Can anyone shed some light on this issue?

Thanks!
 
In opt file incude-excude statment proccesed from bottom to top.
Output from q incexcl show in normal order, so in your incl/excl statment is right, but you exclude only files. All directories will be copied.
In dsmsched.log you can see:
08/20/2008 09:19:03 Directory--> XXXXX
08/20/2008 09:19:03 Normal File--> XXXXX

Efim
 
so what is the right way to exclude the directory?

Exclude.dir /.../*

?

Thanks!
 
also if I want to include this directory and on the commandline I would run:

dsmc i /opt/splunk/etc/ -subdir=y

is this what I put in my inclexcl file:

include /opt/splunk/etc/*

Thanks!
 
so there is no easy way just to include the /data directory on my filesystem? like it seems I need to exclude all mount points directories first (eg. /home, /boot, /usr) that I have created on my system, before I can just include the /data and if I miss some of those mount points, it backs up useless info.
 
no you don't need to exclude the other filesystems... just backup your /data with dsmc i /data/* -subdir=yes or schedule it with that options and objects...
 
yes I am using a scheduler.

should I remove the incluexcl files on the client? And I set those options on the server right?

Thanks!
 
i set those options on the servers scheduling properties right? the directory and options are defined with the schedule?
 
Here is how it looks right now (the schedule 1 minute before it ran):

tsm> q sched
Schedule Name: VM_DATA_BACKUP
Description: backup of data directory
Schedule Style: Classic
Action: Incremental
Options: -subdir=y
Objects: /data/*
Priority: 5
Next Execution: 1 Minute
Duration: 1 Hour
Period: One Time
Day of Week: Any
Month:
Day of Month:
Week of Month:
Expire: Never


however when I q fi on the client node after the schedule, there is nothing backed up for it? any parameters set wrong? or anything else I need to set elsewhere?
 
seems to have fixed itself.....the log helped a lot though....i forgot about that one....thanks for pointing it out and for all the help!!!
 
Back
Top