TSMJay
ADSM.ORG Member
Hi all,
I am currently trying to justify to my company why I need more LTO drives to make operations a bit smoother.
I found the following SQL query command to give me the total GB backed up in the last 24 hours.
select sum(cast(bytes/1024/1024/1024 as decimal(6,2))) TGBU from summary where start_time>=current_timestamp - 24 hours and activity='BACKUP'
I am not very good with SQL so be nice.
Question is how can I pipe this to a text file or CSV file so I can plot it on a graph?
I am currently trying to justify to my company why I need more LTO drives to make operations a bit smoother.
I found the following SQL query command to give me the total GB backed up in the last 24 hours.
select sum(cast(bytes/1024/1024/1024 as decimal(6,2))) TGBU from summary where start_time>=current_timestamp - 24 hours and activity='BACKUP'
I am not very good with SQL so be nice.
Question is how can I pipe this to a text file or CSV file so I can plot it on a graph?