Open bogo666 opened 3 years ago
@bogo666 Thanks for asking. We'll get some more information and guidance from our engineering team.
@influxdata/edge with the InfluxDB 1.8 influx
command, what file format does the -import
flag expect? Should this just be line protocol or a full export file that includes the DDL?
@sanderson & @bogo666 - the 1.8 import requires DDL and DML commands like a full export file, with the comment lines that provide database and retention policy, etc.
The influx CLI documentation describes an "-import" option having the description "Import a previous database export from file".
However, I cannot find docs on support for the influx CLI tool having such export functionality.
There are influxd commands for backup and restore, but is the backup an "export" usable by the influx CLI -import command?
Relevant URLs
https://docs.influxdata.com/influxdb/v1.8/tools/influx-cli/