This is an archive version of the document. To get the most up-to-date information, see the current version.

New-VEORIRSwitchOverOptions

Short Description

Creates a switchover option that you can use in the instant recovery session of Oracle databases.

Applies to

Veeam Backup & Replication

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

This cmdlet provides parameter sets that allow you to:

  • Create a switchover option that starts the switchover at a specified date and time.

New-VEORIRSwitchOverOptions -Scheduled -SwitchingTimeUtc <datetime> [<CommonParameters>]

  • Create a switchover option that starts the switchover immediately after database files are copied and synchronized.

New-VEORIRSwitchOverOptions -Auto [<CommonParameters>]

  • Create a switchover option that allows you to start the switchover manually at any time after database files are copied and synchronized.

New-VEORIRSwitchOverOptions -Manual [<CommonParameters>]

Detailed Description

This cmdlet creates a switchover option that you can use in the instant recovery session of Oracle databases. You can use it to create a switchover option and define a schedule for a scheduled switchover.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Auto

Defines that the switchover will be performed in the Auto mode.

SwitchParameter

True

Named

False

Manual

Defines that the switchover will be performed manually.

SwitchParameter

True

Named

False

Scheduled

Defines that the switchover will be performed in the Scheduled mode.

SwitchParameter

True

Named

False

SwitchingTimeUtc

For the scheduled switchover option.

Specifies the date and time when the switchover must be started.

DateTime

True

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.

Output Object

The cmdlet returns the VEORIRSwitchOverOptions object that contains a switchover option with the defined schedule.

Examples

New-VEORIRSwitchOverOptionsExample 1. Creating Scheduled Switchover Option for Oracle Databases

New-VEORIRSwitchOverOptionsExample 2. Defining Auto Switchover Option for Oracle Databases

New-VEORIRSwitchOverOptionsExample 3. Defining Manual Switchover Option for Oracle Databases

Related Command

Restore-VEORIRDatabase