add --force to restore in maintenance script

This commit is contained in:
buanet
2023-11-14 20:45:10 +01:00
parent 92821ab262
commit 6c34c0a081
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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