I use Samba backup and it runs nightly, fortunately.

I tried to update to the latest HA core the other day, and it failed. Reboot and weird things stop working all over the place. The log showed the recorder and a bunch of other things failed to start. When I looked at the command line, I found that files had apparently been corrupted. My configuration.yaml, all 791 lines of it, was gone, in favor of the stock configuration.yaml file.

I restored from the most recent backup before the trouble began, which was taken Saturday morning (I assume the corruption is why it didn’t run after that). No dice. Friday’s backup got me up and running again, fortunately. I had to re-do a few things I’d changed Friday, but what a relief.

I made the changes again and made a new full backup. I also increased the number of backups to keep from 7 to 10.

Do regular backups, people. Save yourself a lot of headache. I use the Samba option, but there are options to upload to things like cloud storage as well.

  • DeltaTangoLima@reddrefuge.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    2N+C for me. I backup nightly to one NAS then use rclone to sync to a second NAS, as well as to encrypted storage on S3. 14 days of backups kept. Plus I backup the Proxmox container nightly, and keep 14d+12m+1y of those.