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!

  • @[email protected]
    link
    fedilink
    English
    1518 days ago
    1. Create git repo
    2. Put all config in git repo
    3. Create repo on codeberg
    4. Clone git repo to both VPS and laptop

    No extra money needed

    • @[email protected]
      link
      fedilink
      English
      718 days ago

      Make sure to not check in secrets in plaintext. git crypt is one way to encrypt secrets before checking them in.

    • @[email protected]OP
      link
      fedilink
      English
      318 days ago

      Codeberg sounds like a good way! I was concerned about server config being stored on self-hosted forgejo (which is configured by the very server config), turns out that need not be the case.

    • @[email protected]
      link
      fedilink
      English
      -3
      edit-2
      18 days ago

      Edit: Was asking about the config targetting process for git (not how to use git) and was going to ask an AI to do some googling for me.