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:
Specifies the name of the NetVault Backup Server that administers the job. | |||
Specifies the report class. Class names are case-insensitive. When a class name is specified with the -class option, the default template file associated with the class is used to run a report. For more information about the available report classes, see Report classes | |||
Specifies the “nice name” of the template file. nvreport -templatename “Client Machines - cli default template” | |||
Specifies the name of the template file. You must specify the full file path with this option. nvreport -templatefile C:\NetVaulBackup\reports\templates\logsclidefault
|
The following table provides a brief description of the report classes available in NetVault Backup.
The following table provides the “nice name” and filename of the plain text template files.
The nvreport utility provides several options to format the layout and content of a report. The following sections outline the use of these options.
You can use one of the following methods to find the real names:
To obtain a list of valid field names for a canned report class, type the following command:
The output includes four columns: Real name, Field name, Data type, and Description.
This command displays all fields that are available with the specified canned report. It includes even those fields that are not displayed when you run the report. You can include these additional fields using the format option. For more information, see Adding or removing columns.
To determine the default fields for a template file, follow these steps:
2 |
Run the nvreport -help fields [Class Name] command. |
Open the template file in a text editor. In this file, the %FORMAT line provides the Real Name for the fields. You can find the template files in <NetVault Backup home>\reports\templates on Windows and <NetVault Backup home>/reports/templates on Linux.
The %FORMAT line of a template file only includes Real Names for the fields displayed when a report is run.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center