Restore Oracle Data Guard standby or primary database
When you are restoring an Oracle Data Guard database, there are two scenarios to choose from that depend on if a failover or switchover between the primary and the standby database took place. After a switchover or failover, when the standby database is changed to the primary database, the value of the DATABASE_CONTROL_FILE_RESTORE allows you to choose from two recovery settings.
In the first scenario, the standby database remains in the standby database role. When that standby database is restored it results in a standby database with the point in time of the IBM® Storage Protect Snapshot backup. The synchronization with the Oracle Data Guard primary database can be restarted. In order for the synchronization to succeed, all the required archive logs must be available on the primary database.
- DATABASE_CONTROL_FILE_RESTORE parameter set to NO. A database recovery is required after the restore operation. In this case, the archived logs are required. This action results in an Oracle Data Guard primary database recovered to a specified point in time.
- DATABASE_CONTROL_FILE_RESTORE parameter set to YES. A database recovery is not possible after the restore operation. The result of the restore operation is an Oracle Data Guard standby database with the point in time of the IBM Storage Protect Snapshot backup.