Ejecting media by using a Vault policy
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]
[-robot robot_no] [-vault vault_name [-sessionid id]]
[-auto y|n] [-eject_delay seconds] [-legacy]
The vlteject command resides in the following
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
See also, "Using
NetBackup Commands" in the NetBackup Administration Console
To create a Vault policy that ejects media
In the NetBackup
Administration window, expand .
Click the button.
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 tab, select as the policy type.
On the tab, click to create a new schedule.
The type of backup
defaults to Automatic Vault.
tab (clients are not
specified for Vault jobs).
On the tab, enter the
vlteject command and the appropriate
options for the policy.