Chat now with support
Chat with Support

NetVault 11.4 - CLI Reference Guide

Introduction Getting started Using the command-line utilities Using the nvreport utility

nvexportmedia

Exports a piece of media from a tape library to its entry/exit port (EEPort).

Table 35. nvexportmedia

-servername

Specifies the name of the NetVault Backup Server that administers the job.

This option is required when a remote server administers the job. It can be omitted when a local server administers the job. The server name is case‑sensitive.

-barcode

Specifies the barcode of the target media item.

-medialabel

Specifies the label of the target media item.

Use this option only when searching by media label. If a media label contains spaces, enclose it within quotation marks (“”).

Example: “Full DB Backups”

-slotspec

Specifies the name of the library and slot number where the target media item resides. These two values must be separated using a double colon delimiter (“::”). Use this option only when searching by library slot.

-wait

Waits until the task has completed.

nvlabelmedia

Use this utility to label new media items or re-label existing media items.

Table 36. nvlabelmedia

-servername

Specifies the name of the NetVault Backup Server that administers the job.

This option is required when a remote server administers the job. It can be omitted when a local server administers the job. The server name is case‑sensitive.

-barcode

Specifies the barcode of the target media item.

-medialabel

Specifies the label of the target media item.

Use this option only when searching by media label. If a media label contains spaces, enclose it within quotation marks (“”).

Example: “Full DB Backups”

-slotspec

Specifies the name of the library and slot number where the target media item resides. These two values must be separated using a double colon delimiter (“::”). Use this option only when searching by library slot.

-newlabelname

Specifies the new label for the selected piece of media. If the new media label contains spaces, use underscores (“_”) in their place.

Example: “new_label_1”

-newgroupname

Specifies the new media group for the selected media piece of media. If the media group label contains spaces, use underscores (“_”) in their place.

Example: “new_group_1”

-newoffsitelocation

Specifies the new offsite location for the selected piece of media.

-wait

Waits until the task has completed.

To re-label media items that contain existing backups, you first blank it using the nvblankmedia or mark it for reuse using the nvreusemedia command.

nvlistblankmedia

Displays slots containing blank media items on the specified library.

-servername

Specifies the name of the NetVault Backup Server that administers the job.

This option is required when a remote server administers the job. It can be omitted when a local server administers the job. The server name is case‑sensitive.

-libraryname

Specifies the name of the target library.

nvlistmedia

Lists media items marked with the following tags:

Table 38. nvlistmedia

-servername

Specifies the name of the NetVault Backup Server that administers the job.

This option is required when a remote server administers the job. It can be omitted when a local server administers the job. The server name is case‑sensitive.

-libraryname

Specifies the name of the target library.

-readonly

Lists read-only media items.

-reusable

Lists media items marked for reuse.

-unusable

Lists media items with the “unusable” tag.

-bad

Lists media items with the “bad” tag.

-needsimport

Lists media items that need to be imported.

-needsrecovery

Lists media items that need recovery.

-group

Lists media items that belong to any media group

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating