Ejecting media by using the vlteject command

Use the vlteject command to eject media and generate reports for Vault sessions for which media that 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 (that is, 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:

The following is a vlteject 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

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 manual 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

  1. In a terminal or command window, change to the directory in which the vlteject command resides.

  2. Run the command, using the appropriate options and parameters.