Frontend: Add UI to upload snapshots before onboarding

Created on 4 Oct 2019  路  14Comments  路  Source: home-assistant/frontend

The request

Before the onboarding starts (where you create your first user), there should be a link/button that will allow you to use a snapshot to set up Home Assistant.

image

The alternatives

There are several alternatives to this route:

  • Add upload to the snapshots tab inside the supervisor.
  • Continue as now (finish onboarding, install an add-on, use the add-on to move the snapshot, restore)
  • Have the supervisor pick up and apply the snapshot the same way as network config (form USB)

Additional information

This feature request has been raised on several occasions, in various forms:

This is not a simple task to "just implement", this will require work in both the supervisor and the frontend and potentially also the core

feature-request

Most helpful comment

The "issue" description has been updated to follow the template for feature requests.
If you want to show your support for this feature request add a 馃憤 to the description 馃帀

If you would help to implement this feature, the links to the repositories are in the description 鈽濓笍
We also have specific channels for development on discord 馃憢

As stated before me no one is disagreeing that this should be added, last week I even started (far far far from finished) with a suggestion for the UI of it.

All 14 comments

This feature will be much appreciated. Currently if you want to restore Home Assistant from a dead SD card, you need to flash HA (OK) then go on boarding (OK but why?), then install samba add-on (an official add-on) or install ssh add-on (hidden by default and non trivial)

Agreed. There is no official way to restore a backup.

There is an option to download a snapshot, and currently only community ways to restore.

I can't understand how with all the moves to 'make things easy' this doesn't already exist except in a feature request that dates back nearly 18 months. I hope this is on the list of things needed before version 1.

@Kanga-Who Click on a snapshot, it has a download option:

image

Uploading is currently not possible from a frontend perspective, as the backend does not support it (on many different levels).

I am aware how to download a snapshot, my comment states that.

well, of course that's cool.
But... if the SD card died on you, this is hardly a solution. the thread that originated this is talking about restoring snapshots from another physical device.
Using a browser interface could probably solve that isn't that possible either?

I believe that is the point of this request - allow a quick/easy way to upload a previous backup and restore therefrom.

If users need to restore a back-up, there's currently not an 'out-of-the-box' method for this - they all require alternate solutions (Google Drive Backup/Restore, Samba, SSH, etc.).

Seems it would be useful if there was a Restore Via Upload button on this same page that would allow a fresh install to be quickly/easily restored using a previous backup with_out_ the need for alternate solutions to do so - as this would make life easier for NOOBs (esp. w/ the SD Card issues that are [sadly] prevalent).

@Kanga-Who I was visually clarifying.

@Mariusthvdb As said, the backend does not support it, hence the frontend cannot be implemented right now.

@markus99, please remove the caps from your message. It is considered shouting, which is not needed. Thanks. (edit: Thanks for adjusting, appreciated).

Nobody is disagreeing on this request. However, it is a frontend request, which cannot be fulfilled right now. The backend feature is discussed, but not implemented yet.

@mbo18 this changes nothing, but just noting that the samba addon is an official core addon.

@mbo18 this changes nothing, but just noting that the samba addon is an official core addon.

Updated my comment, thanks.

The "issue" description has been updated to follow the template for feature requests.
If you want to show your support for this feature request add a 馃憤 to the description 馃帀

If you would help to implement this feature, the links to the repositories are in the description 鈽濓笍
We also have specific channels for development on discord 馃憢

As stated before me no one is disagreeing that this should be added, last week I even started (far far far from finished) with a suggestion for the UI of it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

martinhoess picture martinhoess  路  3Comments

aaron9060 picture aaron9060  路  3Comments

SeanPM5 picture SeanPM5  路  3Comments

TheZoker picture TheZoker  路  3Comments

Depechie picture Depechie  路  3Comments