11
Server hardware backup (lemmy.mindoki.com)

Hello!

This question is not about backing up your data; like git, photos & videos etc.

I have a Lemmy server running Linux Mint and I wonder if there could be a way to backup like the OS data (and installed packages) so when the mobo fries (for example) I can just back it up into a spare server (installing Mint)?

Obviously the premise is that I can backup that important stuff correctly.

I'm asking because I'm a Linux noob and was confronted with the Mint backups and rollbacks. Very smooth BTW, for a virgin system anyways. Also because I hate installing and configure stuff (like Lemmy docker + nginx) and would love knowing the downtime would be minimal.

So sort of having a hardware backup.

you are viewing a single comment's thread
view the rest of the comments
[-] BunnyKnuckles@startrek.website 4 points 11 months ago

Just toss your drives into the new machine. Any reconfiguring for the new hardware would be pretty minimal with Mint.

[-] Valmond@lemmy.mindoki.com 1 points 11 months ago

Would that work with, say Lemmy config?

[-] key@lemmy.keychat.org 4 points 11 months ago

It'd work for everything, data lives in your storage devices, not the motherboard.

Barring UEFI/bios config issues or hardware incompatibility you just swap hardware and boot up exact same as before.

You might then need to make small tweaks if things aren't setup quite ideally. For instance if you have lemmy binding to a specific IP rather than 0.0.0.0 and you use dhcp reservations then you might need to adjust that IP in config. Or if you don't have fstab using uuid then your mounts might be messed up. But that stuff can all be avoided and they're minor to fix.

[-] Valmond@lemmy.mindoki.com 1 points 11 months ago

Thank you!

I'll play around with it, cloning a disc shouldn't be that hard :-)

[-] BunnyKnuckles@startrek.website 2 points 11 months ago

Never run a lemmy server but I can't think of anything offhand that would change lemmy configs. Honestly, IDK. You'll likely have to reconfigure your network card but that would take all of 30 seconds.

[-] Valmond@lemmy.mindoki.com 1 points 11 months ago

I'd probably try that out one day, with a copy.

this post was submitted on 15 Dec 2023
11 points (92.3% liked)

Ask Lemmy

27062 readers
2768 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS