サポートと今すぐチャット
サポートとのチャット

NetVault 11.4.5 - CLI Reference Guide

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

nvreusemedia

Marks a piece of media for reuse.

Table 44. nvreusemedia

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

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 Backup 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 Backup Server must have the same NetVault Backup 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 Backup 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 Backup Server, or loaded on a device controlled by a different NetVault Backup Server. NetVault Backup 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 45. nvscanmedia

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

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

nvsyncronizesilomedia

Allocates all the known media in the specified ACSLS 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.

nvupdateserialnumber

Updates the serial number of any drive in the specified library back to its original number.

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

-bayname

Specifies the name of the drive bay in which the target drive is located.

-checkonly

Checks the media serial number.

関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択