14.13. Grafana backup¶
14.13.1. Backup grafana configuration file¶
# mkdir grafana-backup
# cp /etc/grafana/grafana.ini grafana-backup
14.13.2. Backup Grafana plugin files¶
In our case yet we don’t use any Grafana plugins, but the plugin folder is include in our backup script.
# mkdir -p grafana-backups/plugins
#cp /var/lib/grafana/plugins grafana-backup/plugins
14.13.3. Backup the database¶
For grafana.taler.net, we are currently using SQL Lite.
# cp /var/lib/grafana/grafana.db /root/grafana-backup/grafana.db-june-27
14.13.4. Backup all files with Borgbackup¶
For undertaking our backups we use Borkbackup. All the above instructions are included into our databases backup script with Borg.