• 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.

Reporting on SQL TDP Backups

c.j.hund

ADSM.ORG Senior Member
Joined
Jun 22, 2005
Messages
247
Reaction score
3
Points
0
Website
Visit site
Hi All,

This might be more of a reporting question than a TDP question. I've been doing API backups with SQL for a long time and have never been asked to do this before, but today I was asked how I might report on the success/failure of individual DBs within an SQL TDP backup. Of course, TSM contains SQL data in a single filespace within TSM, so you can't really tell which DBs are contained within that filespace. Further, I've never seen anything in any SERVER table or log which would show you exactly how much each individual SQL DB backs up and whether or not the backup was successful.

Has anyone ever had to implement a reporting solution like this before? You can get good information off the client, but in this case I'm being asked to report from the server side ONLY. I can't send the customer to the client to look at the SQL TDP logs. The reporting tool I'm using is only tied into my TSM servers, so if I can't pull it off a server, I'd have to come up with some other "outside the box" solution.

Sincere thanks for any thoughts or suggestions!
C.J.
 

ad283m

ADSM.ORG Member
Joined
Sep 22, 2010
Messages
156
Reaction score
1
Points
0
Actually the message 4991 tells you when the backup of a database finished succesfully.
And the 4993 tells when it didn't.

So a select on the actlog table with the specific message might do the trick.

Then you can extract the necesary text.

Give it a try and tell us how it goes.
 

tsmboys

ADSM.ORG Member
Joined
Jan 9, 2009
Messages
109
Reaction score
0
Points
0
Location
India
SELECT nodename, date_time,severity,message from actlog WHERE message LIKE'ANE4991%' and date_time>timestamp(current_date)-(1)days and nodename LIKE 'node name '


this will filter the actlog messages and give you the list of databases backed up using TSM.
 

mangalakrishnan

Newcomer
Joined
Nov 27, 2013
Messages
1
Reaction score
0
Points
0
Hi

Hi TSM Boys,

Thanks for the query. Is this table available in SQL server which is under backup?

-------

Please help me to resolve my requirement.

I have circulate the html report for backup on daily basis.

Some of our SQL servers has configured with TSM agents ( TDP and DSM agents) for database and flat file backup (folders). I have to create backup report from the logs available in the SQL servers.

The report should have information as below,
Server name:
Date& Time of backup:
Status : Success or Failure
Backed up data size:
 

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: 20 18.9%
  • Keep using TSM for Spectrum Protect.

    Votes: 64 60.4%
  • Let's be formal and just say Spectrum Protect

    Votes: 13 12.3%
  • Other (please comement)

    Votes: 9 8.5%

Forum statistics

Threads
31,837
Messages
135,770
Members
21,788
Latest member
london
Top