Solved

How to exclude group of files in TSM backup ?

Posted on 2009-04-08
3
2,253 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
Comment Utility
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 61

Expert Comment

by:gheist
Comment Utility
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 61

Expert Comment

by:gheist
Comment Utility
or alternatively:
exclude.dir /data/base/files

or in Windows - use GUI
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now