{"repo":"wbh1/grafana-sqlite-to-postgres","free":true,"listed":false,"github":"https://github.com/wbh1/grafana-sqlite-to-postgres","clone":"git clone https://github.com/wbh1/grafana-sqlite-to-postgres.git","description":"Grafana SQLite to Postgres Database Migrator","language":"Go","stars":108,"topics":["grafana","postgres","sqlite"],"license":"MIT","category":"databases-storage","readme_excerpt":"Grafana SQLite to Postgres Database Migrator ⚠️ Unmaintained Warning ⚠️ [!WARNING] This project is currently maintained at a \"best-effort\" level. I no longer have the free time to keep up with changes to Grafana's database schema and handle/test edge cases. One day, perhaps this can be rewritten to be more flexible, but it is not now. I'll continue to try to accept PRs as needed. This project started out of necessity and a desire to make a difficult move simpler for others. However, it's not something that I've personally had to use for years, so it's difficult to justify continuing to put in effort to this. Use the project at your own risk (always back up your database [and test the backup!!]). There are some forks of the project that have been kept more up-to-date that you can consider: 1. https://github.com/rl0nergan/grafana-db-migrator/tree/feat/sanitize-booleans 1. This fork was from one of my coworkers, includes massive performance improvements, and was used in 2026 to migrate our [very large] SQLite Grafana DBs 2. https://github.com/percona/grafana-db-migrator 1. The rl0nergan repo above is a fork of Percona's fork of this repo 2. Percona knows more than me about databases. I'd trust them. Background My blog post I ran into the issue of Grafana logging users out because the SQLite database was locked and tokens couldn't be looked up. This is discussed in #10727 on grafana/grafana. The solution is to migrate to a database that isn't the default one of SQLite. Prerequisi","default_branch":null,"files":null,"tree":[],"storefront":"/r/wbh1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wbh1/grafana-sqlite-to-postgres/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}