admin管理员组

文章数量:1406312

Is there a way to mirror or scrape data from an InfluxDB 1.8 database to a v 2.7.x database?

If I were given two v. 2 databases I think the case would be covered by the (edge) data replication. But I have a v. 1 and v. 2 database and would like to replicate the data that is written to the v.1 database to the v.2 database - ideally in such a way that if the v.2 database is not reachable the data is buffered and then the update is performed once v.2 comes back online.

The specific use case: v.1. is the InfluxDB of Home Assistant, whose retention duration is 6 months and v.2. is the DB on a separate server with an infinite retention duration. The data flow is expected to be v.1 -> v.2 only. I do not mind if the solution utilises the InfluxDB tools (Kapacitor, Telegraf, Scraping) but the target is to collect the values from the database, not the metrics about the database.

本文标签: database replicationScrapingchaining InfluxDB 18 data to InfluxDB 27Stack Overflow