this post was submitted on 09 Jun 2026
41 points (88.7% liked)

Selfhosted

59770 readers
1063 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Say ww3 kicks off and power goes off - how are you keeping your servers up? Solar panels and batteries?

What if there's a biblical flood and you dont have the means to build an arc? All your servers are destroyed beyond repair?

What if you heard the Feds are coming to cart you and your servers away cos they suspect you of bad mouthing Emperor Tromp? (you're on the run or subject to months of torture and yeah, you're never getting your kit back)

What if theres a war and Luxembourg (you know, the enemy) let's of an EMP pulse that kills your servers and all the infrastructure (power, internet...). How do you access all those cherished pics on Immich?

I'm not suggesting any of this will/can happen, its all just for lols, but have you made any contingency plans? Big binders full of printouts, bug-out bags, those flower-type solar things that track the sun, Faraday cages....

top 50 comments
sorted by: hot top controversial new old
[–] PetteriPano@lemmy.world 1 points 1 hour ago (1 children)

If power is down for good, then getting water is the main priority. If the pumpa don't run the water tower is losing pressure fast. I have 40 litres jugged up in the basement at all times for the first few days.

When that dries out my neighbour has a well that we've hooked up to five properties. Mostly for gardening, but it is potable. The pump needs power, though, so I'd pull an extension cord over to my caravan.

My caravan has 400W of solar, 300Ah LiFePO4 and a 1.5kW inverter. Also a meshtastic node with an antenna on the roof. That'll keep the food cold, and laptops charged. It can run a microwave or hotplate, too. I've got 20kg of propane if I need to conserve power.

[–] zorflieg@lemmy.world 1 points 1 hour ago

Did you mean to say 4000w? 400w isn't enough for all that equipment.

[–] possiblylinux127@lemmy.zip 6 points 3 hours ago (1 children)
[–] jobbies@lemmy.zip 2 points 2 hours ago

Fair. Its the only realistic option.

[–] elevenbones@sh.itjust.works 4 points 2 hours ago (1 children)

Kinda just planning on dying in a ditch...

[–] Cyber@feddit.uk 1 points 2 hours ago

It's always good to have a plan...

[–] teawrecks@sopuli.xyz 2 points 3 hours ago

At first I was going to say, the 3 2 1 Backup rule won't stop the planet from being destroyed by a meteor. But then I remembered the data on Voyager1.

[–] bassad@jlai.lu 5 points 5 hours ago (2 children)

I have a drawer full of old cables.
Scsi, printers, scart, modem, I'm set!

[–] Cyber@feddit.uk 1 points 2 hours ago

CGA? RS233?

I can sell them to you for the cost of 1 hour's electricity from my petrol generator...

[–] jobbies@lemmy.zip 1 points 2 hours ago

Cook them up like a weird spaghetti

[–] unmagical@lemmy.ml 14 points 8 hours ago (2 children)

Dude, my computer operating is literally the least of my worries.

I'll probably die like everyone else, and if it's not immediate, will shortly follow as a post-apocalyptic world is certainly not one I want to be alive in.

[–] jobbies@lemmy.zip 1 points 2 hours ago

Think you missed the 'just for lols' part

[–] pound_heap@lemmy.dbzer0.com 1 points 5 hours ago

Ha, you may be underestimating your survival instinct. Look at historical events like sieges. Resource shortage, dangerous environment, social collapse - all that can be expected in post-apocalyptic world. And people did survive. Eating whatever they can find or catch, leaving in cold, and filth, getting sick, witnessing death and other horrors... People survived.

Unless you get killed, or shoot yourself, you would wish you came prepared for that kind of times...

[–] xelar@lemmy.ml 2 points 5 hours ago* (last edited 5 hours ago)

CollapseOS or its apparent DuskOS /s

Nice try, FBI :^)

[–] Fickle_Ferret@lemmy.ml 9 points 9 hours ago

As someone who lives within the nuclear blast radius of a military complex, I just hope it will be quick.

[–] tomiant@piefed.social 33 points 12 hours ago (1 children)

"Today, the Apocalypse happened. All that we love and hold dear came to an end. Blood in the streets worldwide, panic, hunger, devastation reigns supreme."

"What about my database server? Is it still up?"

[–] Kolanaki@pawb.social 56 points 15 hours ago (1 children)
[–] darth_grunkus@lemmy.world 4 points 8 hours ago

