Results 1 to 4 of 4
-
07-03-2012, 08:03 PM #1Member
- Join Date
- Apr 2004
- Location
- Vienna
- Posts
- 17
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Script doesn't work since TSM V6.2 is used
/* -----------------------------------------------------------------*/
/* Script Name: back_single */
/* Parameter: script <hours> <Nodename> */
/* Description: Displays nodes and their amount of files and MBs. */
/* -----------------------------------------------------------------*/
select Entity,Successful,Bytes/1024/1024 as "MBs",date(start_time)as "START Date",time(START_TIME) as "Time",Date(END_TIME) as "END DATE",time(end_time) as "Time",Examined,Affected,Failed from summary -
where activity in ('BACKUP','ARCHIVE') and cast((current_timestamp-start_time)hours as decimal(8,0)) < $1 and entity='$2' order by Entity
This showed me the backups of node ($2) in the last ($1) hours.
No it shows me ALL backups instead of the last $1 hours.
Any idea
Thx, Hannes
-
07-06-2012, 05:08 AM #2Member
- Join Date
- Oct 2003
- Posts
- 16
- Thanks
- 1
- Thanked 1 Time in 1 Post
Hi schuhb,
try this :
select Entity,Successful,Bytes/1024/1024 as "MBs",date(start_time)as "START Date",time(START_TIME) as "Time",Date(END_TIME) as "END DATE",time(end_time) as "Time",Examined,Affected,Failed from summary where activity in ('BACKUP','ARCHIVE') and cast(hour(current_timestamp-start_time) as decimal(8,0)) < $1 and entity='$2' order by Entity
regards
Ugur
-
09-11-2012, 01:27 PM #3Member
- Join Date
- Apr 2004
- Location
- Vienna
- Posts
- 17
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Sorry, for the long delay....same outcome
-
10-21-2012, 07:25 PM #4Member
- Join Date
- Jun 2012
- Posts
- 23
- Thanks
- 3
- Thanked 1 Time in 1 Post
select -
entity, -
date(start_time) -
from -
summary -
where -
activity in ('BACKUP','ARCHIVE') -
and entity='$2' -
and start_time>current_timestamp-$1 hours
Similar Threads
-
TSM for VE - vCenter Plugin doesn't work
By schnupfy in forum VMWare / Virtual MachineReplies: 22Last Post: 05-16-2012, 04:45 AM -
TSM EE 6.2.1 on Windows Server 2008 Standard x64 - Events monitor doesn't work
By vmaxim in forum TSM ServerReplies: 2Last Post: 01-27-2011, 10:12 PM -
ANS4987E Serialization doesn't work?
By CarlosJ in forum Backup / Archive DiscussionReplies: 3Last Post: 03-16-2009, 02:49 PM -
TSM Server1 service doesn't work.
By Locum in forum TSM ServerReplies: 1Last Post: 03-07-2006, 08:35 PM -
LAN Free doesn't work !
By hokwan in forum Tape / Media LibraryReplies: 1Last Post: 01-30-2003, 10:12 AM


Reply With Quote