Switchover

In this article

    The switchover option becomes available after all the database files are copied to the target server. During switchover, the mounted database is switched to its complete copy on the target server. Note that if you have selected to restore to the original server, the restored database will replace the original database.

    Depending on the option you choose in the Instant Recovery wizard, switchover starts in on of the following ways:

    • Automatically, immediately after synchronization
    • Automatically, according to a specified schedule
    • Manually

    During switchover, Veeam Explorer performs the following operations:

    1. Detaches the published database from the Oracle server.
    2. Uses archived redo logs to synchronize changes between the published database and the copied database files.
    3. Drops the published database.
    4. Attaches the recovered database to the Oracle server.

    Note that the database will be offline between the steps 1–4.

    Auto Switchover

    The Auto switchover option ensures minimal period of downtime.

    As soon as database files are copied from backup files, Veeam Explorer uses archived redo logs to find differences between the published database and the recovered database. Depending on the size of differences in archived redo logs, the following happens:

    • If the size of differences in archived redo logs is smaller than 10 MB, Veeam Explorer starts the switchover process. In this case, the databases are synchronized during switchover.
    • If the size of differences in archived redo logs is larger than 10 MB, Veeam Explorer uses redo logs to synchronize the changes.

    After synchronizations, checks the size of differences in archived redo logs once again. If the size is smaller than 10 MB, Veeam Explorer starts the switchover process. If the size is larger than 10 MB again, another cycle of synchronization is performed. Synchronization is relaunched until the size of differences in logs is smaller than 10 MB.

    Scheduled Switchover

    After database files are copied from backup files, Veeam Explorer uses archived redo logs to find differences between the published database and the recovered database. Veeam Explorer checks the size of differences every minute. If the size is larger than 10 MB or it has been 5 minutes since the last synchronization, Veeam Explorer starts to synchronize the changes between the published database and the copied database files.

    After synchronization is finished, Veeam Explorer waits for the scheduled date and time to start switchover.

    If the switchover scheduled period starts during the synchronization process, switchover starts only after synchronization if finished.

    Manual Switchover

    After database files are copied from backup files, Veeam Explorer uses archived redo logs to find differences between the published database and the recovered database. Veeam Explorer checks the size of differences every minute. If the size is larger than 10 MB or it has been 5 minutes since the last synchronization, Veeam Explorer starts to synchronize the changes between the published database and the copied database files.

    After synchronization is finished, you can launch switchover manually. For details, see Starting Switchover Manually.

    If you launch switchover during the synchronization process, switchover starts only after synchronization if finished.