this post was submitted on 15 Dec 2023
10 points (91.7% liked)

Ask Lemmy

26382 readers
894 users here now

A Fediverse community for open-ended, thought provoking questions


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
 

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
[โ€“] take6056@feddit.nl 2 points 9 months ago* (last edited 9 months ago) (1 children)

As an alternative approach you can look into ansible. As opposed to making a system backup you can define your system configuration as code that you can redeploy with it.

[โ€“] Valmond@lemmy.mindoki.com 1 points 9 months ago

Yeah but I had a hard time setting things up manually (docker), so port that to ansible would be quite the job I guess (especially nginx), and I'm toying with the idea to compile Lemmy from scratch so eventually I could help one day.