Go back up your HA installation right now.

I, like many others, was running HA OS on a raspberry pi with whatever sd card I happened to have at hand at the time when I started to play with the whole thing.

It has since became a part of my household with light automations and other stuff and with everything going on in life it’s been on a back burner to impove automations more, include more data, manage proper backups and so on. And specially the backups are the one I’ve been slacking on and now I have no one else to blame than myself.

Sd card eventually died yesterday evening and today when I started to study why the server went down but still responded to ping I was greeted with a docker error that exec format is wrong (or something along those lines). At first I thought that maybe some upgrade went sideways and decided to grab a image of the card before messing around it so I have something to come back to which failed almost immediately with IO errors on dmesg.

Gladly I could get a backup off from the card from october, so at worst I lost some automation tweaks on HA side but what I’m still afraid is that I might’ve lost Z-wave keys. Ddrescue is running on the card right now so I don’t have the final results yet but I’m not too hopeful that it’ll create a working image.

So, I did what I should’ve done already ages ago and installed HA on my proxmox server and added that to backup cycle so that’s been taken care of properly and now I’m not limited to Rpi3 performance with addons either. I still need to get a new installation for the pi with Z-wave JS due to RaZberry 7 hat but that should be pretty straightforward task, assuming I can retrieve the keys from broken card.

So: Don’t be like me, verify that you have proper backups of your stuff.

  • spitfire@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    15 hours ago

    Also: run your HA on something that makes more sense than Pi. For a little more you can run a much more powerful N100/150 based mini PC with very similar power draw.

    • Lka1988@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 hours ago

      A 7th-gen i7-powered tiny/mini/micro is perfect for HA. Plenty of grunt for lots of HA addons and integrations, lots of USB ports for dongles (zigbee, z-wave, etc), often with 2x M.2 slots (usually one B/M key and one A/E key) and SATA interface, very low power draw, and cheap due to businesses offloading them all the time.