From 6c34c0a0819b28769a4033d32a24e2aa2ad2ddee Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 14 Nov 2023 20:45:10 +0100 Subject: [PATCH] add --force to restore in maintenance script --- CHANGELOG.md | 1 + debian12/scripts/maintenance.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a8bcaf4..fc85da2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## Changelog ### v9.1.0-beta.2 (coming soon) +* add --force to restore in maintenance script * improve shebang in scripts for downgrade and portability * enhance logging/ fix typos * add env PACKAGES_UPDATE and remove automatic package updates on first container start diff --git a/debian12/scripts/maintenance.sh b/debian12/scripts/maintenance.sh index 63579669..8de246bc 100644 --- a/debian12/scripts/maintenance.sh +++ b/debian12/scripts/maintenance.sh @@ -272,7 +272,7 @@ restore_iobroker() { # restoe backup echo -n "Restoring ioBroker from $selected_backup... " set +e - bash iobroker restore "$selected_backup" > /opt/iobroker/log/restore.log 2>&1 + bash iobroker restore "$selected_backup" --force > /opt/iobroker/log/restore.log 2>&1 return_value=$? set -e