Renaming the Backup Set Name from Command Line Interface (Microsoft Hyper-V)

Use XML to rename an existing backup set. You can run the XML from the command line, or automate the configuration by combining the command line operations in a script.

You can include the XML 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.

Before You Begin

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

Procedure

  1. Download the update_backupset_template.xml file to the computer where you will run the command.

  2. Open the update_backupset_template.xml file, add your specific parameters, and save the file.

    For information on supported instance XML parameters, see Available XML Parameters for Backup Set Configuration.

  3. On the command line, go to <Software_Installation_Directory>/Base folder, and type the command.

    qoperation execute -af update_backupset_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -newBackupsetName xxxxx

    For example, rename backup set backupset1 to backupset2 under instance Hyper-V for client hyperv-client.

    qoperation execute -af update_backupset_template.xml -appName 'Virtual Server' -clientName hyperv-client -instanceName Hyper-V -backupsetName backupset1 -newBackupsetName backupset2

Page contents

×

Loading...