1.3. quasardb export tool¶
1.3.1. Introduction¶
The quasardb export tool (qdb_export, a.k.a. nugliar) retrieves the data from a timeseries into a CSV file. It can also export the configuration file needed by the import tool (qdb_import) if you want to migrate your data.
1.3.2. Quick Reference¶
Option
Usage
Default
display help
display the build version and date
set the cluster URI
qdb://127.0.0.1:2836
specify the timeseries to export
specify the file with the timeseries’s data
--tsv
separate values with tabulations
specify the configuration file to write
--start-date
beginning of the range to export
--end-date
end of the range to export
path to the user’s private file
path to the cluster’s public file
--timeout
connection timeout duration with the server
1.3.3. Program Options¶
-
-h
,
--help
¶
Displays help about the program’s options.
-
--version
¶
Displays the build version and date.
-
-c
,
--cluster
=<cluster_uri>
¶ Specifies the address and port of the quasardb cluster to which the export tool must connect.
- Argument
The URI (list of comma-separated endpoints, i.e. addresses and ports, preceded by
qdb://
) of a cluster on which the tests will be run.- Default value
qdb://127.0.0.1:2836
, the IPv4 localhost address and the port 2836.
-
--ts
=<timeseries_name>
¶ Specifies the timeseries to export.
- Argument
The timeseries’s name.
-
-f
,
--file
=<path_to_file>
¶ Specifies the file receiving the timeseries data.
- Argument
Path to the file.
-
--config
=<path_to_file>
¶ Specifies the configuration file which can be used by the import tool to insert the exported data.
- Argument
Path to the file.
-
--user-credentials-file
=<path_to_file>
¶ Specifies the user’s private key file with both username and secret_key.
- Argument
Path to the file.
-
--cluster-public-key-file
=<path_to_file>
¶ Specifies the path to the cluster’s public key file.
- Argument
Path to the file.