Aktualisieren config.yaml
This commit is contained in:
parent
d40786830b
commit
d2fdbacbbb
27
config.yaml
Normal file
27
config.yaml
Normal file
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user