Exporting and importing custom reports
This topic describes how to back up the report (apart from a database backup) or to transfer the report to another console using export in XML format and import operations.
This topic provides the information about the following procedures:
Exporting and importing custom reports using the console
To export a report using the console
- In the BMC Release Package and Deployment console, click the Report tab.
- From the left menu, select Reports.
- Locate the report to export, and click Download XML in its associated Actions menu.
- (Optional) When you are offered a file name and asked for the location to save the XML file, you can change the file name and location as needed.
- Click OK.
To import a report using the console
- Click the Report tab.
- From the left menu, select Reports.
- Click Import located on the right after the list of reports.
- Use Browse to locate and select the XML file to import.
- Click Import.
Exporting and importing custom reports using the CLI
To export a report using the command-line interface
- On the command line, change directory to the <product installation directory>/releases/4.3.0/Q.
Run the vlreport command to list the reports available for export, along with their index numbers, as follows:
run vlreport list
The following sample illustrates the output:Available Reports
-----------------
Index. Report Name
52. Database Objects Individual Counts Weekly Report
54. Database Records Individual Count Weekly Report
56. Instance Size Usage Weekly Report
58. Database Objects Total Count Weekly Report
59. Database Records Total Count Weekly Report
61. Deployments Report- Run the vlreport command to export a report as follows:
run vlreport export index output_file- index is the index number displayed by the vlreport command.
- output_file is the file name to use for the XML form of the report. If you specify a path, the path is relative to the current working directory.
To import a report using the command-line interface
- Change directory to the <product installation directory>/releases/4.3.0/Q.
- Run the vlreport command to import an XML report file as follows:
run vlreport install file name- file is the XML report file to import.
- name is the name to use for the imported report. If the name already exists, the system modifies the imported name for uniqueness.
Related topics
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*