Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

PowerProtect Data Manager Appliance 5.16.0.0 Microsoft Exchange Server User Guide

Add pre-script and post-script (optional)

Prerequisites

The Pre/Post-Script (Optional) page appears only when the use of scripts is supported for the application agent host.

Steps

  1. Select or add a pre-script:
    1. Select a compatible pre-script from the Pre-script drop-down list. As an alternative, click Add Script to open the Add Script page to either upload a script file or copy the script into the Script text box, and then complete the fields on the Add Script dialog.
    2. Select the plus sign for Additional Pre-script if you want to add another pre-script for a different type of operating system.
    3. For If script fails, select to either continue or skip the backup job when the pre-script operation fail.
    4. For Timeout, specify the maximum time that the system waits for the pre-script operation to complete. The default timeout is 15 minutes. The minimum timeout setting is Off, indicating no timeout. The maximum timeout is 24 hours, specified as hours or minutes.
      NOTE:When a timeout is not specified or the value is Off, suspended jobs wait for a response from the script.
  2. Select or add a post-script:
    1. Select a compatible post-script from the Post-script drop-down list. As an alternative, click Add Script to open the Add Script page to either upload a script file or copy the script into the Script text box, and then complete the fields on the Add Script dialog.
    2. Select the plus sign for Additional Post-script if you want to add another post-script for a different type of operating system.
    3. For Run only when, select to run the post-script only when the pre-script operation is successful, the backup is successful, or both. By default, the post-script always runs.
    4. For Timeout, specify the maximum time that the system waits for the post-script operation to complete. The default timeout is 15 minutes. The minimum timeout setting is Off, indicating no timeout. The maximum timeout is 24 hours, specified as hours or minutes.
      NOTE:When a timeout is not specified or the value is Off, suspended jobs wait for a response from the script.
    5. For Wait for the script to run before completing the job, select this option to have the post-script complete its operation before the backup job is marked as completed.
      NOTE:When you select Wait for the script to run before completing the job, the post-script starts running before the backup job completes and the post-script step appears on the Protection Jobs window.

      When you do not select Wait for the script to run before completing the job, the post-script starts running after the backup job completes and the post-script step does not appear on the Protection Jobs window.

  3. For Run As, optionally select the user credentials that the agent service uses to run the script on the host system.

    If you do not set this Run As option, the agent service runs the script as the privileged or non-privileged user that was set during the application agent installation. For example, if the agent service is set to run as a non-privileged (non-root) user on Linux or UNIX, the agent service runs the script as the non-privileged user ppdmusr.

    NOTE:If the agent service was installed as a non-privileged user, the agent service does not have the permissions to run script commands as a privileged user. It is recommended that you specify the appropriate privileged user credentials for the Run As option.
  4. If required, select Run script on specific days and then select one or more days when the script runs. When this option is not selected, the script runs every day.
  5. Click Next.

Results

The wizard moves to the Summary page. Continue to Review the protection policy summary.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\