Most APC/Tripplite battery backups can hold a server "up" for a solid 1/2 hour easily while the breaker goes down. They can even be had cheap second hand if you're willing to replace the cells!
nudgenudgewinkwinksonomore
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudoin Windows. - No porn, no politics, no trolling or ragebaiting.
- Don't come looking for advice, this is not the right community.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
"Shutdown off"
Startup'nt
It's an alias for "sudo shutdown now".
sudo poweroff
I'm sorry for your loss. I also miss my dual power supply rackmount servers, but that hardware is out of reach for most people that don't have access to datacenter cast-offs, cheap power, and a basement to shield the noise.
ππ uptime check β¨ππ
22:09:13 up 9 days, 12:29, 2 users, load average: 0.03, 0.05, 0.11
EDIT: wait why does it say 2 users though π³
That's for your daily driver desktop right? Right??
Regular files check by your FBI agent.
EDIT: wait why does it say 2 users though
Sorry about that, won't happen again
To make sure all security patches are applied I assume π§
It's probably your mom.
11:13:30 up 1 day, 17:21, 1 user, load average: 0.25, 0.16, 0.11
My e-peen isn't as big as yours D:
Linus Torvalds is just making sure you're Linuxing correctly
If you don't have a UPS, just use a suicide cable to energize the circuit while it is disconnected at the breaker.
(/s, if the term suicide cable wasn't enough of a hint; don't actually do this)
Ironically, this was one of the primary reasons I have a UPS on everything. The uptime must grow.
Do y'all not reboot after kernel/firmware updates?
part of the reason to use Debian is it doesn't really need to be updated, at least not very often
Can I introduce you to OpenBSD where we measure uptime in years?
It needs to be updated at least several times a year...
depends on your use case
home automation server that doesn't connect to the internet? nah
media server that only occasionally gets connected to the internet? maybe
anything else that regularly connects to the internet, definitely
home automation server that doesnβt connect to the internet?
Well if uses wireless connectivity with either range broader than your place or is connected to a device that is itself online it can still be a risk. Sure it's very VERY specific but scanning techniques also improve.
You should install updates regardless
if it's working and there's no security risk, why?
(I mean, I actually agree with you, I update even normally airgapped machines because them not being updated feels wrong)
Hmm, not my proudest moment.
16:09:15 up 1031 days
Private server, though.
up.. date? what does that mean?
I use one of these lithium power stations as a UPS for my servers. They are all low wattage so they'll run on backup for a few hours.
https://itechworld.com.au/products/ps800-portable-lithium-power-station-800w-40ah
i know the OP was about server, but just curious how long is every one's uptime on laptop / desktop?
I turn my desktop and laptop of when not in use.
I've had a year or two. But kernel updates make reboots. My FreeBSD boxes are much more long-lived than Linux because kernel updates
The UPS will keep it running long enough to switch to another power source.
"Shutdown off"
"Openup on't"
All your base distribution are belong to
Hahahahaha
Having high uptime is not the flex you think it is
You shouldn't have uptime higher than 60 days
I tried telling this to my manager for years. He saw it as a "X days since we last had a problem and needed to reboot the server" and took pride in it.
We finally shut it down at over 5 years of uptime. Some docker containers had been running for 4 years straight.
Yes, that means what you think it does concerning update policies. Yes, the server and some containers were exposed to the internet. No, the backups were never tested.
Yeah these days a high uptime is a mark of shame, not a badge of honour.