How to restore a snapshot on unhealthy HA

I recently bought a mini pc with linux lite. I’ve used a raspberry pi with Ha for a couple of month, after installing Ha in the mini pc via docker, Ha gives me an error saying that the system is not healthy and I cannot restore the snapshop created with raspberry. What should I do?

Thanks

Ps. sorry for my English

First fix the unhealthy state, then you can restore the snapshot.

1 Like

How i can do that? I need to change linux lite to Debian or is there another way?

If you are using supervised HA then the only answer is to use debian. Just do it.

1 Like

Assuming you mean that you are running a standalone Docker container, you’re not going to be able to restore a Home Assistant OS snapshot (see here for comparison of standalone container vs the OS).

If you have a mini PC and want to replicate the experience you had with your Raspberry Pi you’d need to install Home Assistant OS on the mini PC.

See here :

2 Likes

Well, a “supervised snapshot” is just a tarball containing a “homeassistant.tar.gz” tarball whiich is just the content of “/config”, nothing fancy afaict.

FWIW, they are located in /usr/share/hassio/backup on a supervised file system.

Untar somewhere, mount as a volume on “/config” to your standalone HA container, and here you go.

1 Like

Likely, but one shouldn’t mistake “unhealthy” and “unsupported”.
My supervised install is “unsupported” for a number of reasons, including base OS (which is plain raspbian, so Debian Buster based, but not whatever the supervisor is expecting).

image

But it never got to “unhealthy” and works as expected.

UPDATE:
OP, you should have error messages in the supervisor logs.
Please reproduce them here.

UPDATE2:
“linux lite” is debian based, so should be able to run a supervised install

2 Likes

At the end i installed debian 10 and all works perfectly. Thanks everyone for the support.

1 Like

“Debian based” and Debian are not the same thing as far as having a supported OS goes. Raspberry Pi OS is Debian based, as is Ubuntu. Neither are officially supported for Supervised.

1 Like

I didn’t say it was supported. I said it works, surely for raspbian.
Besides the Debian maintainers, I doubt there are more than a dozen people using pristine Debian in the world :wink:

“Supported” only means: “Don’t bother us with your xyz distro. You’re on your own” :slight_smile:

Providing someone advice to continue to pursue an installation that isn’t supported isn’t great advice. Just because it works today doesn’t mean it will tomorrow.

I won’t enter this kind of argument.
Just tell me how many IoT providers support HA :smiley:

Strangely enough, I run Raspberry Pi OS 64 bit on my Pi 4 8 Gb, and if I look at supervisor, it says Debian

image

32 bits raspbian
image

What does this tell you?

$ cat /etc/*-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Hey All,

I got carried away and installed watchtower, now my home-assistant supervisor isn’t happy on Debian 11. I had already got rid of watchtower and reinstalled home-assistant but there must be some files left it finds and it starts back up with the latest snapshot automatically and then it complains that watchtower is installed when it isn’t.

Any suggestions on how to clear out everything so I can restore from a backup a few days back or is there another way?