Use XML to restore databases.
Before You Begin
Back up databases using the Commvault Command Line Interface.
Procedure
-
If you are not logged on to the CommServe computer, run the qlogin command.
-
Download the restore_template.xml file to the computer where you will run the command.
-
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.
-
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
-
For information on supported instance XML parameters, see Available XML Parameters for Oracle Backups and Restores.
-
You can define parameters in the xml file, or you can specify them on the command line when they frequently change. For more information on command line parameters and XML elements, see Command Line - Syntax.
-
-
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'