You can start the standby instance in a state from the past. You may need to do this if, for example, you lose data during an operation in the original instance, and want to restore a state.
· You have set up a standby instance.
·
The standby instance has
not been in the operational state
ONLINE since it was last
initialized.
·
You have imported the log backups
from the original instance only up to a point in time before your
chosen restore time.
If the log backups are imported automatically from the original instance into the standby instance, then cancel the imports (recover_cancel), and import manually any log backups that are missing, up until your chosen time. Proceed as follows:
·
When you import the
relevant log backup in the Database Manager
GUI, choose the option Restore until a specific time (see also
Restoring Without
a Backup History).
·
When you import the
relevant log backup in the Database Manager
CLI, use the command recover_start with the option UNTIL <date>
<time> (see also
Commands for
Restoring).
The log entries are imported into the standby instance up to the chosen time. Any changes you have made after this time in the original instance are ignored by the standby instance.
You can now start operating the standby instance as an active instance.