Solved

How to exclude group of files in TSM backup ?

Posted on 2009-04-08
3
2,287 Views
Last Modified: 2013-11-17
We have AIX 5.3 server. data base backup configured with TSM backup .  We want to exclude *.dbf, *.rdo, *.ctl from TSM backup ?  what entry we need to put in  inclexcl.txt ?
We have AIX 5.3 server. data base backup configured with TSM backup .  We want to exclude *.dbf, *.rdo, *.ctl from TSM backup ?  what entry we need to put in  inclexcl.txt ?

Open in new window

0
Comment
Question by:rammaghenthar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 24115313
Now for this one,

- again, first suggestion, with the newer TSM releases you don't need the 'inclexcl' statement in dsm.sys anymore, which used to point to an external file. Simply add the include/exclude statements under the appropriate 'server' stanza to the dsm.sys!

Some considerations for excluding:
- did I get you right that it's only for files?
- is it correct that ALL files with those extensions shall be excluded, regardless of their path?

In this case, simply use:

exclude.file /.../*.dbfexclude.file /.../*.rdoexclude.file /.../*.ctl

For files AND directories use exclude alone, for just directories use exclude.dir.

Note the three dots (...) in the path element. This is NOT Unix style, it's TSM proprietary notation to indicate  "any path"!


Should you like to add more exclude or include statements, please keep in mind that those directives are processed from bottom to top, and that processing stops at the first match!

So, if you use e.g.

include.file /my/special/path/important.ctlexclude.file /.../*.ctl

important.ctl will NOT be backed up, whereas

exclude.file /.../*.ctlinclude.file /my/special/path/important.ctl

will do the trick and important.ctl WILL be backed up!

Cheers

wmp


0
 
LVL 62

Expert Comment

by:gheist
ID: 24122438
inclexcl.txt is product of windows GUI.
dsm.opt on windows and dsm.sys on others is used as config file.
if this is windows or netware:
exclude \...\*.dbf
....
...
if Linux or UNIX:

exclude /.../*.dbf
0
 
LVL 62

Expert Comment

by:gheist
ID: 24122445
or alternatively:
exclude.dir /data/base/files

or in Windows - use GUI
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question