Migration from 1.7.6 to 3.0 Core

I want to migrate a large archive from version 1.7.6 to core version 3.0, running on two different instances.
At this point, I’m looking for a roadmap.

Should I use telegraf, or should I use a Python script? If so, what should this script look like?

The best way to migrate from InfluxDB v1.7.6 to 3.x is to dual-write new data to both databases at the same time. You can do this with Python or Telegraf by setting up two output plugins - one for each InfluxDB instance. For old data, use a Python script to read from v1.7.6 and write to 3.0, making sure to use the correct client libraries for each version. Both versions support InfluxQL, so your queries can stay the same. For details and examples, see Use Telegraf to dual write to InfluxDB. Hope this helps.

1 Like