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 > HADR failover - backups

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-13-09, 13:42
bulump bulump is offline
Registered User
 
Join Date: Oct 2009
Location: Calgary, AB Canada
Posts: 37
HADR failover - backups

I'm writing a script that will check to see if the server is in PRIMARY state. If it is, then perform the nightly backup beased upon what day it is (full vs incremental delta). This script will be running on both the PRIMARY/STANDBY servers at the same time. If the database is in STANDBY, it will do nothing.


If the PRIMARY server fails over at any point BEFORE the backup takes place, and the BACKUP database performs the backup, will there be a disruption of data if/when I need to restore? They, theoretically, should contain the same data/logfiles thus the incremental backup made on the standby server 'should' match up with the other incremental backups on the PRIMARY server.

Is this correct?
Reply With Quote
  #2 (permalink)  
Old 10-13-09, 13:50
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
I doubt that you can mix and match incremental backups from the primary and standby servers, but I could be wrong.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 10-13-09, 13:59
bulump bulump is offline
Registered User
 
Join Date: Oct 2009
Location: Calgary, AB Canada
Posts: 37
Ok that's what I was trying to figure out. I think I'll incorporate the uptime at which the PRIMARY server has and based on that, determine if I should use a full or incremental backup. This way if the fail over does occur, then the uptime on the new PRIMARY server will be less than 24 hours, thus initiating a full backup rather than an incremental....

Am I missing anything?
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