Borg
DeveloperThe Borg Collective
ReleaseJune 11, 2015; 11 years ago (2015-06-11)
Stable release(s)
1.4.1[1]Edit this on Wikidata / 18 April 2025; 14 months ago (18 April 2025)
Preview release(s)
2.0.0b17[2]Edit this on Wikidata / 23 May 2025; 12 months ago (23 May 2025)
Written inPython, Cython, C
Operating systemLinux, macOS, FreeBSD, NetBSD, OpenBSD
Experimental: Cygwin, Windows via WSL
TypeBackup
LicenseBSD 3-clause license[3]
Websiteborgbackup.org
Repositorygithub.com/borgbackup/borg

Borg (previously called Attic) is deduplicating backup software for various Unix-like operating systems.[4][5] Borg is notably included in the Debian, Fedora, and Arch repositories.

History

edit
Attic
Original authorJonas Borgström
ReleaseMarch 14, 2010; 16 years ago (2010-03-14)
Final release(s)
0.16 / May 16, 2015; 11 years ago (2015-05-16)
Written inPython, C
Operating systemLinux, FreeBSD, OS X
Size86 KB
TypeBackup
LicenseBSD[6]
Websiteattic-backup.org [dead link]
Repository

Attic development began in 2010 and was accepted to Debian in August 2013. Attic was available from pip and notably part of Debian, Ubuntu, Arch and Slackware.

In 2015, Attic was forked as "Borg" to support a "more open, faster paced development", according to its developers.[7] Many issues in Attic have been fixed in this fork, but backward compatibility with the original program has been lost (a non-reversible upgrade process exists). Borg 1.0.0 was finally released on 5 March 2016.

As of April 2021, the attic website was removed.[8]

The next major Borg version, 2.0, in beta since 2022, will break backward compatibility again, requiring a non-reversible upgrade process.[9]

As of 2024, Borg is actively developed by many contributors,[10] while Attic is no longer available. Stable releases can be found in various Linux distributions such as Arch Linux, Debian, Fedora, OpenSUSE, Ubuntu, as well as in the ports collection of various BSD derivatives and through Homebrew for macOS. The project also offers pre-built binaries for Linux, FreeBSD, and macOS.

Design

edit

Borg offers efficient, deduplicated, compressed and (optionally) encrypted and authenticated backups.

A backup includes metadata like owner/group, permissions, POSIX ACLs and Extended file attributes. It handles special files also - like hardlinks, symlinks, devices files, etc. Internally it represents the files in an archive as a stream of metadata, similar to tar and unlike tools such as git. The Borg project has created extensive documentation of the internal workings.

It uses a rolling hash to implement data deduplication for all data in single repository. Compression defaults to lz4, encryption is AES (via OpenSSL) authenticated by a HMAC.

Frontends

edit

Since Borg is essentially a command line program, several GUI frontends for Borg exist. Desktop applications like Vorta and Pika Backup, as well as many web interfaces, add features on top of Borg. See the community pages for an updated list.[11]

See also

edit

References

edit
  1. ^ "Release 1.4.1".
  2. ^ "Release 2.0.0b17, beta quality, for testing only".
  3. ^ "LICENSE published in source repository". 2013-06-24. Retrieved 2023-01-29 – via GitHub.
  4. ^ Thommes, Ferdinand. "Keep It Safe » Linux Magazine". Linux Magazine. Retrieved 2026-05-06.
  5. ^ Singh, Tanveer (2025-12-05). "BorgBackup is great, but this self-hosted web UI makes it the best backup manager". XDA. Retrieved 2026-05-06.
  6. ^ "LICENSE published in source repository". 2013-06-24. Retrieved 2023-01-29 – via GitHub.
  7. ^ "Discuss Goals · Issue #1 · borgbackup/Borg". GitHub.
  8. ^ "Archive of attic-backup.org as of 2021-04-15". 2021-04-15. Archived from the original on 2021-04-15. Retrieved 2021-11-19.
  9. ^ "Important notes 2.x — Borg - Deduplicating Archiver 2.0.0b9.dev56 documentation". borgbackup.readthedocs.io. Retrieved 2024-05-22.
  10. ^ "The BorgBackup Open Source Project on Open Hub". 20 July 2024. Retrieved 20 July 2024.
  11. ^ "Resources from the Borg Community". GitHub. Retrieved 2024-06-04.
edit

📚 Artikel Terkait di Wikipedia

List of backup software

backup software that performs data backups. Archivers, transfer protocols, and version control systems are often used for backups but only software focused

Borg (disambiguation)

giant virus Borg scale, a measurement of perceived exertion in sports science Borg Opening, a rare chess opening Borg (backup software) Borg (cluster manager)

Filesystem in Userspace

Management data protection applications Borg (backup software): Deduplicating backup program that allows backup archives to be mounted as FUSE filesystems

Comparison of backup software

Feature comparison of backup software. For a more general comparison see List of backup software. anarcat. "document internals better". Github pull requests

Restic

Backup software Data deduplication Filesystem in Userspace Rclone BorgBackup Warfield, Curt (2018-04-06). "Use restic on Fedora for encrypted backups"

File-hosting service

on 2 May 2013. Retrieved 8 May 2013. "BorgBase - Secure hosting for your BorgBackup Repos". BorgBase - Simple Borg Repo Hosting. Archived from the original

Kubernetes

inspired by Google's Borg cluster manager and based on Promise Theory. Many of its top contributors had previously worked on Borg; they codenamed Kubernetes

ChaCha20-Poly1305

OpenSSL and libsodium. Additionally, the algorithm is used in the backup software Borg in order to provide standard data encryption and in the copy-on-write