Migrate rrd4j data to InfluxDB

Here is the first version of my script.

The script is not pretty, but you only need it once to migrate all your data. :wink:

Possible problems:

  • I am not sure if the defined timestamps are correct to read as much data as possible
  • I am running influxdb as a docker conatiner on my raspberry pi.
    After importing four items with ~1000 values each, the container uses ~80% of my pi’s memory. :frowning:
    After restarting influxdb, the memory usage gets normal again.
    If you run the databse on a little system like the pi, I recommand stopping other services for the time being. My system got almost unresponsive last evening.