TSM for SQL 5.5.2.0 Exclude offline Database

Status
Not open for further replies.

interface

ADSM.ORG Member
Joined
Mar 23, 2011
Messages
15
Reaction score
0
Points
0
Hi guys,

I'm having a problem with backing up my SQL databases. I turned 1 database offline and now it keeps giving errors ( return code 402 ). It's a Windows 2000 machine ( I know it's old ) with the 5.5.2.0 Client installed on it.

Does anyone know how to exclude a offline database through the OPT-file ?

Thanks in advance.
 
Hi,

I think, you use the command like this: tdpsqlc backup * full ....

In the syntax of the tdpsqlc command there is e new parameter: /excludedb. Using this paramater you can exclude the offile database from the backup.

Zoli
 
Hi Zoli,

I found that command, but in that case I need to set every database in the tdpsqlc command. I prefer to set it in the OPT file like : tdpsqlc backup * full /tsmoptfile=%sql_dir%\dsm.opt
 
In the .opt file you can use the exclude/include statements. For exapmle, exlude \...\database_name\...\*

Zoli
 
Forgot to mention....

I tried this :

EXCLUDE \...\CREFO\...\*

and this :

EXCLUDE \...\meta\...\CREFO\...\*

Both no success.
 
Thnx for the reply Trident.

Now I get another failure : "ANR2579E - Return Code 1204" so that is not working....
 
I think your are stuck between a rock and a mountain. excludedb came on a later release.

If your number of db's are low, then

tdpsqlc backup db1,db2...dbX full

is probably the only choice, unless you can upgrade your client.
 
It's our old SQL server and there are just a few databases on it, so I used your suggestion and that worked. Thanks !
 
Status
Not open for further replies.
Back
Top