How reliable/realistic is to use a laptop as a remote file backup server?
-
[email protected]replied to [email protected] last edited by
I am planning after installing Ubuntu server and get some setup done, to actually sit it out and understand how much the fan is going and how I expect this to be an issue. Since my backups are probably going to be once in a week or so, I do not expect the laptop to have a lot of work (for now is just for file backup, no other services in there except tailscale)
-
[email protected]replied to [email protected] last edited by
Yeah, what they said.
OP, invest in a UPS - cheap or less cheap - you can get them as big as your bank account, and they're worth it. I tend to like Cyberpower for price, because they're common enough that one never found a model that nuts didn't already know about, and they tend to have replaceable batteries. As parent said, the nightmare is if power for out, and even though the laptop has a battery, you're buying yourself extra time. Plus extra surge protection and all that.
I'm not probably saying anything you don't already know, OP, but I fell there's a general under-valuing of UPSes when I hear about people's set-ups. They may mention a surge protector, but rarely do I see folks taking about their UPSes.
-
[email protected]replied to [email protected] last edited by
I actually have contingencies for this. There is a ups around that I can use. It is good advice for sure, specifically for countries with fluctuations on the electric grid
-
[email protected]replied to [email protected] last edited by
I've got an old HP laptop which I've been running a Jenkins server on for years. The fan died back in like 2018, and I just kept putting off buying a replacement, so it has been running with no fan for 7 years now. Remarkably it still works fine, although a but slower than it used to thanks to thermal throttling
-
[email protected]replied to [email protected] last edited by
Absolutely fair.
-
[email protected]replied to [email protected] last edited by
If you can't access the hardware physically and you don't have someone on site who can work on it, just drop the idea and get a VPS or whatever cloud based. No matter what hardware you plan to use. Anything and everything can happen. Broken memory module, odd power surge, rodents or bugs messing up with the system, moisture or straight up water leak corroding something, fan failure overheating the thing and so on.
There's only one single fact on the business that I've learned over 20something years I've been working with IT: All hardware fails. No exceptions. The only question is 'when'. And when the time comes you need someone to have physical access to the stuff.
I mean, sure, your laptop might run just fine for several years without problems or it might have shipping damage over that 3000km and it'll break in a week. In either case, unless you have someone hands on the machine, it's not going to do much.
-
[email protected]replied to [email protected] last edited by
Buy a KVM that you can wire to the power button if you can. Pikvm, nanokvm, Jetkvm, etc. Will save you when the device needs a reboot or a bios tweak.
-
[email protected]replied to [email protected] last edited by
It's a laptop... One of the benefits is that it already has a battery, no?
-
[email protected]replied to [email protected] last edited by
It would be nice if there was firmware available for the charge controller that turned the laptop's own battery into a UPS, avoiding the whole "spicy pillow" debacle.
One can dream...
-
[email protected]replied to [email protected] last edited by
That is true, however there are 2 things
- battery of this machine is toast (holds up for half an hour or less)
- as someone mentioned in another comment: unattended laptops with batteries can be actually bad. Batteries on certain cases can leak and cause fires, so for me, if it can work without it great, otherwise I have to drop the idea
-
[email protected]replied to [email protected] last edited by
If the laptop has a way to limit charging to, say, 70% in order to not turn into a spicy pillow, it would be viable. I have an older HP Elitebook 8440p laptop running as a server of sorts in my cluster, but the battery is no longer capable of holding a charge at all because it's always plugged in. I might get a Thinkpad to replace it as there are modifications for those to limit the battery charge level.
-
[email protected]replied to [email protected] last edited by
Depending on the laptop (or with any laptop + smart plug) you can set charging thresholds, both for starting and stopping the charge (lower and upper limits), this way it will do a few cycles instead of staying fixed to a certain level of charge.
In order the worst things we can do to batteries are: leave them at 0% for years, leave them at 100% for years, leave them halfway for years (what happens when left plugged in with only an upper charge limit like 80%) - batteries need to do a few partial cycles at least, once in a while.
-
[email protected]replied to [email protected] last edited by
If the laptop has a way to limit charging to, say, 70% in order to not turn into a spicy pillow, it would be viable.
Firstly - I love the phrase "spicy pillow".
Secondly - It would probably depend on the laptop and its battery health. But also the OS can limit charging I believe? I haven't looked too far into how it works but I've got my laptop setup to only charge to 90% because I'm nearly always plugged in. I don't know if that relies on any hardware/firmware options though.
-
[email protected]replied to [email protected] last edited by
battery of this machine is toast (holds up for half an hour or less)
Fair.
as someone mentioned in another comment: unattended laptops with batteries can be actually bad. Batteries on certain cases can leak and cause fires, so for me, if it can work without it great, otherwise I have to drop the idea
I'm not clear on how a UPS would be different in this regard. They both have high-capacity batteries that need monitoring. Unless the UPS is using a different chemistry?
-
[email protected]replied to [email protected] last edited by
From my experience in the past, ups are done to be constantly on, and as far as I know, usually they have failsafe mechanism in case something is not working as intended. Laptop batteries do not have such extensive protection from what I know. However, if an ups is getting old (around 5 years or so) is probably best to change the batteries (if the model allows it)
-
[email protected]replied to [email protected] last edited by
I have an old HP Omen laptop that I use as a sever, removed the battery because it started getting a bit spicy but other than that it runs just fine for multiple years now.
I use mine as an application server without much storage since it only has space for one nvme ssd and one 2.5" SATA drive.
If you are that far away make sure you have someone with basic Linux knowledge around there to restart it if necessary. And it sucks in LOTS of dust, so be prepared to clean it about once per year
-
[email protected]replied to [email protected] last edited by
My plan is to go there at least once a year, so that would work for me
-
[email protected]replied to [email protected] last edited by
I have actually had headless servers I've ran on a laptop decide to go to sleep with the lid, its an ACPI mode that even framebuffer can decide to respect. IIRC it's not hard to ensure it's disabled somewhere in /proc.
-
[email protected]replied to [email protected] last edited by
Laptops use lithium-ion batteries and (at least your Average Joe's and majority of commercial units too) UPS uses sealed Lead Acid. If lithium ion battery goes belly up it'll burn your house down. If lead acid battery does the same, at worst, it'll leak a bit of corrodive fluids to whatever it's on top of.
There's commercial size li-ion UPS's too, but they require quite a lot of hardware around them to be used safely. Search from youtube (or whatever you like) a cell phone battery explosion and then scale that up to a fridge-sized cell-phone. It's quite a bit of steel and concrete to contain that amount of energy. And the funny thing about li-ion fires is that lithium ions reacts quite violently with water and the battery contains all the chemicals to keep the fire going, oxygen included.
So, yeah, UPS is a whole another thing to manage than a laptop battery.
-
[email protected]replied to [email protected] last edited by
Ahh, okay - it is a different chemistry. I wasn't sure - thanks!