Update container-restore-from-backup.sh

pull/675/head
tteckster 2 years ago committed by GitHub
parent ba31094dbc
commit b393946358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save

Powered by BW's shoe-string budget.