Link to home
Start Free TrialLog in
Avatar of marrowyung
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
.
Avatar of Kent Olsen
Kent Olsen
Flag of United States of America image

Hi marrowyung,

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
Avatar of marrowyung
marrowyung

ASKER

From MS SQL, what I can do is run the following

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
 

Open in new window


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.
holly........XXXX

is it only for the old version like what I am using ? V8.1? the latest one can do it ?
ASKER CERTIFIED SOLUTION
Avatar of AngocA
AngocA
Flag of Colombia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial