{"id":13394838,"url":"https://github.com/borgbackup/borg","last_synced_at":"2026-03-16T00:19:25.001Z","repository":{"id":31947382,"uuid":"35517126","full_name":"borgbackup/borg","owner":"borgbackup","description":"Deduplicating archiver with compression and authenticated encryption.","archived":false,"fork":false,"pushed_at":"2025-05-11T08:21:04.000Z","size":35575,"stargazers_count":11807,"open_issues_count":412,"forks_count":762,"subscribers_count":152,"default_branch":"master","last_synced_at":"2025-05-13T02:22:55.025Z","etag":null,"topics":["backup","borgbackup","compression","deduplication","encryption","python","ssh"],"latest_commit_sha":null,"homepage":"https://www.borgbackup.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borgbackup.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":"docs/support.rst","governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"borgbackup","liberapay":"borgbackup","open_collective":"borgbackup","custom":["https://www.borgbackup.org/support/fund.html"]}},"created_at":"2015-05-12T23:10:47.000Z","updated_at":"2025-05-12T21:59:44.000Z","dependencies_parsed_at":"2024-03-02T15:27:32.795Z","dependency_job_id":"1fe4f780-9a4f-4dc4-9e9e-67da56fa5f3a","html_url":"https://github.com/borgbackup/borg","commit_stats":{"total_commits":6229,"total_committers":344,"mean_commits":"18.107558139534884","dds":"0.44405201476962597","last_synced_commit":"d1d438ba5747294d8206076608158aaa64d88ff4"},"previous_names":[],"tags_count":141,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgbackup%2Fborg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgbackup%2Fborg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgbackup%2Fborg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgbackup%2Fborg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borgbackup","download_url":"https://codeload.github.com/borgbackup/borg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253929352,"owners_count":21985802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","borgbackup","compression","deduplication","encryption","python","ssh"],"created_at":"2024-07-30T17:01:33.450Z","updated_at":"2026-03-16T00:19:24.993Z","avatar_url":"https://github.com/borgbackup.png","language":"Python","readme":"This is borg2!\n--------------\n\nPlease note that this is the README for borg2 / master branch.\n\nFor the stable version's docs, please see here:\n\nhttps://borgbackup.readthedocs.io/en/stable/\n\nBorg2 is currently in beta testing and might get major and/or\nbreaking changes between beta releases (and there is no beta to\nnext-beta upgrade code, so you will have to delete and re-create repos).\n\nThus, **DO NOT USE BORG2 FOR YOUR PRODUCTION BACKUPS!** Please help with\ntesting it, but set it up *additionally* to your production backups.\n\nTODO: the screencasts need a remake using borg2, see here:\n\nhttps://github.com/borgbackup/borg/issues/6303\n\n\nWhat is BorgBackup?\n-------------------\n\nBorgBackup (short: Borg) is a deduplicating backup program.\nOptionally, it supports compression and authenticated encryption.\n\nThe main goal of Borg is to provide an efficient and secure way to back up data.\nThe data deduplication technique used makes Borg suitable for daily backups\nsince only changes are stored.\nThe authenticated encryption technique makes it suitable for backups to targets not\nfully trusted.\n\nSee the `installation manual`_ or, if you have already\ndownloaded Borg, ``docs/installation.rst`` to get started with Borg.\nThere is also an `offline documentation`_ available, in multiple formats.\n\n.. _installation manual: https://borgbackup.readthedocs.io/en/master/installation.html\n.. _offline documentation: https://readthedocs.org/projects/borgbackup/downloads\n\nMain features\n~~~~~~~~~~~~~\n\n**Space efficient storage**\n  Deduplication based on content-defined chunking is used to reduce the number\n  of bytes stored: each file is split into a number of variable length chunks\n  and only chunks that have never been seen before are added to the repository.\n\n  A chunk is considered duplicate if its id_hash value is identical.\n  A cryptographically strong hash or MAC function is used as id_hash, e.g.\n  (hmac-)sha256.\n\n  To deduplicate, all the chunks in the same repository are considered, no\n  matter whether they come from different machines, from previous backups,\n  from the same backup or even from the same single file.\n\n  Compared to other deduplication approaches, this method does NOT depend on:\n\n  * file/directory names staying the same: So you can move your stuff around\n    without killing the deduplication, even between machines sharing a repo.\n\n  * complete files or time stamps staying the same: If a big file changes a\n    little, only a few new chunks need to be stored - this is great for VMs or\n    raw disks.\n\n  * The absolute position of a data chunk inside a file: Stuff may get shifted\n    and will still be found by the deduplication algorithm.\n\n**Speed**\n  * performance-critical code (chunking, compression, encryption) is\n    implemented in C/Cython\n  * local caching\n  * quick detection of unmodified files\n\n**Data encryption**\n    All data can be protected client-side using 256-bit authenticated encryption\n    (AES-OCB or chacha20-poly1305), ensuring data confidentiality, integrity and\n    authenticity.\n\n**Obfuscation**\n    Optionally, Borg can actively obfuscate, e.g., the size of files/chunks to\n    make fingerprinting attacks more difficult.\n\n**Compression**\n    All data can be optionally compressed:\n\n    * lz4 (super fast, low compression)\n    * zstd (wide range from high speed and low compression to high compression\n      and lower speed)\n    * zlib (medium speed and compression)\n    * lzma (low speed, high compression)\n\n**Off-site backups**\n    Borg can store data on any remote host accessible over SSH. If Borg is\n    installed on the remote host, significant performance gains can be achieved\n    compared to using a network file system (sshfs, NFS, ...).\n\n**Backups mountable as file systems**\n    Backup archives are mountable as user-space file systems for easy interactive\n    backup examination and restores (e.g., by using a regular file manager).\n\n**Easy installation on multiple platforms**\n    We offer single-file binaries that do not require installing anything -\n    you can just run them on these platforms:\n\n    * Linux\n    * macOS\n    * FreeBSD\n    * OpenBSD and NetBSD (no xattrs/ACLs support or binaries yet)\n    * Cygwin (experimental, no binaries yet)\n    * Windows Subsystem for Linux (WSL) on Windows 10/11 (experimental)\n\n**Free and Open Source Software**\n  * security and functionality can be audited independently\n  * licensed under the BSD (3-clause) license, see `License`_ for the\n    complete license\n\nEasy to use\n~~~~~~~~~~~\n\nFor ease of use, set the BORG_REPO environment variable::\n\n    $ export BORG_REPO=/path/to/repo\n\nCreate a new backup repository (see ``borg repo-create --help`` for encryption options)::\n\n    $ borg repo-create -e repokey-aes-ocb\n\nCreate a new backup archive::\n\n    $ borg create Monday1 ~/Documents\n\nNow do another backup, just to show off the great deduplication::\n\n    $ borg create -v --stats Monday2 ~/Documents\n    Repository: /path/to/repo\n    Archive name: Monday2\n    Archive fingerprint: 7714aef97c1a24539cc3dc73f79b060f14af04e2541da33d54c7ee8e81a00089\n    Time (start): Mon, 2022-10-03 19:57:35 +0200\n    Time (end):   Mon, 2022-10-03 19:57:35 +0200\n    Duration: 0.01 seconds\n    Number of files: 24\n    Original size: 29.73 MB\n    Deduplicated size: 520 B\n\n\nHelping, donations and bounties, becoming a Patron\n--------------------------------------------------\n\nYour help is always welcome!\n\nSpread the word, give feedback, help with documentation, testing or development.\n\nYou can also give monetary support to the project, see here for details:\n\nhttps://www.borgbackup.org/support/fund.html\n\nLinks\n-----\n\n* `Main website \u003chttps://borgbackup.readthedocs.io/\u003e`_\n* `Releases \u003chttps://github.com/borgbackup/borg/releases\u003e`_,\n  `PyPI packages \u003chttps://pypi.org/project/borgbackup/\u003e`_ and\n  `Changelog \u003chttps://github.com/borgbackup/borg/blob/master/docs/changes.rst\u003e`_\n* `Offline documentation \u003chttps://readthedocs.org/projects/borgbackup/downloads\u003e`_\n* `GitHub \u003chttps://github.com/borgbackup/borg\u003e`_ and\n  `Issue tracker \u003chttps://github.com/borgbackup/borg/issues\u003e`_.\n* `Web chat (IRC) \u003chttps://web.libera.chat/#borgbackup\u003e`_ and\n  `Mailing list \u003chttps://mail.python.org/mailman/listinfo/borgbackup\u003e`_\n* `License \u003chttps://borgbackup.readthedocs.io/en/master/authors.html#license\u003e`_\n* `Security contact \u003chttps://borgbackup.readthedocs.io/en/master/support.html#security-contact\u003e`_\n\nCompatibility notes\n-------------------\n\nEXPECT THAT WE WILL BREAK COMPATIBILITY REPEATEDLY WHEN MAJOR RELEASE NUMBER\nCHANGES (like when going from 0.x.y to 1.0.0 or from 1.x.y to 2.0.0).\n\nNOT RELEASED DEVELOPMENT VERSIONS HAVE UNKNOWN COMPATIBILITY PROPERTIES.\n\nTHIS IS SOFTWARE IN DEVELOPMENT, DECIDE FOR YOURSELF WHETHER IT FITS YOUR NEEDS.\n\nSecurity issues should be reported to the `Security contact`_ (or\nsee ``docs/support.rst`` in the source distribution).\n\n.. start-badges\n\n|doc| |build| |coverage| |bestpractices|\n\n.. |doc| image:: https://readthedocs.org/projects/borgbackup/badge/?version=master\n        :alt: Documentation\n        :target: https://borgbackup.readthedocs.io/en/master/\n\n.. |build| image:: https://github.com/borgbackup/borg/workflows/CI/badge.svg?branch=master\n        :alt: Build Status (master)\n        :target: https://github.com/borgbackup/borg/actions\n\n.. |coverage| image:: https://codecov.io/github/borgbackup/borg/coverage.svg?branch=master\n        :alt: Test Coverage\n        :target: https://codecov.io/github/borgbackup/borg?branch=master\n\n.. |screencast_basic| image:: https://asciinema.org/a/133292.png\n        :alt: BorgBackup Basic Usage\n        :target: https://asciinema.org/a/133292?autoplay=1\u0026speed=1\n        :width: 100%\n\n.. _installation: https://asciinema.org/a/133291?autoplay=1\u0026speed=1\n\n.. _advanced usage: https://asciinema.org/a/133293?autoplay=1\u0026speed=1\n\n.. |bestpractices| image:: https://bestpractices.coreinfrastructure.org/projects/271/badge\n        :alt: Best Practices Score\n        :target: https://bestpractices.coreinfrastructure.org/projects/271\n\n.. end-badges\n","funding_links":["https://github.com/sponsors/borgbackup","https://liberapay.com/borgbackup","https://opencollective.com/borgbackup","https://www.borgbackup.org/support/fund.html"],"categories":["Python","C","Apps","\u003ca id=\"tag-productivity\" href=\"#tag-productivity\"\u003eProductivity\u003c/a\u003e","Operation System","GNU/Linux","\\*nix/\\*nux","Interaction","A list of FOSS backup software","DevOps工具","Ports and Programs","Python 程序","python","Application Recommendation","DevOps Tools","Backups, replication, distribution","Table of Contents"],"sub_categories":["Backup","Database and Record","Storage and Record","Data Backup and Recovery","网络服务_其他","Misc","☁️ Cloud storage"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgbackup%2Fborg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborgbackup%2Fborg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgbackup%2Fborg/lists"}