I am using duplicati and thinking of switching to Borg. What do you use and why?

  • Fryboyter@discuss.tchncs.de
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    There is no such thing as the objectively best solution. Each tool has advantages and disadvantages. And every user has different preferences and requirements.

    Personally, I am using Borg for years. And I have had to restore data several times, which has worked every time.

    In addition to Borg, you can also look at Borgmatic. This wrapper extends the functionality and makes some things easier.

    And if you want to use a graphical user interface, you can have a look at Vorta or Pika.

    • privsecfoss@feddit.dkOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Agree. Should say ‘best for you’. Cool thanks. I know of Vorta which I intended of using. Gonna read up on the other ones.

    • TedvdBA
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Oh I love borg backups and the ability to script it.

      I’m making encrypted backups of a lot of servers this way, including a Lemmy instance.

  • CjkOvPDwQW@lemmy.pt
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    Using borg backup, just because there are some nice frontends for the gnome ecosystem (when I am using gnome, I love to use gnome apps), and it has a nice cmd for scripting when using something else (using it on servers)

  • flux@beehaw.org
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Kopia has served me great. I back up to my local Ceph S3 storage and then keep a second clone of that on a raid.

    Kopiahas good performance and miltiple hosts can back up tp it concurrently while preserving deduplication – unlike borgbackup.

    • aliens@infosec.pub
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Kopia has been working great for me as well. It’s simple, versatile and reliable. I previously used Duplicati but kept running into jobs failing for no reason, backup configurations missing randomly and simple restores taking hours. It was a hot mess and I’m happy I switched.

      • Parsnip8904@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        I want to love kopia but the command line syntax feels unnatural to me. I don’t know why either. For the whole month I test drove it, I had to look up every single time how to do something. Contrast this with restic which is less featureful in some ways but a few days in it felt like I was just using git.

        • aliens@infosec.pub
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          I never used the command line with Kopia besides starting it up in server mode and used the web based GUI to configure, it was pretty simple to get everything setup that way. You may want to give it another try using Kopia in that mode.

            • flux@beehaw.org
              link
              fedilink
              English
              arrow-up
              3
              ·
              1 year ago

              You can use the web ui remotely.

              Personally I use it from command line, though, and my only complaint is that it’s too easy to start a backup you didn’t intend to… Buut if you’re careful about usong the kopia snapshot command then it’s fine.

              • Parsnip8904@beehaw.org
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                Oh I thought the webui was only for server mode.

                I just quickly glanced through the manuals of both restic and kopia. I think my trouble with kopia is that its style feels kind of weird. I’m just not able to wrap my head around it well.

                kopia snapshot create /dir is shorter but more confusing than restic -r repo backup /dir

  • I_Am_Jacks_____@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I’ve been using restic. It has built-in dedup & encryption and supports both local and remote storage. I’m using it to back up to a local restic-server (pointing to a USB drive) and Backblaze B2.

    Restores for single or small sets of files is easy: restic -r $REPO mount /mnt Then browse through the filesystem view of your snapshots and copy just like any other filesystem.

  • TDCN@feddit.dk
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Rsync is great but if you want snapshots and file history rsnapshot works pretty well. It’s based on rsync but for every sync it creates shortcuts for existing files and only copies changes and new files. It saves space and remains transparent for the user. FreeFileSync is also amazing

  • esm@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    What problem are you trying to solve? Please think about that, and about your backup strategy, before you decide on any specific tools.

    For example, here are several scenarios that I guard against in my backup strategy:

    • Accidentally delete a file, I want to recover it quickly (snapshots);
    • Entire drive goes kablooie, I want my system to continue running without downtime (RAID)
    • User data drive goes kablooie, I want to recover (many many options)
    • Root drive goes kablooie, I want to recover (baremetal recovery tools)
    • House burns down or computer is damaged/stolen (offsite backups)
  • flatbield@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Just a reminder. Consider and test your restore process as well. Backups without restore testing are kind of questionable. Also think how the restore will go. Do you want to do a bare metal restore, or will you just reinstall, and restore certain things for example. Lot of these backup methods will not get a true bare metal restore set, nor can file system backups be “perfect” if they are done on a running system. Databases and things like cryptfs mounts for example can be problematic for example. Nor do all tools necessarily backup the full structure of the file system.

    Not saying these are always issues, just be aware of them.

  • JohannesOliver@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Multiple. Locally I have Timeshift doing btrfs snapshots every so often. This is mostly to roll back to a snapshot if something breaks. I’ve never had to use it (and probably should).

    I use Pika backup every once in a while for a local backup to an external drive. Mostly because it’s easy to restore quickly.

    I have duplicacy doing backups to a cloud provider. I used to use duplicati for this, and it was fine - although I didn’t like that it seems to be forever in beta. I like that duplicacy can do deduplication between backups of different machines which most other solutions I’ve seen cannot. I like its selection of cloud providers vs Borg/Vorta and some others.

  • derek@lemmy.one
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago
    • Btrfs for local system backups based on snapshots
    • Photoprism for photos
    • Syncthing for other media
    • flux@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      You will reconsider calling strategy a backup should the filesystem get corrupted for whatever reason.

      I’ve tested my full system backup restore once with btrfs. Worked out fine.

      • derek@lemmy.one
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Maybe Photoprism isn’t a backup strategy, but Syncthing for sure is, because you can have multiple backup units in it.

        I’m additionally use software RAID on one of devices, that receives Syncthing backups.

  • isosphere@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I’m currently working on a disaster recovery plan using fsarchiver. I have very limited experience with it so far, but it had the features and social proof I was looking for.

    I have so far used it to create offline filesystem backups of two volumes, one was LUKS encrypted (has to be manually “opened” with cryptsetup).

    It can backup live filesystems which was important to me.

    It’s early days for my experience with this, but I’m sure others have used it and might chime in.

    • flatbield@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Just one warning. If doing live, think about state and test your restores. Just mention because things like databases and ecryptfs will not properly archive live. There are various ways around, but consider if you have concerns regarding getting really good complete backups taken at one point in time and on live systems.