473,382 Members | 1,611 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Db2 backup List

Dear All

Can I know how can I get the last backup status for a db2 database from
the system tables..? Any SQl statement to get that details??

Regards
Santhosh

Jul 18 '06 #1
7 2732
list history command
or
if you are on V8 FP 9 and above, admin_list_hist table function

Sathyaram

Santhosh wrote:
Dear All

Can I know how can I get the last backup status for a db2 database from
the system tables..? Any SQl statement to get that details??

Regards
Santhosh
Jul 18 '06 #2
there is a table is syscat schema
look into table names u will find it

Kumar
Jul 18 '06 #3
Dear Sir

what about in FP 6? I have a installation with FP6..

Regards
Santhosh

Sathyaram Sannasi wrote:
list history command
or
if you are on V8 FP 9 and above, admin_list_hist table function

Sathyaram

Santhosh wrote:
Dear All

Can I know how can I get the last backup status for a db2 database from
the system tables..? Any SQl statement to get that details??

Regards
Santhosh
Jul 18 '06 #4
Dear All

Any help from anyone? I tried , could't able to findout SQL statements
to get the back details from FP <9

Pl help me

Regards
Santhosh
=========================
Santhosh wrote:
Dear Sir

what about in FP 6? I have a installation with FP6..

Regards
Santhosh

Sathyaram Sannasi wrote:
list history command
or
if you are on V8 FP 9 and above, admin_list_hist table function

Sathyaram

Santhosh wrote:
Dear All
>
Can I know how can I get the last backup status for a db2 database from
the system tables..? Any SQl statement to get that details??
>
Regards
Santhosh
Jul 20 '06 #5
In article <11**********************@b28g2000cwb.googlegroups .com>,
ko******@yahoo.com says...
Dear All

Any help from anyone? I tried , could't able to findout SQL statements
to get the back details from FP <9
You can't. You need to open a DB2 Command Window and issue the 'db2 list
history' command or write a C program calling the needed API
(db2HistoryOpenScan etc.).
There's a sample in the SQLLIB\samples\C\dbhistfile.sqc
Jul 20 '06 #6
Dear Gert sir

Thanks for the reply.. But could't able to see the dbhistfile..

My plan is to write a java program that runs from my desktop, connect
to all our Db2 instances and then collect the backup information from
all instances. Then email to our mail box. If I have the SQL stmt, I
can do it in java.. That is why i ask this qn

Regards
Santhosh

Gert van der Kooij wrote:
In article <11**********************@b28g2000cwb.googlegroups .com>,
ko******@yahoo.com says...
Dear All

Any help from anyone? I tried , could't able to findout SQL statements
to get the back details from FP <9

You can't. You need to open a DB2 Command Window and issue the 'db2 list
history' command or write a C program calling the needed API
(db2HistoryOpenScan etc.).
There's a sample in the SQLLIB\samples\C\dbhistfile.sqc
Jul 20 '06 #7
In article <11*********************@m73g2000cwd.googlegroups. com>,
ko******@yahoo.com says...
Dear Gert sir

Thanks for the reply.. But could't able to see the dbhistfile..

My plan is to write a java program that runs from my desktop, connect
to all our Db2 instances and then collect the backup information from
all instances. Then email to our mail box. If I have the SQL stmt, I
can do it in java.. That is why i ask this qn
What do you mean by "could't able to see the dbhistfile" ?
If you tried the 'list history' command please show the used commands
and returned error messages.
Jul 20 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Derek Basch | last post by:
Hello, Can anyone point me towards an article or explain how to properly alter a list as well as iterate on its items? For example: input: word =
3
by: ChrisWinterscheid | last post by:
We are running DB2 8.1 on AIX 5.2. DB2level shows: DB21085I Instance "db2inst1" uses "32" bits and DB2 code release "SQL08016" with level identifier "02070106". Informational tokens are "DB2...
5
by: Muskito | last post by:
Hi, Is it possible to copy the entire List(Of type) object to another List(Of type) object (they are both of the same type ofcourse) - without keeping the reference? There's the CopyTo...
6
by: Gladiator | last post by:
Hai every one... I was trying List history backup cmd.......... the output i got is List History File for first Number of matching file entries = 12
1
by: bwmiller16 | last post by:
Folks - DB21085I Instance "db2inst1" uses "32" bits and DB2 code release "SQL08022" with level identifier "03030106". Informational tokens are "DB2 v8.1.2.88", "s050422", "MI00117", and...
5
by: Konstantin Andreev | last post by:
Hello, all. I can't figure out <subjectfrom documentation. I had configured LOGARCHMETH1 = DISK:/bak/logs so all full log files are copied *out* of the active log path. Let I issue | #...
3
by: Robertf987 | last post by:
Well, I think I've described what I want to do in the title here. In the database, I have two main tables that contain the main data for the database. One for group expenditures, another for...
7
by: yellr | last post by:
Hi, i've spent all resources, except this one. Hopefully anyone there out could help me with a idea for this problem. We have a db2 8.2 Enterprise Edition, on AIX 5.3 Platform, this is our...
0
by: normajeansebastian | last post by:
Hello, db2v9.1 fix pack 1 on sun solaris 2.10 every night we do an online backup on this system. (db2 & netbackup) last night netbackup had a problem and the process died on the netbackup...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.