I'll figure out where the nuke is going to hit and stand right there.

[–] bizdelnick@lemmy.ml 4 points 9 hours ago (1 children)

My plan is to load up on canned stew and buckwheat.

[–] jobbies@lemmy.zip 1 points 2 hours ago

How come? Famously long shelf life?

[–] somegeek@programming.dev 18 points 13 hours ago* (last edited 13 hours ago) (2 children)

I actually wrote a blog about this a few months back. It was after a 12 day war (Israel+USA attacking Iran) and 40 day internet blackout, and then we got into another war (Israel+USA attacking Iran) and a 90-100 day(lost track) internet blackout.

It isn't exactly "how to survive the apocalypse" guide but it was a really helpful guide for myself and my friends and helped me keep working in those blackout days.

It's isn't focused on hardware, just software, since I'm a software engineer.

https://alavi.me/blog/we-need-apocalypse-proof-software/

[–] Andres4NY@social.ridetrans.it 1 points 4 hours ago (1 children)

@somegeek @jobbies This is a good read. I was rather amused by your "TODO: How to use Git offline? Offline merge requests?" section, though. Git was written by people who literally email each other patches. It's offline-first, with online stuff tacked on there. You can copy a cloned git repo to a usb stick and give it to someone, and now they have the entire history. Of course merge requests and bug tracking are separate (I understand what you meant w/ the TODO), but git itself is already there.

[–] somegeek@programming.dev 1 points 2 hours ago* (last edited 2 hours ago)

Thank you! I actually got that figured at during the second war but didn't got the time to update the post. I put what I learnt in my knowledge base linked below. I will uodate the post. Thank you for pointing that out!

I tried to push it at work but most of my team members didn't felt like learning this whole new workflow (they're "normies" you could say. Using windows, outlook, etc.)

http://kb.alavi.me/#/page/git%20email%20workflow

load more comments (1 replies)
[–] irmadlad@lemmy.world 3 points 9 hours ago* (last edited 9 hours ago) (1 children)

Abut 35+ years ago, I stuck a finger up and didn't like the way the wind was blowing. I decided to do something about it. While I am a prepper, I do not prep for EOTW scenarios. If we start dropping nukes, point me towards the blast cloud and let this universe recycle the energy it takes to keep this meat bag alive, into something else.

I do, however, prep for inclement weather, shortages, civil unrest, pandemics, etc. I have solar and whole house generators. I grow my own food, raise my own livestock, can and freeze my vegetables, meats, and such. During the pandemic, I rarely ventured off the compound as there was no real need to. I've long since turned my dining room into a pantry and it is well stocked and rotated. I stock medicinal supplies, things that would be needed in a disaster scenario, not gadetry. I have taught myself the skill of making very good alcohol, which can be used medicinally, and for barter. I stock a lot of staples, things that can be turned into multiple meals; flours, sugar, corn meal, etc.

I would say that my servers would be a minor issue or concern in a disaster scenario. I would most likely depend on Ham radio and CB communications, vs the internet. We would be back to living like say mine, or your, grandparents did. Very lean and close to the bone, relying on what we could scratch together to survive, such as Victory Gardens, etc.

We live in a world of convenience, and while that's great and all, we get used to the notion that we will always be able to go to the grocery to pick up food supplies, and that is a false comfort. For anyone interested, I'd start with extending your pantry. Make wise purchases. Don't fall for all the gizmos and gadgetry surrounding prepping. They'll sell you a sack full of crap you'll probably never use, or be useless when the time comes.

[–] jobbies@lemmy.zip 2 points 2 hours ago

Some good skills worth learning there. Always fancied growing my own food but never got round to it.

I have taught myself the skill of making very good alcohol

Nice! Im a techie but I barber as a side hustle. Between us we could have a nice wee apocolypse 😅

Have you heard of reticulum? You might be into it. Seen mention of using things like ham and lora as carriers.

[–] panda_abyss@lemmy.ca 2 points 8 hours ago (1 children)

Asides from my kiwix clone of Wikipedia, in the apocalypse there’s not much value to most of the things I self host.

I self host backups, code forge, some AI tools (all my AI chat and completion are local now).

But realistically, in an apocalypse situation I’m going to leave my suburban home and migrate somewhere safer and more directly connected to food+shelter, and probably spend my days dealing with trying to survive.

