Comment on Best way to keep a hot spare SD card for a raspberry pi?
sugar_in_your_tea@sh.itjust.works 6 months ago
Do you need a backup image?
For my NAS, all I do is:
- keep notes of what’s installed and how to configure OS things
- automatic, offsite backups of important configs and data
Any full-disk backups just make the restore process easier, they’re hardly the primary plan. If you want that, just take a manual backup like once a year, and maybe swap them out every 2-3 years (or however long you think the SD card should last). If you keep writes down, it should last quite a while (and nothing in your use-case seems write-heavy).
But honestly, you should always have a manual backup strategy in case something terrible happens (e.g. your house burns down). Make that your primary strategy, and hot spares would just be a time-saver for the more common case where HW fails.
traches@sh.itjust.works 6 months ago
Well, this is my DNS server which means if it’s down the internet is down and I can’t resolve hostnames to ssh into. I know that can be worked around, but I’d really like a quick and easy fix that I could even talk someone through over the phone if I had to.
My real backups are squared away, no worries. Nightly automatic restic snapshots, one to an external drive on this very pi and another to a NAS at my parents’ house.
sugar_in_your_tea@sh.itjust.works 6 months ago
I ended up making my router my DNS server, so if my router goes down, the internet is down anyway. I have static routes for things on my LAN, so if I hit mydomain.com, I can route it to an internal address instead of going over the internet. So far it works pretty well.
That said, I don’t have a PiHole setup, so I don’t know if that complicates things (I’m guessing pointing the router at the PiHole with a fallback to external DNS would just show ads or whatever if the PiHole is down).
traches@sh.itjust.works 6 months ago
I like the DNS on the router idea, I’ll look into it. I do have some split DNS set up as well as adblocking lists (technician). Not sure what my router can do.
sugar_in_your_tea@sh.itjust.works 6 months ago
I think most can do it (esp. if you flash something like OpenWRT), but I have an entry-level enterprise router from Mikrotik and that’s a pretty standard feature on that tier.