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 > Restoring a HADR Environment!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-21-11, 08:11
DB_N00b DB_N00b is offline
Registered User
 
Join Date: Jan 2010
Posts: 152
Restoring a HADR Environment!

Hello everybody,

I want to understand all critical cases of my HADR System. So now lets imagine:

My primary database gets corrupted and the standby Database as well. Now I want to restore the primary database and the Standby Database...

I imagine to run the following steps:

1) Stopping HADR on Primary and Standby
2) Deactivating Primary and standby DB
3) Restoring Primary Side and making a new Offline Backup
4) Transfering the offline Backup to the standby
5) Restoing the offline Backup of the primary into the Standby
6) Starting Hadr on Standby and Standby Database
7) Starting Hadr on Primary and Primary Database
8) Finish

Do you agree with my steps?
Reply With Quote
  #2 (permalink)  
Old 09-21-11, 08:29
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
hopefully is the backup file not corrupted
You can also use online backup of primary for restore on stdby
do not forget to update db cfg : because hadr settings are from the restore from primary db
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
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