When trying to migrate or restore a Home Assistant instance to a new server, it would be really useful to be able to upload a snapshot to the new instance from the Web UI.
This would also help where a user wants to revert back to a previous snapshot stored remotely.
Even better would be an option to upload a snapshot from the initial ‘create a user’ screen.
The workaround is to create a snapshot (so the backup folder is created) temporarily install the samba share add-on and upload to the backup folder, then install that.
Migrating from existing setup or a need to completely rebuild setup.
Take snapshot of existing setup from WebUI.
Download snapshot from WebUI
Install new system/ instance of HassIO/Home Assistant
On opening page, offer the ability to upload a snapshot and restore it. You will find it in your ‘downloads’ location.
Alternatively create initial user to test setup. On Snapshot page, offer the ability to upload a snapshot and then restore it as usual.
Currently, you need to create user, create a snapshot (it creates the backup folder), install samba add-on, connect to folder, copy snapshot, restart HA (so it finds the snapshot), then restore snapshot.
[edit]
In this way all you need is the WebUI to old and new systems (or new as a minimum).
[edit2]
Something like PHP - File Uploading with the backup folder as the target folder and bringing up the restore snapshot dialogue once uploaded.
My use case would be for quick recovery after a failure. If I am rebuilding HA from scratch with an snapshot it would be good to have an option in the first start wizard to upload a snapshot via the web browser.
This would allow very quick back to operation.
Currently I need to complete the wizard, install a plugin to get ssh or samba access, transfer the snapshot then restore.
Another vote for this feature. Having just lost my current install due to a failed upgrade to the latest version of HassOS, I am currently trying to load my latest daily backup to the newly installed instance of HassOS, only to find there is a download button, but no upload… so now I have to figure out how to get my snapshot into the Rpi, which seemingly involves installing a few Add-Ons only for those to be of a temporary nature. Makes no sense…
Just migrated to a new host and thought this was a weird road block myself.
Even better than having this feature on the Supervisor -> Snapshots page would be to have an option directly on the very first login/user creation page for “Or restore from backup” where you can upload the file and get it to wipe/restore more easily.
You can already do this now, if you have the configurator addon installed. This is advisable anyway as a fallback.
But I agree, you should be able to do this from the snapshot interface
Yeah, literally all of these suggestions require an unnecessary step when compared to other systems. Why should we need to install an addon, just to restore from a snapshot which will - in turn, restore our addons?
Now that I’m using the Supervised edition, and snapshots, I see the need for this feature in the event I must re-install my system from scratch. The current path for restoring an existing snapshot to a fresh instance of Home Assistant requires too many steps.