Due to an hassio update problem, I decided to take a full snapshot and download it from my HASS setup.
I then formatted and reinstalled HASS on the SD card, put the snapshot file into the backup folder and wanted to restore that snapshot via wipe/ restore feature.
but it did not change anything and a fear that all the hard work is just gone…
am I doing something wrong or did I have a misunderstanding of snapshots?
You’re not really saying what the problem is? Do you see the snapshot and can you click on it and restore? With a clean install I have restored a snapshot a couple of times with no problem.
If you open the rar snapshot file is there anything in it?
I decided to update to the new HassOS following the instructions here so I can finally use my RP3B+. I made a snapshot before starting and made a copy of the 4 files available over samba share. I have downloaded the new image, flashed using etcher, installed smb add-on, and copied the snapshot back to the new build. The snapshot is about 440MB. When I click restore I get a message asking if I’m sure and I continue then it says it’s doing a partial restore after which point I can’t get back in. Any idea how long the restore should take? Should I see a progress bar or anything? Thanks for any help.
I’d like an answer to that too. I just tried to recover my HA on RPi and waited for ten minutes with no obvious changes and now 30 minutes later the Overview is just the default icons.
How long does restore take (before you know it’s failed) ?
Is there any way to know if it’s progressing ?
Is there a reboot required ?
Did your snapshot restore ever finish? I’ve tried to restore from snapshots in several instances and it’s never worked for me. I’m not sure what exactly has happened.
Yes they did. There may not have been an issue at all in my case but for the lack of GUI feedback to let the user know that it’s progressing. The log info viewer in the developer tools in the bottom of the LHS menus does show a few hints is you keep refreshing it every 20 seconds or so. Other than that you’d not know it was happening until the status view is back.
One thing might trip you up, if the snapshot has a configuration that causes fatal boot errors, it might either not complete the snapshot restore or might stop the HA server (HASSOS and SAMBA might still be working).
This could happen if you create a snapshot with unrestarted config changes in the YAML’s.
As an example, Whitelisting any directories kills my HA if try restarting… I have to edit it out via SAMBA access.
Has anybody figured this out? I have reflashed my SD card and can get Hassio to pull up. I setup Samba, move the backups into the backup folder, and then hit Wipe & Restore…then nothing. I let it sit for several hours. I have done this four times now.
What’s the file size of your backups? My latest full snapshot had 300mb. A really early one had around 30mb for reference. So if your snapshot is really small something might went wrong during the making of the snapshot.
Hi i´m having problems made the new install of Hassos, followed the installation, installed samba addon, put my snapshot inside the backup folder, but itps not showing in the snapshot view, there´s nothing there. Anyone could helpt me?
@mofonics Did you ever get it to work? I have a snapshot that is slightly less than 200Mb. I’ve hit ‘Restore Selected’ and been waiting ages! Just wondered how long to wait before starting again.
I remember having to wait quite a long time to get it to restore. Can you Samba in to your files? I remember being able to do that but not have the front end come up because of something off in my config. I wish you the best of luck. Having your system go down after all of that work is a major bummer. That’s why I am currently researching the best way to migrate away from the SD card…
I rebooted in the end and nothing had happened. I then did a wipe and restore and it then took about 30 minutes before it rebooted and I was back up and running.
I’d also like to migrate away from the SD card, although these intel NUC devices are not within my price range at the moment. I’m hoping future releases of Hass.io will allow storing the database on an external drive. I’ve seen you can do this with Docker version of Hass.
I’m going to stick with SD cards for a while longer though, just to test if keeping my db file small solves some of the reliability issues I’ve been having. It was up around 2Gb and I was getting data base malformed warnings in my log. I’m using a 32Gb SD card but now I’ve deleted the old db the new db is around 2Mb and there’s no warnings. Will have to keep an eye on that.