Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
Veeam Explorers PowerShell Reference

Examples of Use

This section will describe how to use a PowerShell script to restore an Oracle database to an original location on a Linux VM.

To restore an Oracle database, use the Restore-VEORDatabase cmdlet. This cmdlet includes two cmdlet sets: a set to restore to Windows VMs, and a set to restore to Linux VMs.

To perform a basic restore, we must specify the following settings:

  • The Oracle database — to specify the Oracle database that you want to restore.
  • Linux credentials — to specify Linux credentials that the cmdlet will use to connect to the Linux VM.

The cmdlet treats these settings as objects. We will get these objects and save them to variables:

  1. To specify the Oracle database that we want to restore:
  1. We will run the Get-VEORRestoreSession cmdlet to get an active Oracle restore session that contains the Oracle database object. We will save the result to the $session variable.

$session = Get-VEORRestoreSession

  1. We will get the Oracle database that we want to restore. We will assign the Session parameter with the $session variable to specify the restore session. We will save the result to the $database variable.

$database = Get-VEORDatabase -Session $session

  1. Now we will run the Restore-VEORDatabase cmdlet to initiate the restore procedure. We will use the Database parameter with the $database variable to specify the Oracle database that we want to restore.

Restore-VEORDatabase -Database $database -Server "Oracle_Server"

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation