Solved

How to exclude group of files in TSM backup ?

Posted on 2009-04-08
3
2,276 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
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

829 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