# BorgBackup

Open\-source deduplicating file archiver with compression, optional authenticated encryption and local or SSH repositories\.

ID: Q1239 · Revision: 1287

Type: software · License: BSD 3\-Clause[^borg-docs] · Status: active

Website: https://www.borgbackup.org/



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\.[^borg-home][^borg-start]

## Archives and repository placement

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\.[^borg-home]

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\.[^borg-start]

## Encryption and recovery material

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\.[^borg-start]

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\.[^borg-start]

## Retention and supported environments

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\.[^borg-retention]

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\.[^borg-docs][^borg-platform][^borg-home]

## Substitution considerations

BorgBackup can substitute for [Restic](/restic) 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\.[^borg-home][^borg-start][^borg-platform][^restic-home][^restic-repo]

## Capabilities and substitutions

### Deduplicated archives — supported

Archives share identical chunks in a repository, with configurable compression\.[^borg-home]

Use case: Repeated versioned file backups · Platforms: Linux, macOS, BSD, Windows subsystem/Cygwin experimental · Region: Storage provider, account and regional availability requirements apply

### Encrypted recovery — limited

Encrypted repositories require both key material and the passphrase; key storage mode affects disaster recovery\.[^borg-start]

Use case: Restoring after loss of the original machine · Platforms: Linux, macOS, BSD, Windows subsystem/Cygwin experimental · Region: Storage provider, account and regional availability requirements apply

### Windows deployment — limited

Stable installation documentation describes subsystem/Cygwin routes as experimental rather than a native Windows equivalent\.[^borg-platform]

Use case: Backing up Windows environments · Platforms: Linux, macOS, BSD, Windows subsystem/Cygwin experimental · Region: Storage provider, account and regional availability requirements apply

### [Substitute for Restic](/restic) — limited

Suitable overlap for Unix\-oriented backup to controlled storage; direct object\-storage and native Windows requirements need a different evaluation\.[^borg-home][^borg-start][^borg-platform][^restic-repo]

Use case: 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

## References

[^borg-docs]: [Borg 1\.4 documentation](<https://borgbackup.readthedocs.io/en/stable/>) — Stable 1\.4\.5, archive model and BSD 3\-Clause licensing (vendor; retrieved 2026-10-06T18:31:17Z)

[^borg-home]: [BorgBackup overview](<https://www.borgbackup.org/>) — Deduplication, compression, platforms; 1\.4 stable versus 2\.0 testing (vendor; retrieved 2026-10-06T18:30:59Z)

[^borg-start]: [Borg quick start](<https://borgbackup.readthedocs.io/en/stable/quickstart.html>) — Client encryption, key/passphrase, remote SSH repositories and restore methods (vendor; retrieved 2026-10-06T18:31:47Z)

[^borg-retention]: [Borg prune](<https://borgbackup.readthedocs.io/en/stable/usage/prune.html>) — Retention selection and separate compact requirement (vendor; retrieved 2026-10-06T18:32:05Z)

[^borg-platform]: [Borg installation](<https://borgbackup.readthedocs.io/en/stable/installation.html>) — Unix\-like platforms; experimental Windows subsystem/Cygwin routes (vendor; retrieved 2026-10-06T18:31:47Z)

[^restic-home]: [Restic overview and license](<https://restic.net/>) — Cross\-platform backup, changed data, open source and BSD 2\-Clause license (vendor; retrieved 2026-10-06T18:30:59Z)

[^restic-repo]: [Restic repository preparation](<https://restic.readthedocs.io/en/stable/030_preparing_a_new_repo.html>) — Storage backends, repository format and password recovery boundary (vendor; retrieved 2026-10-06T18:31:17Z)

Source revision: https://substitutefor.net/entities/Q1239?revision=1287
