Saving time series data from docker container

I am using node-red in a docker container. The persistent data is stored outside the container in a named data volume. But the time series data from mqtt is lost every time the container is restarted. Is there a way to store this data as well, so that not all graphs are empty at every restart?


Welcome to the forum @polareisbaer

Are you storing the time series data, or are you relying on the chart to keep the data?

I keep the data only in the chart. So I want to keep the charts.

This should help. Simple save and restore for node-red-dashboard chart (flow) - Node-RED

1 Like

Of course, there are many ways to do this in Node-RED. Colin showed 1 but you could equally set up a file-based context store and use that instead.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.