Data Insight enables you to archive inactive data on your storage devices using Enterprise Vault. However, if you use other archiving tools, or if you want to take actions such as copy your data to a cheaper storage, or delete orphan or inactive data, you can write custom scripts to manage the data.
You can initiate up to two custom actions directly from the Data Insight Management Console. You can apply the scripts to run on the following data:
The files that are listed under Workspace > Folder Activity > Inactive Subfolders tab.
The files that are listed in the following types of reports:
The paths displayed in the Workspace > Data and the Workspace > Shares views.
Before you can configure Data Insight to run the custom action scripts, do the following:
Define the action that you want to perform on the data. For example, you may choose to upload all inactive data on your storage devices to the cloud.
Write a script to perform this action.
For more information, see the Veritas Data Insight Programmer's Reference Guide.
Place the script at a specified location on the Management Server. By default, all custom scripts must be placed at $datadir\conf\workflow\steps\CUSTOMACTION\scripts
. Data Insight invokes the scripts form this location when you initiate an action from the Management Console.
To configure a custom action script
The name of the custom action.
The name of the script, for example, copy.pl.
The credentials of the user to run the script. You can either use Local System account credentials or the credentials of a user with privileges to perform the desired action on the data. The script continues to run with Local System account, however the specified credentials are used for any network calls made by the script.