Backing Up Data for a Microsoft Hyper-V Subclient from the Command Line Interface

To run the backups from the command line interface, you need an input XML file that contains the element values to configure 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 and save it on the computer from where the backup will be performed. For instructions to generate the XML script, see Generating a Backup Command Line Script from the CommCell Console.

Before You Begin

Log on to the CommServe host using qlogin command. For instructions, see Qlogin.

Procedure

  1. Download the backup_template.xml file and save it on the computer from where the command will be executed.

  2. On the command line, go to <Software_Installation_Directory>/Base folder, and type the command after substituting the parameter values.

    qoperation execute -af $[backup.xml] -appName '$[Virtual Server]' -clientName $[xxxxx] -backupsetName $[xxxxx] -subclientName $[xxxxx] -backupLevel $[FULL]
    

Examples

Full Backup
qoperation execute -af $[backup.xml] -appName '$[Virtual Server]' -clientName $[client1] -backupsetName $[backupset1] -subclientName $[subclient1] -backupLevel $[FULL]
Incremental Backup
qoperation execute -af $[backup.xml] -appName '$[Virtual Server]' -clientName $[client1] -backupsetName $[backupset1] -subclientName $[subclient1] -backupLevel INCREMENTAL
×

Loading...