{"schemaVersion":"1.0","record":{"label":"BorgBackup","description":"Open-source deduplicating file archiver with compression, optional authenticated encryption and local or SSH repositories.","aliases":["Borg"],"kind":"software","website":"https://www.borgbackup.org/","overview":"BorgBackup, often called Borg, is an open-source backup archiver that stores file history using deduplicated chunks and compression. Encrypted repositories protect content before it is written to local or remote storage. The current stable 1.4 series is distinct from Borg 2.0, which the project labels as testing.","license":"BSD 3-Clause","lifecycle":"active","example":false,"features":[{"name":"Deduplicated archives","status":"supported","detail":"Archives share identical chunks in a repository, with configurable compression.","useCase":"Repeated versioned file backups","platforms":["Linux","macOS","BSD","Windows subsystem/Cygwin experimental"],"region":"Storage provider, account and regional availability requirements apply","evidence":[{"url":"https://www.borgbackup.org/","locator":"Deduplication, compression, platforms; 1.4 stable versus 2.0 testing","retrievedAt":"2026-10-06T18:30:59Z","kind":"vendor"}]},{"name":"Encrypted recovery","status":"limited","detail":"Encrypted repositories require both key material and the passphrase; key storage mode affects disaster recovery.","useCase":"Restoring after loss of the original machine","platforms":["Linux","macOS","BSD","Windows subsystem/Cygwin experimental"],"region":"Storage provider, account and regional availability requirements apply","evidence":[{"url":"https://borgbackup.readthedocs.io/en/stable/quickstart.html","locator":"Client encryption, key/passphrase, remote SSH repositories and restore methods","retrievedAt":"2026-10-06T18:31:47Z","kind":"vendor"}]},{"name":"Windows deployment","status":"limited","detail":"Stable installation documentation describes subsystem/Cygwin routes as experimental rather than a native Windows equivalent.","useCase":"Backing up Windows environments","platforms":["Linux","macOS","BSD","Windows subsystem/Cygwin experimental"],"region":"Storage provider, account and regional availability requirements apply","evidence":[{"url":"https://borgbackup.readthedocs.io/en/stable/installation.html","locator":"Unix-like platforms; experimental Windows subsystem/Cygwin routes","retrievedAt":"2026-10-06T18:31:47Z","kind":"vendor"}]}],"alternatives":[],"slug":"borgbackup","draftAlternatives":[{"targetSlug":"restic","status":"limited","detail":"Suitable overlap for Unix-oriented backup to controlled storage; direct object-storage and native Windows requirements need a different evaluation.","useCase":"File-history backups to local or SSH storage","platforms":["Linux","macOS","BSD","Windows subsystem/Cygwin experimental"],"region":"Storage provider, account and regional availability requirements apply","evidence":[{"url":"https://www.borgbackup.org/","locator":"Deduplication, compression, platforms; 1.4 stable versus 2.0 testing","retrievedAt":"2026-10-06T18:30:59Z","kind":"vendor"},{"url":"https://borgbackup.readthedocs.io/en/stable/quickstart.html","locator":"Client encryption, key/passphrase, remote SSH repositories and restore methods","retrievedAt":"2026-10-06T18:31:47Z","kind":"vendor"},{"url":"https://borgbackup.readthedocs.io/en/stable/installation.html","locator":"Unix-like platforms; experimental Windows subsystem/Cygwin routes","retrievedAt":"2026-10-06T18:31:47Z","kind":"vendor"},{"url":"https://restic.readthedocs.io/en/stable/030_preparing_a_new_repo.html","locator":"Storage backends, repository format and password recovery boundary","retrievedAt":"2026-10-06T18:31:17Z","kind":"vendor"}]}],"evidence":[{"url":"https://www.borgbackup.org/","locator":"Deduplication, compression, platforms; 1.4 stable versus 2.0 testing","retrievedAt":"2026-10-06T18:30:59Z","kind":"vendor"},{"url":"https://borgbackup.readthedocs.io/en/stable/quickstart.html","locator":"Client encryption, key/passphrase, remote SSH repositories and restore methods","retrievedAt":"2026-10-06T18:31:47Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://borgbackup.readthedocs.io/en/stable/","locator":"Stable 1.4.5, archive model and BSD 3-Clause licensing","retrievedAt":"2026-10-06T18:31:17Z","id":"borg-docs","title":"Borg 1.4 documentation","kind":"vendor"},{"url":"https://www.borgbackup.org/","locator":"Deduplication, compression, platforms; 1.4 stable versus 2.0 testing","retrievedAt":"2026-10-06T18:30:59Z","id":"borg-home","title":"BorgBackup overview","kind":"vendor"},{"url":"https://borgbackup.readthedocs.io/en/stable/quickstart.html","locator":"Client encryption, key/passphrase, remote SSH repositories and restore methods","retrievedAt":"2026-10-06T18:31:47Z","id":"borg-start","title":"Borg quick start","kind":"vendor"},{"url":"https://borgbackup.readthedocs.io/en/stable/usage/prune.html","locator":"Retention selection and separate compact requirement","retrievedAt":"2026-10-06T18:32:05Z","id":"borg-retention","title":"Borg prune","kind":"vendor"},{"url":"https://borgbackup.readthedocs.io/en/stable/installation.html","locator":"Unix-like platforms; experimental Windows subsystem/Cygwin routes","retrievedAt":"2026-10-06T18:31:47Z","id":"borg-platform","title":"Borg installation","kind":"vendor"},{"url":"https://restic.net/","locator":"Cross-platform backup, changed data, open source and BSD 2-Clause license","retrievedAt":"2026-10-06T18:30:59Z","id":"restic-home","title":"Restic overview and license","kind":"vendor"},{"url":"https://restic.readthedocs.io/en/stable/030_preparing_a_new_repo.html","locator":"Storage backends, repository format and password recovery boundary","retrievedAt":"2026-10-06T18:31:17Z","id":"restic-repo","title":"Restic repository preparation","kind":"vendor"}],"overviewCitations":["borg-home","borg-start"],"licenseCitations":["borg-docs"],"sections":[{"id":"archives","heading":"Archives and repository placement","paragraphs":[{"id":"deduplication","content":[{"text":"Each archive describes a saved set of files while sharing identical data chunks with other archives in its repository. This can reduce the storage required for repeated backups without making the archive merely a mirror of today's source directory. Compression provides another storage trade-off, with several algorithms available."}],"citations":["borg-home"]},{"id":"remote-storage","content":[{"text":"Repositories can reside on local storage or be accessed over SSH, normally with Borg installed on the remote host. Mounted remote filesystems are another documented route, but the manual warns that not all filesystem implementations are sufficiently reliable for backup use. A destination being reachable is therefore different from its storage semantics being suitable."}],"citations":["borg-start"]}]},{"id":"security","heading":"Encryption and recovery material","paragraphs":[{"id":"key-material","content":[{"text":"When encryption is enabled, data is encrypted on the client before reaching the repository. Recovery requires the key and its passphrase. Depending on the mode, key material is stored with the repository or in a local key file; losing the original computer can therefore make an independently saved key especially important."}],"citations":["borg-start"]},{"id":"restore-options","content":[{"text":"Recovery can use archive extraction or a mounted view for browsing and copying selected files. The manual distinguishes their purposes: extraction is appropriate for larger or more exact restorations, while a mounted view is useful for inspection and smaller selections. File ownership, permissions and the restoring user's environment also affect the resulting files."}],"citations":["borg-start"]}]},{"id":"maintenance","heading":"Retention and supported environments","paragraphs":[{"id":"retention-cleanup","content":[{"text":"Pruning selects which archives survive the configured retention policy. In the stable series, that operation does not immediately free repository disk space; compaction performs the reclamation step. Automation needs to account for both archive selection and storage cleanup instead of interpreting fewer listed archives as proof that disk usage has already fallen."}],"citations":["borg-retention"]},{"id":"platform-release","content":[{"text":"Borg is BSD-3-Clause software with established Unix-like deployment routes, including Linux, macOS and BSD. Its installation guide describes Windows subsystem and Cygwin routes as experimental, not equivalent to a mature native Windows client. The project separately marks version 2.0 as testing, so stable production claims should not silently incorporate its newer behavior."}],"citations":["borg-docs","borg-platform","borg-home"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"restic-fit","content":[{"text":"BorgBackup can substitute for "},{"text":"Restic","targetSlug":"restic"},{"text":" for encrypted file-history backups to suitable local storage or an SSH-accessible backup host. It is a narrower fit where direct object-storage integration or a native Windows client is required. This relationship concerns the backup task; it does not establish that either application's repository format can be restored by the other."}],"citations":["borg-home","borg-start","borg-platform","restic-home","restic-repo"]}]}]},"id":"Q1239","revision":1287,"updatedAt":"2026-10-14T01:05:01Z","sourceUrl":"https://substitutefor.net/entities/Q1239?revision=1287"}}