Hi
I am new to Grafana and also K8S. I just deployed Grafana using Helm into my Rancher K8S system and I want to know how to backup it.
I tried to follow this document but still confused because I am not sure where $WORKING_DIR or customs.ini are.
Please help.
Thank you very much.
KL
It depends. Let’s assume you are using volume for Grafana DB, so just snapshot that volume (it’s advance k8 topic):
1 Like
Thank you for your answer. I also want to do that as it seems like the easiest way to backup.
However, I have got this issue ‘/var/lib/grafana/plugins’: permission denied’ when I enable persistent volume using Helm as instructed on this link
Deploy Grafana using Helm Charts | Grafana documentation
It depends on your personal preference - there is no the best solution. I hate K8S volumes, so I use SaaS DB (e.g. AWS RDS Aurora) with automated daily snapshots with 30d retention period + manual snapshot before each major upgrade, I have restore exercise once per year. This is my “the easiest way”.
highly recommend you also look at the provisioning of dashboards route