Update to 2023-09-20 10:00

This commit is contained in:
Daniel Berteaud
2023-09-20 10:00:24 +02:00
parent fb2734f2bc
commit 5956dad4fd
17 changed files with 44 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
set -eo pipefail
rm -f {{ consul_root_dir }}/backup/consul.snap
rm -f {{ consul_root_dir }}/backup/consul*.snap

View File

@@ -12,4 +12,4 @@ fi
export CONSUL_HTTP_TOKEN={{ consul_backup_token }}
{% endif %}
{% endif %}
consul snapshot save {{ consul_root_dir }}/backup/consul.snap
consul snapshot save -append-filename version,dc,node,status {{ consul_root_dir }}/backup/consul.snap