Use --dump-dir instead of --backup-dir to supress dump-server-state warning

This commit is contained in:
Ludovic Poujol 2022-04-20 09:51:44 +02:00
parent 1efca713c0
commit c01e6d11cd
2 changed files with 3 additions and 1 deletions

View file

@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
* Use --dump-dir instead of --backup-dir to supress dump-server-state warning
### Deprecated
### Removed

View file

@ -328,7 +328,7 @@ if [ "${LOCAL_TASKS}" = "1" ]; then
if [ "${SYSTEM}" = "linux" ]; then
if [ -n "${dump_server_state_bin}" ]; then
${dump_server_state_bin} --all --force --backup-dir "${server_state_dir}"
${dump_server_state_bin} --all --force --dump-dir "${server_state_dir}"
else
mkdir -p "${server_state_dir}"