grafana-backup.rst (1726B)
1 .. 2 This file is part of GNU TALER. 3 Copyright (C) 2014-2023 Taler Systems SA 4 5 TALER is free software; you can redistribute it and/or modify it under the 6 terms of the GNU Affero General Public License as published by the Free Software 7 Foundation; either version 2.1, or (at your option) any later version. 8 9 TALER is distributed in the hope that it will be useful, but WITHOUT ANY 10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. 12 13 You should have received a copy of the GNU Affero General Public License along with 14 TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 15 16 @author Javier Sepulveda 17 18 Grafana backup 19 ############## 20 21 Backup grafana configuration file 22 ================================= 23 24 .. code-block:: console 25 26 # mkdir grafana-backup 27 # cp /etc/grafana/grafana.ini grafana-backup 28 29 Backup Grafana plugin files 30 =========================== 31 32 In our case yet we don't use any Grafana plugins, but the plugin 33 folder is include in our backup script. 34 35 .. code-block:: console 36 37 # mkdir -p grafana-backups/plugins 38 #cp /var/lib/grafana/plugins grafana-backup/plugins 39 40 Backup the database 41 =================== 42 43 - For grafana.taler.net, we are currently using SQL Lite. 44 45 .. code-block:: console 46 47 # cp /var/lib/grafana/grafana.db /root/grafana-backup/grafana.db-june-27 48 49 50 Backup all files with Borgbackup 51 ================================ 52 53 For undertaking our backups we use Borkbackup. 54 All the above instructions are included into our databases backup script with Borg. 55 56 * `More information <https://grafana.com/docs/grafana/latest/administration/back-up-grafana/>`_