Kopia: Open-Source, Fast and Secure Open-Source Backup Software

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • kopia

    Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included.

  • Kopia is great, though it's worth noting for folks on Linux: non-UTF-8 paths aren't stored correctly [1] and xattrs aren't stored [2]. While most folks probably won't care about the former, the latter can could cause issues (eg. losing SELinux labels makes it difficult to restore a backup of the root filesystem on distros that use SELinux).

    [1] https://github.com/kopia/kopia/issues/1764

    [2] https://github.com/kopia/kopia/issues/544

  • BorgBackup

    Deduplicating archiver with compression and authenticated encryption.

  • Borg 2 has been in development for nearly a year and a half [1] and may probably be released early next year, i.e., early 2024 (just a guess, seeing that even RC1 is not yet released and seems to have a lot of work to be done).

    Does anyone know how Borg 1.x and 2 would compare to Kopia?

    [1]: https://github.com/borgbackup/borg/issues/6602

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • bupstash

    Easy and efficient encrypted backups.

  • Bupstash (https://bupstash.io/) beats Borg and Kopia in my tests (see https://masysma.net/37/backup_tests_borg_bupstash_kopia.xhtm...). It is a modern take very close to what Borg offers regarding the feature set but has a significantly better performance (in terms of resource use for running tasks, the backups were slightly larger than Borg's in my tests).

  • npbackup

    A secure and efficient file backup solution that fits both system administrators (CLI) and end users (GUI)

  • I'd be interested in comparison with:

    https://relicabackup.com/features

    https://github.com/netinvent/npbackup

    Which is my current short-list for cross platform backup...

  • restic

    Fast, secure, efficient backup program

  • Can someone please help decide what is the "best" backup software?

    - Restic (https://restic.net/)

  • Duplicacy

    A new generation cloud backup tool

  • gitkurwa

    A sample project containing usefull verbose aliases, for those who feel lost and angry at git. Basically for those Polish folks, who scream "Git, kurwa!".

  • > as far as OSS names of Polish go, kopia is pretty tame

    Well indeed.

    There's a project on GitHub with 1.7k stars called GitKurwa[1].

    Now that's proper untame Polish. ;-)

    [1] https://github.com/jakubnabrdalik/gitkurwa

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • zfsnapr

    Recursive ZFS snapshot mounter

  • FreeBSD had a pretty decent option in the base system two decades ago - FFS snapshots and a stock backup tool that would use them automatically with minimal effort, dump(8). Just chuck `-L` at it and your backups are consistent.

    Now of course it's all about ZFS, so there's at least snapshots paired with replication - but the story for anything else is still pretty bad, with you having to put all the fiddly pieces together. I'm sure some people taught their backup tool about their special named backup snapshots sprinkled about in `.zfs/snapshot` directories, but given the fiddly nature of it I'm also sure most people just ended up YOLOing raw directories, temporal-smearing be damned.

    I know I did!

    I finally got around to fixing that last year with zfsnapr[1]. `zfsnapr mount /mnt/backup` and there's a snapshot of the system - all datasets, mounted recursively - ready for whatever backup tool of the year is.

    I'm kind of disappointed in mentioning it over on the Practical ZFS forum that the response was not "why didn't you just use ", but "I can see why that might be useful".

    Well, yes, it makes backups actually work.

    > Also, it's unclear to me what happens if you attempt a snapshot in the middle of something like a database transaction or even a basic file write. Seems likely that the snapshot would still be corrupted

    A snapshot is a point-in-time image of the filesystem at a given point. Any ACID database worth the name will roll back the in-flight transaction just like they would if you issued it a `kill -9`.

    For other file writes, that's really down to whether or not such interruptions were considered by the writer. You may well have half-written files in your snapshot, with the file contents as they were in between two write() calls. Ideally this will only be in the form of temporary files, prior to their rename() over the data they're replacing.

    For everything else - well, you have more than one snapshot backed up, right?

    1: https://github.com/Freaky/zfsnapr

  • borgtui

    A nice TUI for BorgBackup

  • Personally I use borg with BorgTUI (https://github.com/dpbriggs/borgtui) to schedule backups and manage sources/repositories. I'm quite pleased with the simplicity of it compared to some of the other solutions.

  • borgmatic

    Simple, configuration-driven backup software for servers and workstations

  • Not really dumb. I do use them too but with Borgbackup on the top (since they support it natively).

    I found Borgmatic ( https://torsion.org/borgmatic/ ) to be the best way to run my backups. It takes care of everything from pruning to verifying the checksum etc... and it integrates with some monitoring (like cronitor).

    So Borgmatic + rsync.net is the best combo

  • z3

    Backup your ZFS snapshots to S3. (by presslabs)

  • rclone-sync-zfs

    atomic rclone of zfs dataset

  • RcloneZFSBackup

    Backup ZFS snapshots to cloud storage using RCLone

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts