Loading...

Backing Up Data for an NDMP Subclient from the Command Line Interface

In order to run the backups from command line, you need an input xml file which contains the parameter values for configuring the backup options. This input xml file can be obtained from one of the following ways:

  • Download the input xml file template and save it on the computer from where the backup will be performed.
  • Generate the input xml file from the CommCell Console by using the Save as Script option, and save it on the computer from where the backup will be performed.

Procedure

  1. Run the qlogin command to log on to the CommServe computer.
  2. Download the backup_template.xml file and save it on the computer from where the command will be executed.
  3. On the command line, go to software_installation_directory/Base and type the following command:

    qoperation execute -af backup_template.xml -appName NDMP -clientName xxxxx -subclientName xxxxx -policyType DATA_PROTECTION -backupLevel FULL

  4. Verify the status of the job using the following command:

    qlist job –j JOBID

  5. After the job completes, run the qlogout command to log off the CommServe computer.

Examples

Performing a Full Backup

qoperation execute -af backup_template.xml -appName NDMP -clientName client1 -subclientName subclient1 -policyType DATA_PROTECTION -backupLevel FULL

Performing an Incremental Backup

qoperation execute -af backup_template.xml -appName NDMP -clientName client1 -subclientName subclient1 -policyType DATA_PROTECTION -backupLevel INCREMENTAL

Last modified: 7/13/2018 3:49:48 PM