Export-VEORPublishedDatabase
Short Description
Exports published Oracle databases.
Applies to Veeam Backup & Replication
Product Edition: Community, Enterprise, Enterprise Plus
Syntax
Export-VEORPublishedDatabase [-Database] <VEORPublishedDatabase> [-Path] <string> [-RmanBackupFormat <string>][-RmanBackupTagName <string>] [-RmanBackupEnableCompression] [-Force][-ChannelsNumber <int>] [<CommonParameters>] |
Detailed Description
This cmdlet exports published Oracle databases.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Database | Specifies a published Oracle database that you want to export. | Accepts the VEORPublishedDatabase object. To get this object, run the Get-VEORPublishedDatabase cmdlet. | True | 0 | True |
Path | Specifies a target directory. The cmdlet will export Oracle database to the specified directory. | String | True | 1 | True |
RmanBackupFormat | Specifies the FORMAT parameter of backed-up Oracle databases. The cmdlet will back up Oracle databases using the specified FORMAT parameter. | String | False | Named | False |
RmanBackupTagName | Specifies tags of backed-up Oracle databases. The cmdlet will back up Oracle databases using the specified tags. | String | False | Named | False |
RmanBackupEnableCompression | Defines that the cmdlet will back up Oracle database files with compression. If you do not specify this parameter, the cmdlet will back up Oracle database without compression. | SwitchParameter | False | Named | False |
Force | Defines that the cmdlet will overwrite the existing Oracle database files with the database files from the backup. If you provide this parameter, the cmdlet will show no prompt before executing the command. Otherwise, the cmdlet will keep the existing version of Oracle database files. | SwitchParameter | False | Named | False |
ChannelsNumber | Specifies a number of channels that will be used to export Oracle databases. Default: 4 Permitted value: 1-255. | Int32 | 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 Docs.
Examples
Exporting Published Oracle Databases
This example shows how to export a published Oracle database files.
$session = Get-VEORRestoreSession $database = Get-VEORPublishedDatabase -Session $session[0] Export-VEORPublishedDatabase -Database $database -Path "C:\Users\Administrator.TECH\Desktop\delme_pu2" |
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 active 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 Export-VEORPublishedDatabase cmdlet. Set the $database variable as the Database parameter value. Specify the Path parameter value.
Related Commands