Migrating my setup to new PI4, flashed new SD card, installed Hassio and Samba share, copied my last snapshot and trying to restore full configuration.
After I click wipe and restore it is doing something for few minutes, then I lose connectivity and after it is restored it goes back to freshly installed hassio - no previous configuration, no automations, no scripts, etc. Tried multiple times but no results - just not restoring the snapshot.
However all addons - duckdns, ssh, etc. are restored and configured.
Tried reflashing and restoring multiple times, but stuck and not really sure what to do now.
It’s interesting - home assistant says it’s a full snapshot, however inside the archive most of my files do not exist so it’s clear why it is not restoring - looks like snapshot is corrupted (the same with one snapshot before), but previous snapshots have all the files.
Don’t know why home assistant stopped snapshotting configuration files, will try copying configs manually.
The problem here is that mi PI3 died, so I cannot boot it to make another snapshot. All configs are saved but for some reason they are missing from the snapshot. Not sure if copying configs to the snapshot can help, trying that right now. Could be just easier to overwrite fresh install with my saved old yaml files. Trying that now
Yeah, you could just restore what you can from the snapshot and then manually copy over everything in your config folder. I wouldn’t try adding files to the snapshot archive.
Some backup’s are not complete. In my experience, first with PI3 and a PC/NUC, temporary database files cause backup to fail, sometimes. On a NUC, which is MUCH faster, this does not happen nearly as often. Reported on GitHub at least 6 months ago.
So I added all my config files into the snapshot archive. Also had to modify snapshot.json file in the root snapshot folder - added extra line “homeassistant” so when restoring snapshot it restores the configuration (as well as addons,shares,etc)
Aside from “restore from the snapshot failure” - I found that not only my PI3 died but SD card as well, I will open another topic about that.