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

nvtrace

Use this utility to perform the following tasks:

Table 87. nvtrace

--status

Displays whether tracing is enabled or disabled on the specified machine. You can use the following option with --status:

--client: Specifies the NetVault Backup Client. If the client name is not specified, the status of tracing on the server is displayed.

--enable

Enables tracing on the specified machine. You can use the following options with ‑‑enable:

--client: Specifies the NetVault Backup Client. If the client name is not specified, tracing is enabled on the NetVault Backup Server.
--startat: Specifies the date and time when tracing should be started on the machine. The format for specifying this option is YYYYMMDDHHMMSS.
--stopat: Specifies the date and time when tracing should be stopped on the machine. The format for specifying this option is YYYYMMDDHHMMSS.
You can omit the --startat and --stopat options to start tracing immediately.
--processes: Specifies the processes for which trace files are required. You can provide a comma-separated list of process ID numbers to generate trace files for the specified processes.

--disable

Disables tracing on the specified machine. You can use the following option with ‑‑disable:

--client: Specifies the NetVault Backup Client. If the client name is not specified, tracing is disabled on the server.

Using the nvreport utility

About nvreport utility

The nvreport utility allows you to generate and view canned reports from the command-line interface. These reports provide information about the backup and restore jobs, storage devices, clients, media utilization, and other aspects of NetVault Backup.

To access help for nvreport, type:

The nvreport utility uses “template” files to output the report data. The template files determine the content, layout, and format of the report. The report templates are located in the <NetVault Backup home>\reports\ templates directory.

There are two methods to specify a template file to generate a report:

Using the actual filename: You can use the “-templatefile” option to specify the actual template file that you want to use. With this option, you must provide the full file path for the template file.
Using the “nice name”: Each template file has an alternate name value known as its “nice name.” This name is used for the template file in the NetVault WebUI. Specify this “Nice Name” with the “‑templatename” option.

To access help for the template files, type:

 

Table 88. nvreport

-server

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.

-class

Specifies the report class. Class names are case-insensitive.

The main purpose of a class is to organize the individual report components or template files into groups. These template files are used to generate the reports.

When a class name is specified with the -class option, the default template file associated with the class is used to run a report.

Example:

nvreport -class Clients

For more information about the available report classes, see Report classes

-templatename

Specifies the “nice name” of the template file.

Example:

nvreport -templatename “Client Machines - cli default template”

Note the following:

For more information, see Plain text template files.

-templatefile

Specifies the name of the template file. You must specify the full file path with this option.

Example:

nvreport -templatefile C:\NetVaulBackup\reports\templates\logsclidefault

Note the following:

The report templates are located in the <NetVault Backup home>\reports\ templates directory.

For more information, see Plain text template files.

Report classes

The following table provides a brief description of the report classes available in NetVault Backup.

Table 89. Report classes

Advanced Options

Displays all Advanced Options Sets and their details.

Audits

Displays all operations attempted by a specific user account with their result (“Yes”, if granted; “No”, if denied) and date and time each operation was attempted.

Backup Targets

Displays all Backup Target Sets and their details.

Client Groups

Lists all client groups. The report includes:

Clients

Displays the status of the added clients. The report includes:

Defined Jobs

Displays all job definitions. The report includes:

Drive Events

Lists events related to drives controlled of the server. The report includes:

Drive Performance Statistics

Displays the performance statistics for all drives controlled by the server. The report includes:

Drives

Lists all drives accessible to NetVault Backup. The report includes:

Entry/Exit Ports

Lists all entry/exit ports (EEPorts) that exist in any libraries controlled of the server. The report also includes the details of media items residing in the E/E port.

Job History

Provides a summary of jobs performed during the specified period. The report includes:

Libraries

Lists all libraries controlled by the server. The report includes:

Library Drives

Lists all drives controlled by the server. The report also includes the details of media items residing in the drive.

Library Slots

Lists all slots that exist in libraries controlled by the server. The report also includes the details of media items residing in the slots.

License Capabilities

Provides a summary of available and used licenses for NetVault Backup.

Media

Lists media items in use by devices controlled by the server. The report includes:

Media Capacities

Displays the media capacity details for media items available in the libraries and drives controlled by the server.

Media Job Contents

Lists all backup savesets stored on available media. The report includes:

Media Requests

Displays media request details. The report includes:

Media Segment Contents

Provides a summary of media segments. The report includes:

Media Transfer Requests

Displays all transfer requests. The details include:

NetVault Event Types

Displays all event types.

NetVault Events

Displays all events raised during the specified period. The report includes:

NetVault Logs

Displays all log messages. Based on the number of log entries that exist in the NetVault Database, it may take several minutes for this command to display the results.

Notifications

Lists all events for which any notification method is set. The report includes:

Operator Messages

Displays all outstanding operator messages. The report includes:

If all the operator messages have been acknowledged or deleted, this report returns no information.

Policies

Provides a summary of backup policies. The report includes:

Policy Clients

Lists all clients included in a policy. The report includes:

Policy Jobs

Lists all jobs included in a policy. The report includes:

Privileges

Lists the privileges currently granted to each user.

Report Templates

Displays all report template files that are saved in the templates subdirectory (<NetVault Backup home>\reports\templates on Windows and <NetVault Backup home>/reports/templates on Linux). The report includes:

Schedule Sets

Displays all Schedule Sets and their details.

Segments

Lists all segments for a backup job. The report includes:

Selection Options Sets

Displays all Backup Options Sets and their details.

Selection Sets

Displays all Selection Sets and their details

Users

Lists all NetVault Backup users. The report includes:

Related Documents