Chat now with support
Chat with Support

NetVault 11.3 - CLI Reference Guide

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

nvmeddbcheck

Verifies the structural, entity, and referential integrity of the Media Database. It checks the following:

Table 81. nvmeddbcheck

List

Lists various records stored in the Media Database. The output includes the following items:

You can use this option to determine which records should be deleted.

Check

Performs database checks, and displays the status. You can use -v with this option to specify the minimum severity level of messages that are displayed.

-v

Specifies the minimum severity level of messages that are displayed. -v can take the following values:

all: All messages
back: Background messages
inf: Information messages
job: Job messages
warn: Warnings
error: Errors
severe: Severe errors

When you set the severity level, only messages at that level and higher are displayed.

Compact

Performs database checks, and removes inconsistent and invalid entries identified during the Check phase. You can use the -v and -f options with this option. -v lets you specify the minimum severity level of messages that are displayed; -f lets you purge retired RAS segments and indexes.

-f

Purges retired RAS segments and indexes from the Media Database. This option can only be used with the Compact option.

nvpassword

Changes NetVault Backup password for server or client on which this utility is run. This utility is available in the <NetVault Backup home>\bin directory.

\ and spaces
On Linux shell: \<\>\&#\|/\"\':\*.-\`\(\)[]{}\$@?
On Windows command prompt: "<>&#|/""':*.-`()[]{}$@?".

nvpluginaccess

Enables CLI backups and generation of CLI-based reports for plug-ins that require the use of database-related utility (for example, “onbar” for Informix database users and “rman” for Oracle). For more information, see the relevant plug-in user’s guide.

Table 82. nvpluginaccess

-client

Specifies the name of the NetVault Backup Client.

-account

Specifies the name of the NetVault Backup user account that you want to use with this command.

The specified user account must be granted all privileges in NetVault Backup.

-password

Specifies the password for the user account.

nvpgdbpasswd

Use this utility to change the password for the PostgreSQL database superuser.

(The password is initially set when you install or upgrade the NetVault Backup Server software.)

Table 83. nvpgdbpasswd

store <password>

Updates the PostgreSQL database superuser password in the pgdb.cfg file (NetVault Backup configuration file). It does not change the superuser password in the PostgreSQL Database itself; it just updates the pgdb.cfg file.

You can use this option to update the password in the configuration file after the password is changed in the database using any PostgreSQL native tool (for example, the psql utility).

change <current password> <new password>

Changes the database superuser password both in the PostgreSQL DB and in the pgdb.cfg file.

You must specify both the current password and the new password with this option.

\ and spaces
On Linux shell: \<\>\&#\|/\"\':\*.-\`\(\)[]{}\$@?
On Windows command prompt: "<>&#|/""':*.-`()[]{}$@?".
Related Documents