Chat now with support
Chat with Support

NetVault 13.2 - CLI Reference Guide

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

nvmediadetails

Displays details pertaining to media items and media groups.

Table 44. nvmediadetails

-label

Specifies the media a label for the target media item.

You can specify a few initial characters to search for media items with matching labels.

-group

Specifies the media group label of the target media item.

-all

Displays details for all media items.

-listlabels

Displays details for all media items that are assigned a media label. The “-group” option can be used with this option to displays media details for a particular media group.

-listgroups

Lists available media groups.

-version

Displays the build date of the NetVault distribution installed on the machine.

nvremovemedia

Deletes all information about a piece of media from NetVault Database.

Table 45. nvremovemedia

-label

Specifies the media a label for the target media item.

-displaymedialist

Provides a list of media items that have a media label.

-version

Displays the build date of the NetVault distribution installed on the machine.

nvreusemedia

Marks a piece of media for reuse.

Table 46. nvreusemedia

-servername

Specifies the name of the NetVault 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.

nvscanmedia

Scans media items.

You can use this utility to query all backups stored on a tape and import those backups that are not indexed in the given NetVault Server’s database. You can also use the Scan method to import “foreign” tapes into the NetVault Database.

To import backups to the database, the NetVault Server must have the same NetVault Machine Name as the original server that performed the backups. The amount of time it takes to scan the tapes depends on the number of backups that need to be imported and the size of the backup indexes. The scanning process does not read the data on the tape; this process skips between the start and end of backups to read the index for each backup saveset.

A tape is marked “foreign” when NetVault cannot find any information about that item in the NetVault Database. This issue can occur when a tape is swapped between libraries, removed from the NetVault Server, or loaded on a device controlled by a different NetVault Server. NetVault cannot process data stored in a foreign tape until you scan the tape and import the media information into the NetVault Database. The scanning process retrieves the header information from the tape and adds this information to the NetVault Database.

Table 47. nvscanmedia

-servername

Specifies the name of the NetVault 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.

-scanall

Scans all the labels and drives of the media item. The machine name of Tape Library/VTLs is mandatory for this option. For example,

nvscanmedia.exe -servername HIPUNP57176 -scanall "HIPUNP57176: C:\vtl".

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

-rasdevice

Specifies the name of the disk-based device that you want to scan.

-force

Forces NetVault to run the scan operation for unknown media items. This option cannot be used with disk-based storage devices.

-minlifedays

Specifies the minimum life for backups that are imported to the NetVault Database. This option only applies to the backups that are not available in the NetVault Database.

The minimum life setting is specified in number of days.

Depending on the value set for this option, the retirement time for imported backups is modified as follows:

-wait

Waits until the task has completed.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating