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
marrowyungSenior Technical architecture (Data)Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kent OlsenDBACommented:
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.

marrowyungSenior Technical architecture (Data)Author Commented:
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 ?
Kent OlsenDBACommented:
No.  DB2 Backups are external processes and don't record to the database.
marrowyungSenior Technical architecture (Data)Author Commented:

is it only for the old version like what I am using ? V8.1? the latest one can do it ?
Yes, in new version you can access the database history via SQL. Your version is too old, and it does not allow these operations.

Yo can however, access the history via the journal tool from the control center. This will list the backups and you can apply filters via the UI.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.