Unpublish-VEORDatabase
Short Description
Unpublishes Oracle databases from the target server.
Product: Veeam Backup & Replication
Product Edition: Community, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Unpublish-VEORDatabase [-Databases] <VEORPublishedDatabase[]> [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet unpublishes Oracle databases from the target server.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Databases |
Specifies the Oracle databases that the cmdlet will unpublish from the target Oracle server.
Accepts the |
True |
0 |
True (ByValue) |
|
|
Force |
Defines that the cmdlet will show no prompt before executing the command. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
Unpublishing Oracle Databases
This example shows how to unpublish Oracle databases.
|
$session = Get-VEORRestoreSession $databases = Get-VEORPublishedDatabase -Session $session[0] Unpublish-VEORDatabase -Databases $databases |
Perform the following steps:
- Run the
Get-VEORRestoreSessionReturns active restore sessions started to perform operations with backed-up Oracle databases. cmdlet. Save the result to the$sessionvariable.The cmdlet will return an array of restore sessions. Note the ordinal number of the necessary restore session. In this example, it is the first restore session in the array.
- Run the
Get-VEORPublishedDatabaseReturns published Oracle databases. cmdlet. Set the$sessionvariable as theSessionparameter value and select the necessary restore session. Save the result to the$databasesvariable. - Run the
Unpublish-VEORDatabasecmdlet. Set the$databasesvariable as theDatabasesparameter value.
Related Commands
Get-VEORRestoreSessionReturns active restore sessions started to perform operations with backed-up Oracle databases.Get-VEORPublishedDatabaseReturns published Oracle databases.