Lost two years of work

I’m sad and sorry I lost everything, two years of work, after a normal reboot the assistant does not start and the most serious thing is that I have not saved the backups. The SD seems to be working but in the “resin-data” folder it is empty when reading in the forum there should be in the whole homeassistant system. I am destroyed I do not know where to start I had done a great job irrigation, lighting, weather, sensors all lost what anger I would like to cry !!!

1 Like

oh noooo thats happened to me once although i found an old backup which minimised the work

It is always good practice to backup any important data off the device and sometimes in multiple places.
At work, since there is not a space issue, i back up our device configurations daily and store them on Dropbox. They are them available wherever and whenever needed.

It is also good practice to occasionally try to recover from a backup on a different device or with a different ad card to prove your backups work as expected.

2 Likes

Sorry to hear this, I have been down this road myself. I have since switched to an Intel NUC with an SSD and cloud backup.
There are a number of data recovery utilities available that might be able to get your data back (such as ddrescue) but a certain level of technical knowledge is required.
Best of luck with it.

thanks for the solidarity now I’m too demoralized to start rewriting everything. I will wait a few days then I will wait for patience and start again

3 Likes

If the SD card is working it’s unlikely that a reboot would erase the config so I’d give restoring data a try. How did you have the HA installed?

1 Like

This means hassio.

try with SD card restore utility, chances are good, that you can recover

1 Like

That really sucks, but I’m glad to hear you’ll be rebuilding.

I suggest adding an automatic backup of your snapshots to your system when you rebuild. I’ve used both Dropbox and Google Drive with good results.

1 Like

Not to me. I don’t see such folder name in my installation and that doesn’t explain how has it been installed - is it Hass OS, is it Hassio in Docker on another OS?

Old hassio was based on resin not hassos.

I installed it through the image hassio.io I started from that …
What do you mean using SD recovery?
I begin to have hope

I’ve had the same (did have some back-ups, but they were old). By installing linux file systems from Paragon (trial version) I was able to open the other directories on the SD card in Windows, en acces all my config files.
Also have a look at this thread

good luck

Before there was HassOS, Hassio image was based on Resin-OS. Based on that directory, it was either a RESINOS Based install of hassio, or a VERY early HassOS based hassio install.

Sounds like ResinOS which the old Hass IO was based on has shat itself. If your using a windows PC you wont see any config files on the sd card as the partition where the Hass config files are stored is a Linux file system.

Most likely your config files are just fine and safe on the sd card.

You just need to mount the SD card to either a Linux machine or use a specific windows tool. Let me K own if you want some help with getting your config back!!

unfortunately it is not so, yes you are right when you say that from windows I don’t see anything is like this. I can get the resin-data folder using a Linux OS but unfortunately the folder is empty

Sorry to hear
Recommendations for future

some SD recovery tool?

In the past I tried one and was succesful, but can’t remember the tool. The fiorst google search gave me this (not tested by me)

https://www.easeus.com/data-recovery/card-recovery-software/sd-card-recovery-freeware.htm

it adds more reason to add in cloud backup solutions to home assistant

Since we’re touching the microSD reliability, what are the alternatives that people are using? Enabling boot from USB and using a flash drive? SSD? USB HDD? MicroSD adapter to something else?

I recently loss my install and my RPI 3B+ wouldn’t boot Hassio from microSD. Tried a few microSD, different RPI 3B and another RPI 3B+ with the same error “Ethernet not found”. At the end I used the opportunity to upgrade my 3B to 3B+, got a new microSD and flashed from a different computer. Definitely the ultimate fix…

I’d rather avoid going thru that again and find a more reliable solution.

1 Like