지금 지원 담당자와 채팅
지원 담당자와 채팅

NetVault 11.4.5 - CLI Reference Guide

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

nvsmartdisk

Performs the following functions:

Table 32. nvsmartdisk

--add

Adds a Quest NetVault SmartDisk. Use the following options with -add.

--host: Specifies the DNS name or IP address of the host on which the Quest NetVault SmartDisk is installed. You must configure this option even if the device is deployed on the NetVault Backup Server. The device is not added if the NetVault Server is unable to resolve the host name.
--force: Adds a Quest NetVault SmartDisk even if the device is already added to another NetVault Backup Server with the same name. This option can be useful if you have performed a disaster recovery to rebuild the NetVault Backup Server.
--port: Specifies the port for communicating with the Quest NetVault SmartDisk instance. This option is only required if device is configured to use a non-default port.
--server: Specifies the name of the NetVault Backup Server to which you want to add the device. This option is not required if you are running the command on the server.

--remove

Removes a Quest NetVault SmartDisk. Use the following options with -remove.

--device: Specifies the name of the Quest NetVault SmartDisk as it appears in the NetVault WebUI, CLI, and reports.
--force: Removes a Quest NetVault SmartDisk even if the device cannot be contacted or some other errors block the removal.

--list

Lists the machine names of all Quest NetVault SmartDisk instances added to the NetVault Backup Server.

Media-specific utilities

 

nvblankmedia

Blanks a piece of media.

Table 33. nvblankmedia

-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 library that contains the target media item.

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

If the media label is not unique for media in all available devices, use this option with either ‑libraryname or -drivename.

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

-drivename

Specifies the name of the drive that contains the target media item.

This option is ignored when the target media is already loaded in a drive; the media item is blanked even if you specify an incorrect drive.

-wait

Waits until the task has completed.

nvbulkblankmedia

Blanks one or more media items in the specified library.

-libraryname

Specifies the name of the library that contains the target media item.

-barcode

Specifies the barcode of the target media item.

-medialabel

Specifies the label of the target media item.

This option supports the wildcard character “*” that can be used to represent a string of characters. If a media label contains the character “*”, use the backslash character (\) to escape “*”. For example, to blank media items with the label “media*star”, use the ‑medialabel option as follows:

-medialabel “media\*star

-allmedia

Blanks all media items in the specified library.

-password

Specifies the password for the NetVault Backup Server.

If no password is set for the NetVault Backup Server, provide the system's root or administrator password.

-wait

Waits until the task has completed.

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택