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]
[-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:

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

  1. In the NetBackup Administration window, expand NetBackup Management > Policies.

  2. Click the New Policy button.

  3. In the Add a New Policy dialog box, enter a unique name for the new policy.

  4. Click OK.

  5. In the Add New Policy dialog box, on the Attributes tab, select Vault as the policy type.

  6. On the Schedules tab, click New to create a new schedule.

    The type of backup defaults to Automatic Vault.

  7. Complete the schedule.

  8. Bypass the Client tab (clients are not specified for Vault jobs).

  9. On the Backup Selections tab, enter the vlteject command and the appropriate options for the policy.

  10. Click OK.