What is the recommended way to migrate a containerized Grafana .
I have a Grafana 6 and I want to migrate all the dashboards, configuration etc to a new Grafana 7 instance.
I was wondering if besides exporting all the desired resources via API is there another approach like “fork and lift”, maybe connecting the new instance to the old instance’s database ?
Thx
Mount the grafana.db file from a local volume, so it’s not built into the container.
Pass configuration options via environment variables rather than by editing the grafana.ini file
Install plugins via the GF_INSTALL_PLUGINS environment variable
In other words, don’t make any actual changes to files in the container. This will give you infinite flexibility to upgrade to new versions in the future.