You can use a Vault policy to generate reports for 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 sessions selected are generated and distributed. The reports are not generated again if vlteject is run again.
If eject 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 ran 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]
To create a Vault policy to generate reports
In the NetBackup Administration window, expand NetBackup Management > Policies.
In the Add a New Policy dialog box , enter a unique name for the new policy.
In the Attributes tab of the Add New Policy dialog box , select Vault as the policy type.
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.