Browse Source

Update container-restore-from-backup.sh

tteckster 2 năm trước cách đây
mục cha
commit
b393946358
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      misc/container-restore-from-backup.sh

+ 1 - 1
misc/container-restore-from-backup.sh

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