Ejecting media by using the vlteject command
Use the vlteject command to eject media and generate reports for Vault sessions for which media are not yet ejected (the reports must be configured in the profiles). The vlteject command can process the pending ejects or reports for all robots (all sessions for all vaults), for all sessions for a single vault, or for a specific Vault session.
The following is the format of the vlteject command:
vlteject -eject -report -preview [-vault vault_name] [-vault vault_name [-profile profile_name]] [-profile robot_no/vault_name/profile_name] [-legacy][-robot robot_no] [-auto y|n] [-eject_delay seconds][-sessionid id]
The vlteject command resides in the following directory:
UNIX
/usr/openv/netbackup/bin
Windows
install_path\NetBackup\bin
The following is a vlteject command example that ejects media for all robots that have sessions for which media has not yet ejected and that 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
The following is a vlteject command example that previews the media to be ejected for the CustomerDB vault:
vlteject -vault CustomerDB -preview
See the NetBackup Commands Reference Guide for more information about the vlteject command.
See also "Using NetBackup Commands" in the NetBackup Administration Console help.
To eject media by using the vlteject command
- In a terminal window or command window, change to the directory in which the vlteject command resides.
- Run the command, using the appropriate options and parameters.