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.