Update container-restore-from-backup.sh

This commit is contained in:
tteckster 2022-10-27 07:07:54 -04:00 committed by GitHub
parent ba31094dbc
commit b393946358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ PS3="Please enter your choice: "
files="$(ls -A .)"
select filename in ${files}; do msg_ok "You selected ${BL}${filename}${CL}"; break; done
msg_info "Stopping Home Assistant"
docker stop homeassistant
docker stop homeassistant &>/dev/null
msg_ok "Stopped Home Assistant"
msg_info "Restoring Home Assistant using ${filename}"
tar xvf ${filename} -C /var/lib/docker/volumes/hass_config/_data/restore &>/dev/null