Move\Migrate Grafana

Hi, I want to migrate a grafana installation (v 5.3.4) to a new server.
Is there a guide\docs or best practices to move grafana (without losing data,plugins, configurations, dashboard, datasource, …) from an old server to a newer?

Old Server OS: Ubuntu 16.04
New Server OS: Debian 9.6.0

Thanks !

1 Like

I didn’t find any good doc about it.
I only find this: http://docs.grafana.org/installation/upgrading/#database-backup

Maybe this topic might help you:

https://community.grafana.com/t/backup-restore-grafana-server/121

If it does not work let us know again.

ok. thx.
I will carry out the migration and give feedback.

bye

Hi, it works.

Step:

  1. Install new instance of Grafana
  2. Install used plugin on new server
  3. Stop Grafana service on source and destination server
  4. Copy /var/lib/grafana/grafana.db from old to new server
  5. Check /etc/grafana/grafana.ini
  6. Restart Grafana
  7. Regular connection to the grafana url
  8. Dashboard, datasource, users, psw, team,… are the same

Great !
thanks. bye.

5 Likes