Creating a Vault policy to generate reports
You can use a Vault policy to generate reports for the Vault sessions that have completed already and for which reports have not been generated. On the Backup Selections tab, in the Vault policy, specify Vault as the policy type, do not specify clients, and specify the vlteject command with the -report option.
You also can specify a robot, vault, profile, or session for which to generate reports.
If the corresponding eject process has completed, pending reports from the selected sessions are generated and distributed. The reports are not generated again if vlteject is run again.
If the eject operation has not been completed, the subset of reports that do not depend on completion of eject are generated and distributed. These reports are generated again if vlteject is run again.
The following is the format of the vlteject command:
vlteject -eject -report -preview [-profile profile_name] [-profile robot_no/vault_name/profile_name] [-robot robot_no] [-vault vault_name [-sessionid id]] [-auto y|n] [-eject_delay seconds] [-legacy]
The vlteject command resides in the following directory:
UNIX
/usr/openv/netbackup/bin
Windows
install_path\NetBackup\bin
See the NetBackup Commands Reference Guide.
To create a Vault policy to generate reports
- In the NetBackup Administration Console, in the left pane, expand NetBackup Management > Policies.
- On the Actions menu, click New > Policy.
- Type a unique name for the new policy in the Add a New Policy dialog box.
- On the Attributes tab, select Vault as the policy type.
- On the Schedules tab, click New to create a new schedule.
The type of backup defaults to Automatic Vault.
- Complete the schedule.
- Bypass the Client tab (clients are not specified for Vault jobs).
- On the Backup Selections tab, enter the vlteject command with the -report option and any other appropriate options.
- Click OK.