How and where should I keep backups of system configurations?

https://sh.itjust.works/post/35732692

How and where should I keep backups of system configurations? - sh.itjust.works

Sorry for adding to the massive pile of backup-related question, but I could not figure out how to manage backups from existing answers… I want to backup my VPS setup (think container-defining files, its volumes, and etc configs), but am unsure where to put it. Does keeping these in the VPS itself make sense? If so, how do I create and manage the backup? Also, I would need a remote copy - what is the good location for this? I wish I could copy to my laptop, but obviously I cannot do that automatically. Should I pay money for a backup? I want to avoid paying lots of money just for backups. Thanks in advance!

  • Create git repo
  • Put all config in git repo
  • Create repo on codeberg
  • Clone git repo to both VPS and laptop
  • No extra money needed

    A guide for this would be amazing. Bookmarking to later chatGPT it.

    docs.codeberg.org/…/first-repository/

    Follow this, should suffice

    Your First Repository | Codeberg Documentation

    I was more thinking the config part to git.
    That’s what you just got shown: Shove the configgy bits into Git.

    I was hoping for a guide to capture said configs with a recommended subset. Not instructions for using git.

    So no the guides don’t help with that.

    Please don’t use AI for simple things like this.

    The Odin Project has a tutorial on Git Basics and a guide on Setting Up Git. The instructions are roughly the same whether on Github, Codeberg, etc.

    Once you have the repository, it’s as simple as:

    git add . git commit -m "Updated config" git push origin main
    Git Basics | The Odin Project

    The Odin Project empowers aspiring web developers to learn together for free

    Please don’t use AI for simple things like this.

    Simple things seems like the best use of AI