Generating a Restore Command Line Script from the CommCell Console

Updated

In addition to the parameter values provided in the template XML file, if you want to include additional options for the restore, you can do so by selecting the required options from the CommCell Console and generate the command line XML script for the restore operation.

In addition to the element values provided in the template XML file, you can include additional options for the restore. To do this, select the required options from Backup Options dialog box in the CommCell Console, and then generate the command line XML script for the backup.

Procedure

  1. From the CommCell Browser, expand Client Computers > client > File System.

  2. Right-click backup_set, and then click All Tasks > Browse and Restore.

  3. Click OK.

  4. In the right pane of the Client Browse window, select the data that you want to restore, and then click Recover All Selected.

  5. Select the required restore options that you want to run using the script.

  6. Click Save as Script.

    The Save As Script dialog box appears.

  7. Enter the path where the script will be saved and include the file name and extension.

    For example, C:\scripts\myscript.bat.

    The script is saved as an .xml file and .bat file.

    If a file with the same name already exists in the specified location, both the .xml and .bat files will be overwritten.

  8. Enter the username and password for the user account that you want to use to perform the backup.

    By default, the user account that you use to log on to CommCell Console is used to perform the backup. However, if the user account does not have access to any application or database, select Use a different account.

  9. Click OK.