My self hosting is primarily designed around avoiding US based tools and systems, so that I have more control over privacy and don’t find policy I disagree with.

[–] jobbies@lemmy.zip 1 points 2 hours ago (1 children)

kiwix clone of Wikipedia

Thought about this myself. How space hungry is it for you?

[–] panda_abyss@lemmy.ca 1 points 2 hours ago

~100gb with images and the max image.

[–] BartyDeCanter@piefed.social 3 points 9 hours ago* (last edited 9 hours ago) (1 children)

In that level of extreme disaster, honestly not going to be caring. But I did have a layered approach to less extreme more realistic scenarios.

Neighbors and Community

The most important thing in a real emergency. We know our neighbors, chat with them on the street and in line for the weekly ice cream truck. We have several close friends within an easy walk or bike ride and are part of a local social club that we go to every week. We’ve had the emergency chat with many of them.

Power

15 minute UPS on my NAS will get me through small power bumps. I also have a large backup battery meant for camping with solar panels that lets my partner and I go indefinitely without city power for our medical devices, with enough to spare most days to keep our phones topped off. I’m currently using it a a oversized UPS for my desktop, but in a real emergency I’ll shut that down and move it to the bedroom.

Longer term, we’re planning on getting solar+house scale battery. I had one before and it got us though multiple days without power as long as we were careful.

Food, water and general supplies

55 gallon food safe drum of drinking water with the tablets that keep it safe for years. I have a todo item that reminds me to rotate it out every three years. We have two emergency bins, one with a hand crank/solar/usb powered radio and flashlight and assorted emergency supplies. The other has freeze dried hiking meals. They were the cheapest per meal per year of shelf life last time I did the math.

Medications

A real gap. I can’t get more than a one month supply of my meds, similar for my partner. While neither of us have immediate life threatening problems without them, we’d both be in rough shape in different ways. Don’t know what to do about this.

Backups

My desktop, my partners laptop, the NAS, and my VPS all have offsite backups to another country halfway around the world. I test recovery annually, and use healthchecks.io to notify me if they stop doing their daily backup. I need to finish getting my laptop backup running, but it’s been low priority as I mostly use it as a thin client for my desktop and keep a few files synced with Syncthing.

VPS

A few critical services run on it instead of my at-home NAS in case our home internet connection fails. It’s physically located several hundred miles away. Again, backed up elsewhere so I can relatively quickly recover it if needed.

NAS

Hot-swappable 4-disk raid with a spare sitting in the closet. That should get me through most issues, with the offsite backups for things that don’t. It also pings healthchecks with a few daily self diagnostics.

RaspPi

Really just running PiHole, so the only data to back up is the split dns config which lives in my notes on my desktop. Seems like a weak point, but could be replaced by the NAS, router, or my laptop pretty quickly.

Mobile devices

Backed up to their corresponding corporate overlords, except for photos and videos which go to immich on the NAS. I wish I had a better solution here.

Me

I have a notes directory describing the setup with configuration, docker files and playbooks for the various services in a local git repo on my desktop. I have printouts of the assorted recovery codes and a letter explaining all this in my filing cabinet alongside my will and advanced directives. We have enough technical friends that my partner can ask one to help, or just point an LLM at the note files and have it walk them through most things. I’ve audited the notes and git history for credentials and it’s clean. Just IPs and machine names, lists of services on each, clean docker files and basic maintenance instructions.

I think my biggest gap is what to do in a dual-failure case where I lose my home internet connection, and my desktop ssd fails. My data would be safe in the offsite, but I wouldn’t be able to reinstall Debian. My laptop would let me take care of most things for a while, but maybe I need to set up a mirror…

[–] jobbies@lemmy.zip 1 points 2 hours ago* (last edited 2 hours ago)

in line for the weekly ice cream truck

Where do you live? 1957?

I've been ordering medications a couple of days early each month - not for prepping but cos I hate running low. Basically I'm reordering earlier and earlier every month and no-one has noticed. Useless if you have anything that lives in a fridge though

[–] ryokimball@infosec.pub 23 points 15 hours ago

At some point, you gotta just accept that things are gone and start hunting for the next radroach to eat. I guess the corpo speak for this is acceptable loses and/or risk management.

