Generating a Command Line Script from the CommCell Console (OpenStack)

To run backups from the command line, you need an input XML file that contains parameter values for configuring the backup options. You can create this input XML file by generating a script from the CommCell Console and saving it on the computer where the backup is performed.

Procedure

  1. From the CommCell Browser, go to Client Computers > virtualization_client > Virtual Server > OpenStack > backup_set.

  2. Right-click the subclient, and then click Backup.

  3. Select the backup options to execute using the script.

  4. Click Save as Script.

    The Save as Script dialog box appears.

  5. Enter the location to save the script along with the file name and extension.

    For example, to save the script on Windows, type C:\scripts\myscript.bat and on Unix, type /usr/scripts/myscript.sh.

    The Save as Script operation creates an .XML file and either a .BAT or .SH file, both using the base file name that you entered.

    Note

    If a file with the same name already exists in the specified location, both the .XML file and the .BAT or .SH files are overwritten.

  6. To specify how you want to identify the user account for performing the backup, from the Specify user account to run the script list, select Use a different user account.

    By default, the user account that you used to log on to the CommCell Console is used to perform the backup.

  7. Click OK.

×

Loading...