Add
pre-scripts and
post-scripts for application agents
Before using a
pre-script or
post-script with a backup, you must add the script to the
PowerProtect Data Manager server. The
PowerProtect Data Manager UI provides the options to add, edit, delete, and download a script.
About this task
To manually add or upload a
pre-script or
post-script, perform the following steps.
Steps
In the
PowerProtect Data Manager UI, select
Protection > Scripts.
The
Scripts page appears.
On the
Scripts page, add or upload a script:
To manually add a script, click
Add and then go to the next step.
To upload a script, click
Upload. When uploaded, the script text appears in the text box.
On the
Add Script page, complete the following settings:
Name—Type the script file name.
Type—Select
Pre or
Post as appropriate.
Compatibility—Select
Windows or
Unix as appropriate.
Description—Optionally, type a description of the script.
Script—Add the script text in the text box, or copy and paste the script text directly into the text box, and click
to revise the script text. If you uploaded the script, the text should already appear in the text box.
NOTE:Replacing an original script also updates any associated protection policies with the revised script.
Script Parameters—Optionally, click
Add Parameter, and then specify the parameter values such as a name, data type, and default value. When finished adding parameters, click
Save.
NOTE:Script parameters are only supported for PowerStore and PowerMax block volume assets, and will not be applied to other asset types.
Click
Save.
Next steps
For application agent assets, enable the
pre-script or
post-script for asset protection at the protection policy level. Go to the
Protection > Protection Policies window of the
PowerProtect Data Manager UI, and click
Add. The
Add Policy wizard appears, which includes a
Pre/Post-Script (Optional) page.
Data is not available for the Topic
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: <>()\