Unpublish-VEORDatabase
Short Description
Unpublishes Oracle databases from the target server.
Applies to Veeam Backup & Replication
Product Edition: Community, Enterprise, Enterprise Plus
Syntax
Unpublish-VEORDatabase [-Databases] <VEORPublishedDatabase[]> [-WhatIf] [-Confirm] [<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 database. The cmdlet will unpublish this database from the target Oracle server. | Accepts the VEORPublishedDatabase[] object. To get this object, run the Get-VEORPublishedDatabase cmdlet. | True | 0 | True |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.
Examples
Unpublishing Oracle Database
This example shows how to unpublish Oracle database.
$session = Get-VEORRestoreSession $database = Get-VEORPublishedDatabase -Session $session[0] Unpublish-VEORDatabase -Databases $database |
Perform the following steps:
- Run the Get-VEORRestoreSession cmdlet. Save the result to the $session variable.
The Get-VEORRestoreSession cmdlet will return an array of restore sessions. Mind the ordinal number of the necessary restore session (in our example, it is the first restore session in the array).
- Run the Get-VEORPublishedDatabase cmdlet. Set the $session variable as the Session parameter value. Save the result to the $database variable.
- Run the Unpublish-VEORDatabase cmdlet. Set the $database variable as the Databases parameter value.
Related Commands