From d2fdbacbbbd7f4fab4a6c3c8ed3e649245991623 Mon Sep 17 00:00:00 2001 From: Thomas Peterson Date: Thu, 22 Apr 2021 11:44:23 +0000 Subject: [PATCH] Aktualisieren config.yaml --- config.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 config.yaml diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..fecfa27 --- /dev/null +++ b/config.yaml @@ -0,0 +1,27 @@ +location: + source_directories: + - /data + repositories: + - ###repo#### + + +storage: + encryption_passphrase: "###token###" + compression: auto,zstd + ssh_command: ssh -i /root/.ssh/id_ed25519 + +retention: + keep_daily: 7 + keep_weekly: 4 + keep_monthly: 6 + keep_yearly: 1 + +consistency: + checks: + - repository + - archives + +hooks: + before_backup: + - docker exec psc_mongodb_1 sh -c 'mongodump --archive' > /data/mongodb.dump + - docker exec psc_mysql_1 /usr/bin/mysqldump -u root --password=Wichtig1 psc > /data/mysql_backup.sql