TransWikia.com

Database Migration for Grafana

Server Fault Asked by Chandan Singh on December 7, 2021

Currently i am running Grafana with sqlite3 db and trying to migrate the DB from Sqlite3 to MySql but while doing it on test instance, after migration not seeing old graphs.

Can someone please guide me if i can get the old/historic graphs also after migrating it from sqlite to mysql db.

Thanks in advance for your suggestions ..

2 Answers

We used the migration script here with success: https://community.grafana.com/t/migrating-grafana-data-to-new-database/2454/2?u=thachnv92

(It did fail to properly import dashboards that had backticks in text panels, but worked on all the others.)

Answered by phrend on December 7, 2021

Grafana has no automatic migration tools from one database to another. You need export all your dashboards to json files in old Grafana, and import to a new instance.

Answered by deniszh on December 7, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP