Ejecting media by using a Vault policy
Use a Vault policy to eject media or generate reports for the 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 vlteject command resides in the following directory:
UNIX
/usr/openv/netbackup/bin
Windows
install_path\NetBackup\bin
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 Web UI Administrator's Guide, for more information about creating NetBackup policies.
See the NetBackup Commands Reference Guide for more information about the vlteject command.
To create a Vault policy that ejects media
- On the NetBackup Web UI, select Protection and then select Policies.
- Specify the required parameters for the Attributes and Schedule tabs.
- Select Backup selections tab, click Add. Add backup selection dialog box is displayed.
- Specify the path and vlteject command and then click Add.
- Click Save.