Restoring Databases Using the Commvault Command Line Interface

Use XML to restore databases.

Before You Begin

Back up databases using the Commvault Command Line Interface.

Procedure

  1. If you are not logged on to the CommServe computer, run the qlogin command.

  2. Download the restore_template.xml file to the computer where you will run the command.

  3. Open the restore_template.xml file, add your specific parameters, and save the file.

    For information on supported instance XML parameters, see Available XML Parameters for Oracle Backups and Restores.

  4. On the command line, go to Software_Installation_Directory/Base and type the command.

    qoperation execute -af restore_template.xml -appName 'Oracle' -clientName 'client_name' -instanceName 'dbname'

    Notes

  5. To logoff the CommServe computer, run the qlogout command.

Examples

The following command performs a restore. In this example, the parameters are listed on the command line.

qoperation execute -af restore_template.xml -appName 'Oracle' -clientName 'client1' -instanceName 'instance1'
×

Loading...