New-VEORIRSwitchOverOptions
Short Description
Creates a switchover option that you can use in the instant recovery session of an Oracle database.
Product: Veeam Backup & Replication
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AutoParameterSetNew-VEORIRSwitchOverOptions [-Auto] [<CommonParameters>]
-
ManualParameterSetNew-VEORIRSwitchOverOptions [-Manual] [<CommonParameters>]
-
ScheduledParameterSetNew-VEORIRSwitchOverOptions [-Scheduled] -SwitchingTimeUTC <DateTime> [<CommonParameters>]
Detailed Description
This cmdlet creates a switchover option that you can use in the instant recovery session of an Oracle database. 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 |
|
True |
Named |
False |
|
Manual |
Defines that the switchover will be performed manually at a later time.
To perform the switchover, use the |
|
True |
Named |
False |
|
Scheduled |
Defines that the switchover will be performed in the |
|
True |
Named |
False |
|
SwitchingTimeUTC |
For the scheduled switchover option. Specifies the date and time in UTC when the switchover must be started. |
|
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 VEORIRSchedule object that contains a switchover option with the defined schedule.
Examples
Example 1. Creating Scheduled Switchover Option
|
This example shows how to create a scheduled switchover option. The switchover schedule is set to
Perform the following steps:
|
Example 2. Defining Auto Switchover Option
|
This command defines an auto switchover option. The switchover will run immediately after database files are copied and synchronized.
|
Example 3. Defining Manual Switchover Option
|
This command defines a manual switchover option. The switchover will start after you initiate this process manually with the
|
Related Commands
Restore-VEORIRDatabasePerforms instant recovery of a backed-up Oracle database.Set-VEORIRDatabaseChanges switchover settings of an instant recovery session for an Oracle database.Switch-VEORIRDatabasePerforms switchover of an Oracle database published within an instant recovery session.Get-Date