I just got my home server up and running and was wondering what you guys recommend for backups. I figure it will probably be worth having backups on cloud servers tjay are external, are there any good services yall use for that?

  • dsemy@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Once you actually start using it it is dead simple and integrates extremely well with stuff you (might) already do.

    I have a Git repo which contains my dotfiles + every “large” (annexed) file I want to back up under my home directory.

    Git annex automatically tracks where all annexed files are, how many copies there are on various repos, etc.

    I add and modify files using mostly standard git commands.

    It supports pretty much anything as a “remote”.

    It’s extremely simple to restore backups locally or remotely.

    Basically Git annex is the Git of backup solutions IME, allowing you extreme flexibility to do exactly what you want, provided you take the time to learn how to do what you want.

    • Rakn
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Features that are important to me are things like an easy overview of all backup jobs (ideal via a web UI), snapshots going back every day for a week and after that every month. Backup to providers like Backblaze or AWS and the ability to browse these backups and individual snapshots.

      I’d assume that you can build all of this with git annex in some way. But I really want something that works out of the box. E.g. install the backup software give it some things to backup and an B2 bucket and then go.

      What I’m curious about is that the git-annex site explicitly days that they aren’t a backup system, but you describe it as such.

      • dsemy@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        I don’t care about stuff working OOTB - half the fun is messing around with things IMO.

        I also don’t care about web UIs and similar features (I always got the impression from selfhosting communities that this is considered important but I never really understood why - I don’t spend all day staring at statistics, and when I need some info I can get it through the terminal usually).

        Also, first sentence on Git Annex’s website:

        git-annex allows managing large files with git, without storing the file contents in git. It can sync, backup, and archive your data, offline and online. Checksums and encryption keep your data safe and secure.

        Not sure why you’re saying it’s not a backup solution.

        Efit: I guess the “what git-annex is not” page says this.

        To quote a comment by the creator on the same page:

        It’s definitely possible to use git-annex in backup-like ways, but what I want to discourage is users thinking that just putting files into git-annex means that they have a backup. Proper backups need to be designed, and tested. It helps to use software that is explicitly designed as a backup solution. git-annex is more about file distribution, and some archiving, than backups.

        So basically he says this just so people won’t yell at him when they fail to use it as a backup solution correctly.

        • Rakn
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          I don’t care about stuff working OOTB - half the fun is messing around with things IMO.

          I generally agree. Backups for me are just something I don’t want to tinker with. It’s important to me that they work OOTB, are easy to grasp and I have a good overview.

          The web interface is important to me because it gives me that overview from any device I’m currently using without needing to type anything into a terminal. The OOTB is important to me since I want to be able to easily set this all up again even without access to my Ansible setup or previous configuration.

          To each their own. I’m not saying your way of doing this is wrong. It’s just not for me. This is just my reasoning / preferences. It’s also the reason something like borg wasn’t my chosen solution, even though it’s generally considered great.

          • dsemy@lemm.ee
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            I understand your position, though I always have access to a terminal pretty much so I still don’t see the point of a web UI.

            Though I realize I’m in the minority here.