一:导出

influx_inspect export -datadir "/var/lib/influxdb/data" -waldir "/var/lib/influxdb/wal" -out "energy" -database energy  -start 2019-07-21T08:00:01Z

二:导入

influx -import -username 'yilong' -password 'yilong2021' -path=energy -precision=ns -database abc