Export datasource

Hi all,

Actually my grafana version is 4.X and i would like to upgrade to the version 5.X.
I’ve export my dashboard but i don’t find a solution to export datasource to the new version

how do you do when you upgrade grafana to keep your datasource ?

Hi,

Just upgrade, see upgrade documentation. Don’t forget to take a backup of your database in case any unexpected would happen.

If you just want to try out 5.x side by side with 4.x. Install 5.x on a new server/instance. Backup config and database of 4.x and restore it for new instance. Start 5.x instance - should automatically migrate database.

Note that there may have been configuration changes between your versions so please double check that your custom configurations, if any, still are valid.

Marcus