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
- Activity Details report
- Permissions reports
- Inactive Users
- Path Permissions
- Permissions Search report
- Creating a Permissions Query Template
- Permissions Query Template actions
- Entitlement Review
- User/Group Permissions
- Group Change Impact Analysis
- 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
- 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 multiple custom actions directly from the Data Insight Management Console.
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.
Create and place the script at a specified location on the Management Server. You will not be able to proceed unless creating a script. 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 Actions tab.
- Click Add New Custom Action.
- New Custom Action pop up appears.
Action Name
Script Name with extension. The valid extensions are: .exe, .pl, .bat, .vbs.
Select Run As User from the drop-down.
If you do not select any saved credentials, the Local System Account credentials will be used for accessing network resources. However, the script that you will associate with the custom action will always be executed using Local system account.
- 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. This field will be selected by default.
- 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.
- Optionally, select the Passing Parameters.
- Check the Disable custom action box if you do not want to use the custom action currently.
- Click Save to save the settings.
The newly created Custom action will appear on the Custom Actions page. You can delete, enable or disable multiple custom actions using the tool bar. For editing, enabling/disabling or deleting, individual custom action, use the Action drop-down, next to each custom action. After selecting Edit, the New Custom Action pop up with existing values will appear. You can edit all fields except Action Name
You can apply the scripts to run on the following data:
The paths displayed in the Workspace > ContextMap view.
The files that are listed under Workspace > 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
For checking the status of the custom actions, go to Settings > Action Status. You can export or save the table data in CSV format. You can perform the following operations on the executed custom actions by clicking the option from the drop-down.
Table:
View | To check custom action details. |
Cancel | To cancel custom action in progress. |
Delete | To delete completed or failed custom actions. |
Run Again | To re-initiate custom action execution. |