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!

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 days ago

    Better question: Have you looked into infrastructure as code? (IaaC) you can define everything in a Git repo and then create everything in a repeatable way.

  • rumba@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 days ago

    Ansible if you want to do it the right way.

    Or keep all of your configs in one tree and use syncthing on it If you want to phone it in. Turn on versioning call it a night.

    • someacnt@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 days ago

      Thanks! I gotta get my hands on Ansible, was reluctant as I’ve heard it can be complicated. Should see myself!

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 days ago

        Ansible’s not all that bad. The alternatives are far more complicated.

        Jeff geerling has a bunch of videos on ansible 101.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    8 days ago

    I’d get familiar with deploying these with some infrastructure-as-code tools, and keep a git repo. Ansible is pretty easy to get started with.

  • pageflight@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 days ago

    If you haven’t played with Pulumi (for configuring cloud services) and Ansible (for local services, shell commands, apt installs etc) you may enjoy them as a way to capture / re-apply configuration.