marrowyung
asked on
The DB2 backup history
Dear all,
Is there any script to find out the backup history of DB2 V8.1 from UI instead of AIX script
?
I want to chech how frequent it is. is it a full or differential backup,etc
.
Is there any script to find out the backup history of DB2 V8.1 from UI instead of AIX script
?
I want to chech how frequent it is. is it a full or differential backup,etc
.
ASKER
From MS SQL, what I can do is run the following
to return the backup history of the SQL backup file:
it contains:
1) database name
2) descript of the backup job.
3) backup start time
4) Backup end time.
5) backup file name.
Anything in DB2 do this ?
select top 14 name, description, database_creation_date, backup_start_date,
backup_finish_date, database_name,
physical_device_name from msdb..backupset bs
inner join msdb..backupmediafamily bf
on bs.media_set_id = bf.media_set_id
where database_name = '<database name>'
order by backup_finish_date desc
to return the backup history of the SQL backup file:
it contains:
1) database name
2) descript of the backup job.
3) backup start time
4) Backup end time.
5) backup file name.
Anything in DB2 do this ?
No. DB2 Backups are external processes and don't record to the database.
ASKER
holly........XXXX
is it only for the old version like what I am using ? V8.1? the latest one can do it ?
is it only for the old version like what I am using ? V8.1? the latest one can do it ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I don't know of any tools to tell you the backup history. That's something that is usually controlled on the front (run as needed or scheduled). The default name of the dump file has the date built into it, but that doesn't really help you much here.
Kent