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.

  • take6056@feddit.nl
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    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.comOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year 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.