The report files generated using the nvreport utility can be saved to the output subdirectory in the reports directory (<NetVault Backup home>\reports\output on Windows and <NetVault Backup home>/reports/output on Linux) and used as required. For example, they can be opened for viewing in a browser or sent as email attachments. The procedure for creating an external report file includes the steps outlined in the following sections:
There are two types of report template files.
• |
HTML template files: These templates are used to by the NetVault WebUI. You can use them with the ‑outputdir option to create HTML-based external files. For more information about these templates, see HTML template files. |
• |
Plain text template files: These templates are used by the CLI utilities to display output in the terminal window. You can use them with the ‑outputdir option to create plain text external files. The plain-text template files contain the text “clidefault” in their filename or “cli default file” or “textual” in their “Nice Name.” For more information about these templates, see Plain text template files. |
Use the following options to create the report file:
• |
-templatename: Specifies the “nice name” of the template file |
• |
-templatefile: Specifies the name of the template file. You must specify the full file path with this option. The report templates are located in the <NetVault Backup home>\reports\ templates directory. |
The syntax for this option is:
If an existing subdirectory is specified with the -outputdir option, it is overwritten when a new report is generated. To retain the contents of an existing report file, use the -appendoutput option. It allows you to append the new report data to the existing report file.
• |
The -title option can be used with the -outputdir option to assign a user-defined to the saved report file. This syntax for using this option is:
If a title is to contain any spaces, the entire value must be enclosed in quotation marks.
• |
This option can be used with the -outputdir option to add a title to any format of template (HTML or plain text. |
• |
When used with the -appendoutput option, the -title option is used as the title of the report that is appended to the existing “output.html” file. The existing report maintains its existing title. |
The following table provides the “nice name” and filename of the HTML template files.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center