Backup grafana container data


I have a grafana instance running that I started with:docker run -d -p 3000:3000 grafana/grafana
I notice that if I quit the server I lost all the configuration I have done on grafana. How can I backup that data so next time I run grafana I can use a docker volume?

Thank you

This links could help you. Understanding Docker Volume: Persisting a Grafana Configuration File — Data Machines Corp.

1 Like