Table of ContentsLibraryView in Frames

Configuring default settings for the Run Command After Operation option

You can configure default values to populate the Run Command After Operation dialog box when you open it from the Actions pane, or the Backup and Verify window, or the Backup wizard, to run a command or a script after a backup or verification operation.

Steps

  1. In the Actions pane, click Run Command After Operation.
  2. In the Specify a computer where... box, enter or browse to the name of the host on which your program or script resides.
  3. In the Specify the full path... box, browse to your program or script.
  4. Enter the command input string in the Command Arguments box.

    You can do this using any combination of the following methods:

    • To enter text directly into the Command Arguments box, click the box and type the desired text.
    • To enter a SnapManager variable into the Command Arguments box, do the following:
      1. Click the Command Arguments box to position the cursor.
      2. In the SnapManager Variables list, select the variable you want to enter.
      3. Click Select.
    Note: The $SnapInfoPath variable is enclosed within double quotes so that the path name can contain spaces without affecting the script invocation on the Windows command line. If you do not want the double quotes to appear in your command line, remove them from the Command Arguments box.

  5. Repeat steps 1 to 4 as required, until the Command Arguments box contains the arguments you want to pass to your program or script.
  6. Click OK.

    Note: SnapManager verifies that the specified program exists on your system. SnapManager does not run the command until the backup or verification operation is complete.

    Whenever the Run Command After Operation dialog box is opened from either the Backup and Verify window or the Backup wizard, the boxes are populated with the values you specified as default settings.

Related concepts
Automatic backup archiving using the Run Command After Operation feature
Related reference
Example: Using a Windows backup utility to archive SnapManager backups
Command arguments supported by the Run Command After Operation feature