Using custom scripts to manage data

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:

Before you can configure Data Insight to run the custom action scripts, do the following:

To configure a custom action script

  1. In the Management Console, click Settings > Data Management. The Archiving (Enterprise Vault Configuration) page displays by default.
  2. Click Custom Action 1 or Custom Action 2.
  3. On the Custom Action page, enter the following details:
    • 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.

  4. Select Do not expand paths to apply the action defined in the script to the paths selected in the view or the report. The selected paths are passed as-is to the custom script.
  5. Select Expand paths to apply the action defined in the script to all child folders under the selected folder recursively. If you select this option to invoke an action on the folder, Data Insight passes individual files present in that path's hierarchy to the script, instead of the parent folder.
  6. Select the additional data that you want to pass to the script.
  7. Click OK to save the settings.