We are bringing up a new instance of Grafana to modernize our infrastructure, moving from pure Docker based installation into Kubernetes environment.
From what I can find in documentation, the only thing that could be exported/imported are dashboards.
Is there a way to easily migrate data (datasources, dashboards etc) from one instance to another? Manual or automated are both fine, it is not a lot of data.
Depends on what database you’re using for storing Grafana’s configuration like dashboards, users etc and/or if you’re planning to switch database. If you’re not planning to switch you’ll usually take a database backup and restore it for your new Grafana instance - it’s important here that you run the same Grafana versions on current and new until database restore is complete - you should then be able to upgrade the new instance to newer Grafana versions.
If you want to migrate Grafana configuration/settings you’ll have to make sure that the new instance uses the same settings. How you do this depends on if you’re using file-based configuration or environment variables.
hi all. this topic seems to be old, but i faced with similar situation.
we are using oracle database/sql query for the most dashboards and don’t have plan to switch database.
basically all of our dashboards live in an instance(old), and now we since we created our own instance(new), we would like to move everything to the new one.
grafana version is the same in both instances. how to move/migrate them using database backup which mentioned above? the link takes me to the page where how can i upgrade the version!
interesting, how to locate that file? our instance running on gaiaclould. i looked to find (/usr/local/etc/grafana/grafana.ini) which provided in (Configure Grafana | Grafana documentation) and could not find it.
second qus: once find it, then what to do?
I don’t have enough information on that since the whole configuration process done by gaia/grafana team, but base on the url, i see all of them contain with gaiacloud, so I think the instance hosted on gaia paltform.