asked on
select cast(START_TIME as DATE) DATE, -
cast(START_TIME as TIME) STTIME, -
(END_TIME-START_TIME) minutes as "Minutes", -
cast(ENTITY as char(21)) "Node ",-
cast(AFFECTED as dec(7)) Files, -
cast((BYTES/1024/1024) as dec(9,2)) MB -
from summary -
where ACTIVITY='BACKUP' -
and cast(start_time as date)='2010-11-01' -
order by 4, 1, 2
ASKER
select -
cast(ENTITY as char(21)) "Node ", -
min(cast(START_TIME as DATE)) "DATE-LO", -
max(cast(START_TIME as DATE)) "DATE-HI", -
cast(count(*) as dec(4)) "# Runs", -
avg((END_TIME-START_TIME)minutes) "AVG Minutes", -
cast(avg(AFFECTED) as dec(9,2)) "AVG Files", -
cast(avg(BYTES)/1024/1024 as dec(10,2)) "AVG MB" -
from summary -
where ACTIVITY='BACKUP' -
and cast(start_time as date)>=cast(current timestamp as date)-10 days -
group by Entity -
order by 1, 2, 3
ASKER
ASKER
ASKER
ASKER
ASKER
The term "Backup" means the methods and processes involved to copy computer data (system data as well as application data) to media other than the ones where the data originally live (disk, tape, optical, cloud). "Restore" in turn means the methods and processes involved in data recovery, i. e., bringing back copied computer data to their original location. Backup/Restore primarily serves as a means of protection against data loss, be it due to disaster, corruption or sabotage. It can also be used for recovering data from an earlier point in time and even for cloning machines or applications. There is a wide variety of backup/restore software available, from expensive commercial products to free or open source tools.
TRUSTED BY
ASKER
thanks
virgo