Solved

How to exclude group of files in TSM backup ?

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to find files recursively in ftp server quickly? 7 118
how to monitor remote shell execution on linux 9 100
Virtualizing TAPE on dual VIOS 3 87
unix in java example 9 62
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 …
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

785 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