• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

TSM Schedule backup DB2

forbidth

ADSM.ORG Member
#1
hi,

i have problem when backup DB2 (with schedule)

TSM server : V 6.3 on AIX
TSM Client : V 6.3.0.10 on Windows 2008

when i setup everything is OK, i have test backup DB2 to TSM with script (manual execute) is completed,
(db2cmd.exe db2 backup db [my DB] online use TSM include logs)

but when i create schedule backup on TSM server

(define sched [domain] [schedule name] action=command object=my script)

its don't backup anything to TSM server, but its not failed (status on TSM server completed)

please help me.
 

smajl

ADSM.ORG Senior Member
#4
Which return code is returned?
Was the backup even attempted?
Were there any entries in db2diag.log from that time?
Are DSMI_* variables correctly set up?
Does user runing scheduler have sufficient permission to launch a DB backup?
 
#5
tdp for SAP with db2 having same problem.

We have TDP for SAP with DB2. We are able to run script for online and offline backup and it is working fine. but when we schedule it with tsm server , schedule starts but does not takes backup.




Which return code is returned?
Was the backup even attempted?
Were there any entries in db2diag.log from that time?
Are DSMI_* variables correctly set up?
Does user runing scheduler have sufficient permission to launch a DB backup?
 
#6
reply

Hi, sorry for the late answer, I found it now accidentally.

When you define a schedule you should create an association between the domain - schedulation - server name.

I am working on Unix TSM, but probably the same syntactic:

To query existing association:
query assoc <domain name> <schedulation name>

To define new association:
define assoc <domain name> <schedulation name> <registered name of the client server within TSM>

like: define assoc UNIX_DOMAIN IDSPISPOPD_OFFLINE UNIX06Hopefully it helps.






hi,

i have problem when backup DB2 (with schedule)

TSM server : V 6.3 on AIX
TSM Client : V 6.3.0.10 on Windows 2008

when i setup everything is OK, i have test backup DB2 to TSM with script (manual execute) is completed,
(db2cmd.exe db2 backup db [my DB] online use TSM include logs)

but when i create schedule backup on TSM server

(define sched [domain] [schedule name] action=command object=my script)

its don't backup anything to TSM server, but its not failed (status on TSM server completed)

please help me.
 

DazRaz

ADSM.ORG Senior Member
#7
forbidth,

I've just finished working through the same problem at our site. Our backup script would run fine manually but it we ran it through the TSM scheduler, it would fail. It would work if we ran the scheduler in the foreground.

We were running the scheduler with this.

Code:
nohup dsmc schedule >/dev/null 2>&1 &
Changed to this and it all worked

Code:
[COLOR=black][FONT=Times New Roman][/FONT][/COLOR]nohup dsmc schedule >/dev/null 2>&1 </dev/null &

I suspect this is also your issue.

Cheers
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 17 19.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 53 60.9%
  • Let's be formal and just say Spectrum Protect

    Votes: 10 11.5%
  • Other (please comement)

    Votes: 7 8.0%

Forum statistics

Threads
31,472
Messages
134,143
Members
21,569
Latest member
srinathkodela
Top