Converse agora com nosso suporte
Chat com o suporte

NetVault 12.2 - CLI Reference Guide

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

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.

Job-specific utilities

 

IMPORTANT: Several utilities described in this section reference a file named nvsetmodify.cfg. This configuration file includes a list of options used to define a backup job and the associated code number that can be used to identify the option in the CLI. You can find nvsetmodify.cfg in <NetVault Backup home>\config on Windows and <NetVault Backup Home>/config on Linux. When you use the file, verify that you do not modify the contents in any manner. You can take a printout of this file and use the print for reference purposes. This functionality is intended for highly experienced users. Any attempt to use the values provided in this configuration file must be performed under the guidance of Technical Support.

nvexpiresaveset

Performs the following functions:

To delete a specific saveset and its duplicates, use the following options.

-savesetid

Specifies the ID of the saveset that you want to delete. Only a single saveset ID is supported with this form of the command.

The specified saveset is removed immediately. The dependent Incremental and Differential Backups that exist for the saveset are also removed immediately, even if these backups have not reached their retirement date.

-duplicates

Deletes duplicates of the specified saveset. This option can also be used to delete only the saveset of a phase 1 or phase 2 Data Copy backup, since they have different saveset IDs. Accordingly, the required saveset ID can be provided as the input to nvexpiresaveset.

-duplicateonly

Specifies whether only the phase 2 saveset is to be deleted. Use this option ONLY for deleting a phase 2 Duplicate copy.

To mark multiple savesets and their duplicates for deletion, use the following options.

-markforexpiry

Marks savesets specified in the input file (infile) for deletion.

If no dependent Incremental or Differential Backups exist for a saveset, the saveset is removed when the Media Manager performs the next retirement check. By default, these checks are performed at the interval of 60 minutes. To change the interval between two checks, configure the Retirement Check Granularity in Mins setting in the mediamgr.cfg file. For more information about this setting, see Quest NetVault Backup Administrator’s Guide.

If any dependent Incremental or Differential Backups exist for a saveset, the saveset is removed only after all dependent backups have reached their retirement date.

-duplicates

Marks duplicates of the specified savesets for deletion. This option can also be used to delete only the saveset of a phase 1 or phase 2 Data Copy backup, since they have different saveset IDs. Accordingly, the required saveset ID can be provided as the input to nvexpiresaveset.

-success

Includes ID numbers of the successful savesets in the output file. Without this option, the utility includes ID numbers of the failed savesets in the output file.

-infile

Specifies the name of the input file.

The input file contains the ID numbers of the savesets that you want to mark for deletion. You can use any text editor to create this file. Specify one saveset ID per line. Provide the complete path if the input file is not located in the directory from which you run the utility.

-outfile

Specifies the name of the output file.

By default, the file is created in the directory from which you run the utility. Provide the complete path if you want to save the file in a different location.

To view the version of NetVault Backup distribution, use the following option.

Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação