-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackup-daemon.conf
39 lines (27 loc) · 1.01 KB
/
backup-daemon.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
schedule: "0 0 * * *"
schedule: ${?BACKUP_SCHEDULE}
eviction: "0/1d,7d/delete"
eviction: ${?EVICTION_POLICY}
granular_eviction: "7d/delete"
granular_eviction: ${?GRANULAR_EVICTION_POLICY}
storage: /opt/consul/backup-storage
incremental_storage: /opt/consul/backup-storage/inc-backup-storage
enable_full_restore: true
instances_key: "-d"
map_key: "-m"
command: "python3 /opt/consul/scripts/backup.py %(data_folder)s %(dbs)s"
restore_command: "python3 /opt/consul/scripts/restore.py %(data_folder)s %(dbs)s %(skip_acl_recovery)s"
list_instances_in_vault_command: "ls %(data_folder)s"
must_have_env_vars = []
broadcast_address: "0.0.0.0"
broadcast_address: ${?BROADCAST_ADDRESS}
custom_vars = [skip_acl_recovery, {region: "", region: ${?REGION}}]
publish_custom_vars = true
log {
level: INFO
level: ${?LOG_LEVEL}
format: "[%(asctime)s,%(msecs)03d][%(levelname)s] %(message)s"
datefmt: "%Y-%m-%dT%H:%M:%S"
}
}