Vaulting container media by using the vltcontainers command
After the media eject from your robot, you can use the vltcontainers command to enter the container ID and media IDs. The following is the format of the vltcontainers command:
vltcontainers -run [-rn robot_number] vltcontainers -run -usingbarcodes [-rn robot_number] vltcontainers -run -vltcid container_id -vault vault_name -sessionid session_id vltcontainers -run -vltcid container_id -f file_name [-rn robot_number] [-usingbarcodes] vltcontainers -view [-vltcid container_id] vltcontainers -change -vltcid container_id -rd return_date vltcontainers -delete -vltcid container_id vltcontainers -version
The following examples show how to use the vltcontainers command to add media to a container:
To add the volumes that were ejected from robot number 0 to containers and enter the IDs by typing them in, use the following command:
vltcontainers -run -rn 0
To add the volumes that were ejected from robot number 0 to containers and use a barcode reader to scan the container ID and media IDs, use the following command:
vltcontainers -run -usingbarcodes -rn 0
To change the return date of container ABC123 to December 07, 2004, use the following command:
vltcontainers -change -vltcid ABC123 -rd 12/07/2004
To delete container ABC123 from the NetBackup and Media Manager catalogs, use the following command:
vltcontainers -delete -vltcid ABC123
To add all media that were ejected by session 4 of vault MyVault_Cntrs to container ABC123, use the following command:
vltcontainers -run -vltcid ABC123 -vault MyVault_Cntrs -sessionid 4
To add media that were listed in file C:\home\jack\medialist that are ejected from robot number 0 to container ABC123, use the following command:
vltcontainers -run -vltcid ABC123 -f C:\home\jack\medialist -rn 0
To add media to container ABC123 that was ejected from a robot that is attached to the primary server and read the barcodes for that media from file C:\home\jack\medialist, use the following command:
vltcontainers -run -vltcid ABC123 -f C:\home\jack\medialist -usingbarcodes
See the NetBackup Commands Reference Guide for more information about the vltcontainers command.
See also, "Using NetBackup Commands" in the NetBackup Administration Console help.
To vault container media by using the vltcontainers command
- Eject the media to be added to the containers.
- Run the vltcontainers command, using the appropriate options and parameters.
- Follow the prompts to move the media logically into containers.