Use XML to back up Oracle databases.
Before You Begin
Optional: Limit the number of database data and log backup jobs that can simultaneously run on a client. See Throttling Backup Jobs.
Procedure
-
If you are not logged on to the CommServe computer, run the qlogin command.
-
Download the backup_template.xml file to the computer where you will run the command.
-
Open the backup_template.xml file, add your specific parameters, and save the file.
-
On the command line, go to Software_Installation_Directory/Base and type the command.
qoperation execute -af backup_template.xml -appName 'Oracle' -clientName 'client_name' -instanceName 'dbname' -subclientName 'subclient_name' -backupLevel 'backup_type'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 full backup. In this example, the parameters are listed on the command line.
qoperation execute -af backup_template.xml -appName 'Oracle' -clientName 'client1' -instanceName 'instance1' -subclientName 'subclient1' -backupLevel 'FULL'