-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackup-daemon.conf
36 lines (23 loc) · 972 Bytes
/
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
{
schedule: "0 0 * * *"
schedule: ${?BACKUP_SCHEDULE}
eviction: "0/1d,7d/delete"
eviction: ${?EVICTION_POLICY}
granular_eviction: "7d/delete"
granular_eviction: ${?GRANULAR_EVICTION_POLICY}
enable_full_restore: true
storage: /backup-storage
instances_key: "-d"
map_key: "-m"
command: "python3 /opt/elasticsearch-curator/backup.py %(data_folder)s %(dbs)s"
restore_command: "python3 /opt/elasticsearch-curator/restore.py %(data_folder)s %(skip_users_recovery)s %(dbs)s %(dbmap)s %(clean)s"
evict_command: "python3 /opt/elasticsearch-curator/evict.py %(data_folder)s"
list_instances_in_vault_command: "python3 /opt/elasticsearch-curator/list_instances_in_vault.py %(data_folder)s"
must_have_env_vars: []
custom_vars = [skip_users_recovery, clean]
log {
level: INFO
level: ${?LOG_LEVEL}
format: "%(asctime)s %(levelname)-5s [%(name)s] [%(thread)d] - %(message)s"
}
}