This is an archive version of the document. To get the most up-to-date information, see the current version.

Publish-VEORDatabase

Short Description

Publishes backed-up Oracle databases.

Applies to Veeam Backup & Replication

Product Edition: Community, Enterprise, Enterprise Plus

Syntax

This cmdlet provides parameter sets that allow you to:

  • Publish backed-up Oracle databases to Windows VMs.

Publish-VEORDatabase [-Database] <VEORDatabase> [-Server <string>] [-OracleHome <string>] [-GlobalDatabaseName <string>] [-OracleSid <string>] [-WindowsCredentials <pscredential>] [-OracleHomePassword <securestring>][-ToDateTime <datetime>] [-Force]  [<CommonParameters>]

  • Publish backed-up Oracle databases to Linux VMs.

Publish-VEORDatabase [-Database] <VEORDatabase> -LinuxCredentials <VEORLinuxCredential> [-Server <string>][-OracleHome <string>] [-GlobalDatabaseName <string>] [-OracleSid <string>] [-SshPort <int>] [-ToDateTime<datetime>] [-Force]  [<CommonParameters>]

Detailed Description

This cmdlet publishes backed-up Oracle databases.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Database

Specifies an Oracle database. The cmdlet will publish this database.

Accepts the VEORDatabase object. To get this object, run the Get-VEORDatabase cmdlet.

True

0

True (ByValue)

Server

Specifies a name of the target Oracle server. The cmdlet will publish an Oracle database to that server.

String

False

Named

False

LinuxCredentials

Specifies Linux credentials. The cmdlet will use these credentials to connect to the Linux VM.

Accepts the VEORLinuxCredentials object. To get this object, run the New-VEORLinuxCredential cmdlet.

False

Named

False

OracleHome

For publishing to another location.

Specifies the target Oracle Home path. The cmdlet will publish an Oracle database to the location specified in the Oracle Home path.

String

False

Named

False

GlobalDatabaseName

Specifies a target global database name. The cmdlet will publish an Oracle database with the specified name.

String

False

Named

False

OracleSid

Specifies target SID for an Oracle database. The cmdlet will publish the database with the specified SID.

String

False

Named

False

WindowsCredentials

Specifies Windows credentials. The cmdlet will use these credentials to connect to the Windows VM.

PSCredential

False

Named

False

OracleHomePassword

For publishing Oracle Database 12c or later on Windows server.

Specifies Oracle Home credentials. The cmdlet will use these credentials for starting Oracle Services on the VM guest OS.

Note: This parameter is required in case you use the following types of Oracle Home User:

  • Existing Windows user
  • New Windows user

SecureString

False

Named

False

ToDateTime

Specifies a restore period. The cmdlet will publish the Oracle database to the specified period.

DateTime

False

Named

False

SshPort

Specifies the SSH port number. The cmdlet will use that port to connect to the Linux VM.

Default: 22.

Int32

False

Named

False

Force

Defines that the cmdlet will remove the target Oracle database with the database from backup.

Note: The cmdlet will show no prompt before executing the command.

SwitchParameter

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.

Output Object

The cmdlet returns the VEORPublishedDatabase object that contains settings of published Oracle databases.

Publish-VEORDatabaseExample 1. Publishing Oracle Database

Publish-VEORDatabaseExample 2. Publishing Oracle Database to Linux VM

Related Commands