How to pull data from influxdb_A to influxdb_B?

INFLUXDB_B pull data from INFLUXDB_B ???
image

Check CREATE SUBSCRIPTION in the docs. That will stream new points to another instance.

If you need to copy old data, the backup and restore utilities should be used.

1 Like

SUBSCRIPTION its push, whereas I want pull db

This is not possible with InfluxDB.

Indeed, subscription is push.

You can always create a separate mechanism that reads from one instance with a specific time clause, and immediately write it those points to another instance. Can be, for example, a simple script that you run via cron.

@voiprodrigo what is cron?

Cron aka crontab is explained here :slight_smile:
https://opensource.com/article/17/11/how-use-cron-linux