Switch-VEORIRDatabase
Short Description
Performs switchover of an Oracle database published within an instant recovery session.
Product: Veeam Backup & Replication
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Switch-VEORIRDatabase [-Database] <VEORIRDatabase> [<CommonParameters>] |
Detailed Description
This cmdlet performs a manual switchover of an Oracle database published within an instant recovery session. You can perform a switchover after all database files are copied to the target server and the cache file is synchronized. For more information on the switchover options, see the Switchover section of the Veeam Explorers User Guide.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Database |
Specifies a published Oracle database that the cmdlet will switchover.
Accepts the |
True |
0 |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
Starting Switchover of Oracle Database
This example shows how to perform a manual switchover of the orcl1.tech.local database.
|
$IRDatabase = Get-VEORIRDatabase -DatabaseName "orcl1.tech.local" Switch-VEORIRDatabase -Database $IRDatabase |
Perform the following steps:
- Run the
Get-VEORIRDatabaseReturns Oracle databases that are published within an instant recovery session. cmdlet. Specify theDatabaseNameparameter value. Save the result to the$IRDatabasevariable. - Run the
Switch-VEORIRDatabasecmdlet. Set the$IRDatabasevariable as theDatabaseparameter value.
Related Commands
Get-VEORIRDatabaseReturns Oracle databases that are published within an instant recovery session.