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

  • @CjkOvPDwQW@lemmy.pt
    link
    fedilink
    51 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)

    • *ira
      link
      fedilink
      11 year ago

      Seconded, I use restic with a remote blob storage and works nicely

  • flatbield
    link
    fedilink
    31 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.

  • @Klaymore@sh.itjust.works
    link
    fedilink
    31 year ago

    I use NixOS so all my system configuration is already saved in my NixOS configs, which I save on GitHub. For dotfiles that aren’t managed by NixOS I use syncthing to sync them between my devices, but no real backup cause I can just remake them if I need to, and things like my Neovim and VSCode configs are managed by my NixOS configs so they’re backed up as well.

      • @Klaymore@sh.itjust.works
        link
        fedilink
        2
        edit-2
        1 year ago

        Yeah I have a full impermanence setup using tmpfs, which is really nice. I did it like on the NixOS wiki and it’s been helpful for organizing my dotfiles and keeping track of all the random stuff that programs put everywhere.

        I actually have all my stuff in a separate /stuff folder kinda by accident so my /home only has dotfiles and things like that.

  • 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.

  • @flux@beehaw.org
    link
    fedilink
    31 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.

    • 𝜏au
      link
      fedilink
      2
      edit-2
      1 year ago

      I’ve been using Kopia on my desktop computer for a few years now to do cloud backups. It’s generally working well and I haven’t found anything else with the same combination of features yet.

      That said, kopia-ui is still a bit finicky and I’ve managed to bork a repo beyond repair a few times (e.g. once because my cloud provider account ran out of space, leading to some kind of inconsistent state) and there are some oddities, like the regular “periodic maintenance” (it’s a bit weird that it’s needed in the first place) randomly failing or taking forever.

    • @aliens@infosec.pub
      link
      fedilink
      English
      21 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
        21 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
          21 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
              31 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
                11 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

  • @esm@beehaw.org
    link
    fedilink
    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)
  • @TDCN@feddit.dk
    link
    fedilink
    21 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

  • LazyDaisy (she/her)
    link
    fedilink
    21 year ago

    I’m currently using TimeShift to backup my desktop onto an external hard drive (the why is because of how simple it is to use) and I’ll be making a copy of anything I upload to my jellyfin server onto the external hard drive as well. I hope to eventually have a dedicated backup server and have a duplicate of it at a friend’s house for offside backup too

  • @Holzkohlen@feddit.de
    link
    fedilink
    2
    edit-2
    1 year ago

    I just use a script on an systemd timer. Well two scripts on two timers really - one running daily, one weekly for different data. It’s just a bunch of rsync commands copying folders to an hdd in my system and I reroute the output into a simple log file, mainly to verify if it ran at all. I am a bit paranoid about that. I can also run it manually whenever I want. Oh and some of the data I also rsync again to a smb cloud drive from Hetzner. I do not keep multiple versions and I delete remote files that have been deleted locally. It’s just a 1:1 copy.
    Oh and I use OpenSuse Tumbleweed so I have auto configured btrfs snapshots. Though I have not needed them yet and could not even say how I can use those. I figure that out once I need them.

  • @I_Am_Jacks_____@beehaw.org
    link
    fedilink
    21 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.

  • @mrmanager@lemmy.today
    link
    fedilink
    1
    edit-2
    1 year ago

    I don’t have backups. :/

    And I will regret it some day.

    I use github for code so that’s backed up though.

    • Yote.zip
      link
      fedilink
      11 year ago

      You very much will. It’s easier than you’d think.

    • automated/networked backups like people are talking about here are great, but even just an external SSD and the nautilus copy function will give you at least some insurance.

    • exu
      link
      fedilink
      11 year ago

      There are two kinds of people.
      Those who make backups and those who will.

  • @ipkpjersi@lemmy.one
    link
    fedilink
    1
    edit-2
    1 year ago

    I use my own scripts with rsync etc, I don’t back up my OS itself since I have installing it automated with scripts as well. I just back up specific things I need with my scripts.

    • automated with scripts

      would you like to share those or do you have references for creating such scripts? this is on my to do list since years but I always struggle where to begin with.

      • @ipkpjersi@lemmy.one
        link
        fedilink
        2
        edit-2
        1 year ago

        They’re very personalized to my setup, so they’re not particularly useful in a general sense - I’d recommend something more like using this guide which seems to be pretty good: https://jumpcloud.com/blog/how-to-use-rsync-remote-backup-linux-system

        Learning bash has been great for me, it’s helped a ton being able to automate so many different things even just like installing and configuring specific applications to work the way I want, etc

        I think a script to manually run for manual backups plus a different script to run for automatic backups scheduled via cronjob is a great way to go.