What's the easiest way to restore a backup?

Hi,

My system has decided to sh*t itself for no apparent reason. I’ve never restored from a backup before. I’m pretty sure I did one this morning, but have heaps of other ones on Google Drive.

Do I have to follow the following instructions? Or is there an easier way?

  • Install latest hass.io to sd card.
  • Boot raspberry pi
  • It will take up to 20 minutes to initialize hass.io
  • Create a tmp account
  • power off
  • copy backup to sd card ( /hassos-data/supervisor/backup )
  • Restart raspberry pi
  • In the sidebar go to Hass.io -> Snapshots, choose your snapshot -> wipe and restore, You’re done!

Thanks!

Instead of powering off and copying the backup to the SD card you might find it easier to install the Samba add-on (or another add-on that allows file transfer), copy the backup to the backup folder, refresh the snapshot page, and restore.

1 Like

Thanks, but I can’t actually get back into my system therefore Samba doesn’t work. All I have access to is SSH.

I mean after doing the clean install.

Yes, it might take a while (an hour? or two in total, perhaps depending on your internet connection speed and raspberry pi speed)

If you’ve been using the google drive snapshots add-on, install that add-on first, and follow instructions on that github on how to restore.

Additionally, make sure your last backup was complete. (sometimes it’s broken).
Compare the file size, and download them, and look inside if the file lists make sense and are equal or at least similar.