Grafana use sqlite3 database by default.
So, Grafana store the data in “Grafana.db” file.
Path of database file
/var/lib/Grafana/Grafana.db
So, just copy the file and paste to the new server, then restart the server.
systemctl restart grafana-server
Now your new Grafana server is ready.
Also checkout This Setup:- How to setup Grafana Dashboard on CentOS 7