If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2 history file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-17-08, 08:12
prasadv18 prasadv18 is offline
Registered User
 
Join Date: Nov 2007
Posts: 26
db2 history file

Hi all

Where the db2 History file located in AIX
how can we recover that history file if it is corrupted.

I have idea we can recover that history file from backup image
is there any way from AIX team


Thanks and Regards

V.V.Prasad
Reply With Quote
  #2 (permalink)  
Old 12-17-08, 09:11
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
I found it in Information Center:

The history file is individually restorable from any backup image. If the current database is unusable or not available, and the associated recovery history file is damaged or deleted, an option on the RESTORE command allows only the recovery history file to be restored. The recovery history file can then be reviewed to provide information on which backup to use to restore the database. For example, you can restore the history file for the sample database with this command:

db2 restore database sample history file

Hope it will help
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #3 (permalink)  
Old 12-18-08, 05:41
prasadv18 prasadv18 is offline
Registered User
 
Join Date: Nov 2007
Posts: 26
thanks Markham

tell me the path of the history file
Reply With Quote
  #4 (permalink)  
Old 12-18-08, 07:55
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Reply With Quote
  #5 (permalink)  
Old 07-28-10, 23:54
yogesh_nemade005 yogesh_nemade005 is offline
Registered User
 
Join Date: Jul 2010
Posts: 1
Path to history file

I found one of history file at DB2\NODE0000\SQL00001...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On