BorgBackup Open-source deduplicating file archiver with compression, optional authenticated encryption and local or SSH repositories.
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.[2] [3]
Contents 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.[2]
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.[3]
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.[3]
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.[3]
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.[4]
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.[1] [2] [5]
Substitution considerations BorgBackup can substitute for 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.[2] [3] [5] [6] [7]
References Borg 1.4 documentation Stable 1.4.5, archive model and BSD 3-Clause licensing
vendor · retrieved 2026-10-06 BorgBackup overview Deduplication, compression, platforms; 1.4 stable versus 2.0 testing
vendor · retrieved 2026-10-06 Borg quick start Client encryption, key/passphrase, remote SSH repositories and restore methods
vendor · retrieved 2026-10-06 Borg prune Retention selection and separate compact requirement
vendor · retrieved 2026-10-06 Borg installation Unix-like platforms; experimental Windows subsystem/Cygwin routes
vendor · retrieved 2026-10-06 Restic overview and license Cross-platform backup, changed data, open source and BSD 2-Clause license
vendor · retrieved 2026-10-06 Restic repository preparation Storage backends, repository format and password recovery boundary
vendor · retrieved 2026-10-06 Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.