1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-27 10:57:02 +02:00

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

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