Export Report (exportrpt) Reference
Name
exportrpt - Report definition export tool
Synopsis
exportrpt -databaseURL=<connection URL> -username=<user name> -passwd=<password>
Description
Exportrpt is a command-line tool for exporting report definitions from a database to files. For each report in a the report table on the database connected to exportrpt creates a file following the convention of reportname-grade.xml.
Options
-databaseURL=<connection URL>
- psql://servername/database:port
- somehost.openmfg.com
- mydb
- psql://somehost.openmfg.com/mydb
- psql://192.168.128.64/dbtest:2345
Specify the connection information that exportrpt should use when loading a report definition. The connection URL is in the following format:
In the connection URL, the servername is the host or IP address of the server where the database is running.
The database is the name of the actual database you want to connect to on the specified server.
The last option, port, is optional. If included, it must follow the color and be a valid port number. If the port is not specified, the default port of '5432' is used. For example, if you wanted to connect to the database 'mydb' on the server 'somehost.openmfg.com' using the default port, you would use the following URL:
Similarly, if you wanted to connect to the database 'dbtest' on the server '192.168.128.64' using the port 2345 you would use the following connection URL:
-username=<password>
- The user name you are using to connect to the server and database.
-passwd=<password>
The password for the user name you specified.
