Restore to Another Server

In this article

    If you want to restore Oracle databases from a Veeam Plug-in backup to another server, follow instructions in the Restoring a Database on a New Host section of Oracle's Database Backup and Recovery User's Guide and mind the peculiarities described below:

    Restore from Backup to Another Server

    After you allocate channels, you must use the SEND command with the srcSrv=originalServerName parameter, where originalServerName is the hostname of the protected server. In case of RAC, use the SCAN name as originalServerName.

    Tip

    Veeam Plug-in backup job name contains the name of the original server. You can find out what to use as originalServerName if you look at the first part of the Veeam Plug-in backup job name.

    Example of a script for restoring Oracle database to another server using the SEND command:

    rman TARGET /

    RUN {

    ALLOCATE CHANNEL a1 TYPE sbt_tape PARMS "SBT_LIBRARY=/opt/veeam/VeeamPluginforOracleRMAN/libOracleRMANPlugin.so" SEND "srcSrv=ora";

    RESTORE DATABASE;

    RECOVER DATABASE;

    }

    EXIT;

    Restore from Backup Copy to Another Server

    If you want to restore a database from a backup copy to another server, do the following:

    1. On the Oracle server, go to the \Veeam\VeeamPluginforOracleRMAN folder (/opt/veeam/VeeamPluginforOracleRMAN/ for Linux OS).
    1. Open the veeam_config.xml file with a text editor.
    2. Change the <PluginParameters /> line as follows:

    <PluginParameters customServerName="original_server_hostname" />

    <PluginParameters customServerName="original_cluster_scan_name" />

    Important

    Mind the following:

    • Veeam Plug-in for Oracle RMAN must be installed and configured on the target server.
    • Before you perform any other backup or restore job, revert back the changes in the veeam_config.xml file. The default configuration is: <PluginParameters />
    1. Enable the restore from backup copy option, as described in Restore from Backup Copy.
    2. Perform the restore.

    rman TARGET /

    RUN {

    ALLOCATE CHANNEL a1 TYPE sbt_tape PARMS "SBT_LIBRARY=/opt/veeam/VeeamPluginforOracleRMAN/libOracleRMANPlugin.so";

    RESTORE DATABASE;

    RECOVER DATABASE;

    }

    EXIT;

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.