Free open-source backup client that stores encrypted, incremental, compressed backups on cloud storage and remote file servers.
borgbackup/borg
Deduplicating backup program with optional compression and authenticated encryption, storing only changed chunks of data.
Open-source alternative to:Time Machine
Acronis True Image
- Stars
- 13,870
- Forks
- 882
- Open issues
- 183
- Last commit
- 2 days ago
What is it?
BorgBackup (Borg) is a command-line backup program that splits files into variable-length chunks and stores only chunks it has never seen before. Because deduplication works on content rather than file names or paths, repeated daily backups stay small, and even data shared between machines using the same repository is stored once.
All data can be encrypted on the client before it leaves the machine, using 256-bit authenticated encryption, so backups can be sent to storage that is not fully trusted. Compression with lz4, zstd, zlib or lzma is optional. Targets include local paths, SSH hosts, SFTP, S3, B2 and any backend supported by rclone, and archives can be mounted as a file system for browsing and restores.
This repository is the unstable Borg 2 beta branch, which may change incompatibly between releases and should not be used for production backups. Single-file binaries are provided for Linux, macOS, FreeBSD and Windows.
Key features
- 01Content-defined chunking deduplication that keeps only new chunks
- 02Client-side authenticated encryption with AES-OCB or chacha20-poly1305
- 03Optional compression with lz4, zstd, zlib or lzma
- 04Remote repositories over SSH, SFTP, S3, B2 and rclone
- 05Mount backup archives as file systems for browsing and restore
- 06Single-file binaries for Linux, macOS, FreeBSD and Windows
Use cases
- Daily backups of home or server directories where most data does not change
- Backing up to an untrusted remote host or cloud bucket with encryption
- Keeping many similar VM images or disk snapshots in a small repository
Topics
FAQ
- What is borg?
- Deduplicating backup program with optional compression and authenticated encryption, storing only changed chunks of data. BorgBackup (Borg) is a command-line backup program that splits files into variable-length chunks and stores only chunks it has never seen before. Because deduplication works on content rather than file names or paths, repeated daily backups stay small, and even data shared between machines using the same repository is stored once.
- Is borg free to use? What license does it have?
- borg is open source under the Other license. Check the license terms before using it in commercial products.
- Is borg still maintained?
- Actively maintained. The last commit to borg was on Oct 20, 2026.
- What can I use borg for?
- Daily backups of home or server directories where most data does not change Backing up to an untrusted remote host or cloud bucket with encryption Keeping many similar VM images or disk snapshots in a small repository
- Where can I get borg?
- The source code and installation instructions are on GitHub: https://github.com/borgbackup/borg
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A terminal UI for rsync that manages reusable transfer profiles, previews changes as a dry-run diff, and shows live progress, including over SSH.
Free cross-platform archive manager and extractor supporting 200+ archive formats, with encryption, splitting and a built-in file manager.
Free, open-source native macOS archive tool for creating and extracting ZIP, 7Z and TAR files, with RAR extraction, encryption and Finder integration.
A SwiftUI macOS graphical front end for rsync that manages sync tasks and parameters without the command line.
Command-line tool to sync, copy and mount files across more than 70 cloud storage providers and local storage, described as rsync for the cloud.