Can someone tell me, what command line syntax, I need to do a Snapshot restore, using Putty???
Not sure you can, I pulled my sd card and un-tarred the snapshot in windows, then copied the config files back to the config dir on the sd card and put it back in the pi.
hassio sn restore name
But why?
Just copy snapshot back to backup folder. So you need to install the samba addon in the new Hassio install and then click on refresh icon in top right of snapshot window and then restore the snapshot.
If you just unzip the snapshot all kinds of things won’t get restored (certificates, addons etc)
Here is what I do from ssh
Just had to restore a snapshot and could not get the frontend to come up.
Searched the forum but none of the answers had the correct syntax.
First you want to list the snapshots you have
hassio snapshots list
That will give you a list of the snapshots you have on your system
The key was not using the name but the slug
copy the slug name with the “” from the list and use it below in
place of my slug name “b9886fa2”
hassio snapshots restore -name “b9886fa2”
Wait for the system to restart and all should be good
Hope this helps someone.
When I upgraded to 0.69.1, it hosed my setup. I start HA, I get; (this part is NORMAL)
2018-05-17 06:46:09 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-05-17 06:46:28 ERROR (SyncWorker_18) [homeassistant.components.sensor.cert_expiry] Cannot connect to dCon0ne.duckdns.org
2018-05-17 06:46:33 ERROR (SyncWorker_7) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
But, when I try to open the HA webpage,(which should, automatically logs in), I get the following errors, and the browser displays the Login page.
UPDATE: While trying to reproduce the ERROR Log, that is created when trying to login to HA. HA started to boot-up properly again, with only the NORMAL errors, as seen above…
Go Figure!!!
The home-assistant.log would have looked like the following,_(before it self-corrected itself).
2018-05-16 20:51:34 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-05-16 20:52:05 ERROR (SyncWorker_6) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:53:13 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:54:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:55:48 ERROR (Recorder) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:55:48 ERROR (Recorder) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:55:48 ERROR (Recorder) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:55:48 ERROR (Recorder) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:55:48 ERROR (Recorder) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:55:48 ERROR (Recorder) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:55:49 ERROR (Recorder) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:55:49 ERROR (Recorder) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:08 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:08 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:08 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:08 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:08 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:09 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:09 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:09 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:09 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:09 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:09 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:09 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:09 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:57:09 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-05-16 20:58:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
```_
Maybe you need to setup the SD Card with Hassio again? My But Why was related to asking why you want to use ssh to restore the snapshot. It seems you have more fundamental problems than that.