Solved

Selecting/listing failed backups from TSM backup server

Posted on 2013-06-05
1
1,223 Views
Last Modified: 2013-06-06
I want to get all backups that have failed from a TSM server:

SELECT scheduled_start, (current_timestamp-24 hours) as 24h, (current_timestamp-24 hours) - scheduled_start, scheduled_start > (current_timestamp-24 hours) FROM events

This select statement only selects failed backups until midnight the same day.

* current_timestamp-24 hours shows a date and time that is 24 hours ago.
* HOUR(current_timestamp-24 hours) shows the amount of hours from current time until midnight, not 24 hours.

I want a select statement that does much the same as this:
q event * * begint=18:00 begind=today-1 endt=now endd=today ex=yes
0
Comment
Question by:itnifl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
Kiran Ch earned 500 total points
ID: 39221420
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Optimizing SAN 16 57
How do I partition this table on date? 5 55
mysql workbecn having problems to export tables to cvs 4 28
SQL Query returning inflated numbers 1 15
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

710 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