In the most extreme cases, the final backup of my most important files are on my phone. With all the compromises we're forced to make there, I still refuse to buy one without an SD card slot, so I have swappable 1TB with me at all times. Importantly, it's also not the Source of Truth, so if it's lost I'm still recoverable, but if it's the last piece of electronics above sea level at least I still have that.

But for power management, I just have some UPSes that sustain a graceful shutdown and that's about it. If I'm on the lam, I would rather the 20TB of manga and anarchist zines be destroyed (read: crypto keys lost) than try to figure out how to carry it with me. Maybe the offsite backup strategy will finally get tested once I've established an alternate identity.

[–] Reannlegge@lemmy.ca 1 points 7 hours ago (1 children)

If WW3 breaks out I am going to the nearest pharmacy and finding ways to get all the narcotics and going peacefully asleep, even though I do not live in the middle of Bum fuck nowhere I can see it from here. I wont get the pleasantries of a painless death of having a nuke dropped anywhere near me but I will suffer from the massive amount of radiation poisoning, all my data would be gone as is from the electromagnetic shock so yeah no worries from me.

[–] jobbies@lemmy.zip 1 points 2 hours ago

Ooh niche plan but I like it

[–] Brkdncr@lemmy.world 1 points 8 hours ago (1 children)

You can’t. Ww3 will break the supply chain for advanced transistors since it takes 1000’s of diverse inputs to make them. They will simply stop existing. Prices will skyrocket.

A few years later, as age takes out what we have running and things like planes and farm equipment stop working we’ll need to rely on whatever we can source locally.

Sadly this won’t take ww3 to happen as anything can kick off supply chain disruption. The leading cause will be population decline leading to the inability to defend your own boarders. It’s going to be China first. Don’t believe me? look at population trends.

[–] dandi8@fedia.io 2 points 4 hours ago (1 children)

The leading cause will be population decline leading to the inability to defend your own boarders.

That sounds awfully like right wing xenophoba.

[–] jobbies@lemmy.zip 0 points 2 hours ago (1 children)

Whole post sounds like nonsense. If the nukes hit, whose gonna be on Amazon and eBay thinking "better buy a ton of PCs before transistor prices rocket"??

[–] Cyber@feddit.uk 1 points 2 hours ago

Depends if they have Prime next day delivery...

[–] PerogiBoi@lemmy.ca 3 points 10 hours ago

If this sort of event were to happen, I would have bigger things to worry about than my data. What use would it be anymore? What about drinking water and food? What about my ADHD meds? Shits about to get very twisted if I stop these meds. I fear for everyone else. In fact, if this sort of event was to happen, everyone should be worried about what happens when I'm not on my meds. Data be damned.

[–] nbsp@programming.dev 15 points 14 hours ago (1 children)

work with my community to build a better world from the ashes

[–] danielquinn@lemmy.ca 7 points 13 hours ago

#Solarpunk!

[–] hendrik@palaver.p3x.de 10 points 14 hours ago* (last edited 14 hours ago) (1 children)

Screw electronics. I'll finally get time to play my 100 board games, pen and paper roleplay games and all the stuff I currently don't do, because I'm doomscrolling all day. And I might have to ask the neighbour to bring their accordion and sing some Lady Gaga for me until Spotify comes back online. I think I'd be fine.

Just a word of caution, It'll be dark in the supermarket at that time. The electronic cash terminals cease to work and half the food is going to spoil within a few hours. So get some cash, rice, noodles, oil, ketchup and canned food. And you'll need some sort of water supply.

[–] EggInDisguise@lemmy.blahaj.zone 2 points 11 hours ago

My plan is "I'll probably be dead" but if not, I have enough parts to cobble together a solar charging station, and keep my laptop running for a few days between needing to let everything charge back up.

I have one off-site backup on an hdd inside a faraday bag and waterproof case that I back up once a week(ish) and after every project. I have local backups daily, one in a faraday box.

I have never once needed any of them and honestly if shit hit the fan hard enough, I will likely never be in a position where having backups for digital information will matter again. I'll probably at most have my old phone/battery/solar charger combo that's in a case in the garage, I keep a ton of survival references, maps, and things like that on it.

[–] StealthLizardDrop@piefed.social 4 points 13 hours ago

If i am lucky enough to avoid dying il die anyway within a few years. being dependent on medication that expires, sucks 😔😞

load more comments
view more: next ›