Use a Vault policy to eject media or generate reports for Vault sessions that have completed already and for which media have not ejected. In the Vault policy, specify Vault as the policy type, do not specify clients, and specify the vlteject command on the Backup Selections tab.
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 following is an vltejct command example that ejects media for all robots that have sessions for which media has not yet ejected and generates the reports:
vlteject -eject -report
The following example ejects all media that has not yet ejected for all sessions for the CustomerDB vault and generates reports:
vlteject -vault CustomerDB -eject -report
See the NetBackup Administrator's Guide, Volume I, for more information about creating NetBackup policies.
See the NetBackup Commands manual for more information about the vlteject command.
See also, "Using NetBackup Commands" in the NetBackup Administration Console help.
To create a Vault policy that ejects media
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 Add New Policy dialog box, on the Attributes tab, 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 and the appropriate options for the policy.