Export data from InfluxDB

前端 未结 7 1722
盖世英雄少女心
盖世英雄少女心 2020-12-13 19:17

Is there a way (plugin or tool) to export the data from the database (or database itself) ? I\'m looking for this feature as I need to migrate a DB from present host to anot

相关标签:
7条回答
  • 2020-12-13 19:42

    If I use curl, I get timeouts, and if I use influxd backup its not in a format I can read.

    I'm getting fine results like this:

    influx -host influxdb.mydomain.com -database primary -format csv -execute "select time,value from \"continuous\" where channel='ch123'" > outtest.csv
    
    0 讨论(0)
提交回复
热议问题