Soo, someone was backing up their @homeassistant on its own local disk, instead of something outside the VM which runs HA 🤦‍♂️

#homelab fails

  • limelight79@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    This reminds me, I use the internal ha backup (to a network drive). But I’m using Linux kvm, so I could be doing snapshots instead, which in theory are easier to restore.

    • @limelight79 I would still advise doing an alternate method(along with snapshot) of copy i.e tarred config directory as done by HA. I am not sure what happened(error message indicated disk corruption)but I couldn’t recover from the vm snapshots I had.

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

        Do both, you’re saying? Maybe keep the daily backup and then do a weekly snapshot, something like that.

        • @limelight79 I am saying two different methods of backup i.e one at file system level… which the home assistant provides (to a cloud or local object storage) and one at block level (which I think where the snapshots you were referring to come into play)

  • oranki@nord.pub
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    2
    ·
    2 days ago

    Pro tip: use symlinks instead of copying files, the backup is near instant!

  • Ludicrous0251@piefed.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    Thanks for the reminder, I’ve subscribed to their cloud service since day 1. Time to actually use that backup feature.

  • tofu
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    Happened to me as well! Backed up to some local folder in /mnt because the NAS share wasn’t mounted properly. Fortunately noticed before anything bad happened.

  • shortwavesurfer@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    I back mine up to my own local disk, but about once every three months or so, I pull a copy from the disk onto my phone. That way I have another copy of it that’s not on the local disk.

    My setup doesn’t change that much in that amount of time, so I’m not particularly worried about losing a bunch of data.

      • shortwavesurfer@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        The reason I do it that way is because I have my password manager in KeePass and do the database backups in the same way. So when I’m doing one of them, I do the other at the same time, just for consistency’s sake.