Veritas Data Insight User's Guide
- Section I. Introduction
- Section II. Data Insight Workspace
- Navigating the Workspace tab
- Analyzing data using the Workspace views
- Viewing access information for files and folders
- Viewing user activity on files or folders
- About visualizing collaboration on a share
- Viewing access information for users and user groups
- Section III. Data Insight reports
- Using Data Insight reports
- About Data Insight security reports
- Permissions reports
- Permissions Search report
- Creating a Permissions Query Template
- Permissions Query Template actions
- Ownership Reports
- About Data Insight storage reports
- About Data Insight custom reports
- Managing reports
- Viewing reports
- Using Data Insight reports
- Section IV. Remediation
- Configuring remediation workflows
- Managing workflow templates
- Creating a workflow using a template
- Managing workflows
- Using the Self-Service Portal
- About the Self-Service Portal
- Managing data
- About managing data using Enterprise Vault and custom scripts
- About adding tags to files, folders, and shares
- Managing permissions
- Configuring remediation workflows
- Appendix A. Command Line Reference
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:
The files that are listed under Workspace > Folder Activity > Inactive Subfolders tab.
The files that are listed in the following types of reports:
Activity Details reports
Activity Summary reports
DQL reports
Data Lifecycle 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
- In the Management Console, click Settings > Data Management. The Archiving (Enterprise Vault Configuration) page displays by default.
- Click Custom Action 1 or Custom Action 2.
- 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.
- 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.
- 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.
- Select the additional data that you want to pass to the script.
- Click OK to save the settings.