Spoof out a borgmatic configuration

This commit is contained in:
Luke Murphy 2020-09-18 10:25:27 +02:00
parent aa6372ed94
commit 4adff2883e
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 29 additions and 0 deletions

29
borgmatic.yml Normal file
View File

@ -0,0 +1,29 @@
location:
repositories:
- {{ env "BORGBASE_REPO" }}
storage:
compression: auto,zstd
encryption_passphrase: CHANGEME
archive_name_format: "{hostname}-{now}"
retention:
keep_daily: 3
keep_weekly: 4
keep_monthly: 12
keep_yearly: 2
prefix: "{hostname}-"
consistency:
checks:
- disabled
check_last: 3
prefix: "{hostname}-"
hooks:
mysql_databases:
- name: {{ env "DB_TABLE" }}
hostname: {{ env "DB_HOST" }}
port: 3306
username: { { env "DB_USER" }}
password: { { secret "db_password" }}