Insert data from Influxdb OSS to Influxdb Cloud periodically

Hello you all.

I have an edge architecture with Influxdb OSS and grafana for real time. I would like to export periodically (for instance once a daily, or weekly) aggregated metrics to an instance of Influxdb Cloud, just for sharing historical analysis.

Is there a way of doing so running a Flux script from the cloud? What is the best way to import new data from local Influxdb database to the cloud periodically?

Thanks in advance!

Hello @rudoce,
Have you seen this blog?