Borg (backup software)

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

Borg
Developer(s)The Borg Collective
Initial releaseJune 11, 2015; 9 years ago (2015-06-11)
Stable release(s)
1.4.0[1] / 3 July 2024; 4 months ago (3 July 2024)
Preview release(s)
2.0.0b12[2] / October 3, 2024; 52 days ago (2024-10-03)
Repositorygithub.com/borgbackup/borg
Written inPython, Cython, C
Operating systemLinux, macOS, FreeBSD, NetBSD, OpenBSD
Experimental: Cygwin, Windows via WSL
TypeBackup
LicenseBSD[3]
Websiteborgbackup.org

History

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

Attic development began in 2010 and was accepted to Debian in August 2013. Attic is 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.[5] 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.

The next major version, 2.0, currently in beta, will break backward compatibility again, requiring a non-reversible upgrade process.[6]

As of 2024, Borg is actively developed by many contributors,[7] 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.

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

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 global data deduplication. 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. A few desktop app, Pika and Vorta for example and many web interfaces. See the community pages for an updated list.[9]

See also

edit

References

edit

[2]

[3]

[4]

  1. ^ "Release 1.4.0".
  2. ^ a b "Releases - borgbackup/borg". www.smlnj.org. Retrieved 2023-01-28 – via GitHub.
  3. ^ a b "LICENSE published in source repository". 2013-06-24. Retrieved 2023-01-29 – via GitHub.
  4. ^ a b "LICENSE published in source repository". 2013-06-24. Retrieved 2023-01-29 – via GitHub.
  5. ^ "Discuss Goals · Issue #1 · borgbackup/Borg". GitHub.
  6. ^ "Important notes 2.x — Borg - Deduplicating Archiver 2.0.0b9.dev56 documentation". borgbackup.readthedocs.io. Retrieved 2024-05-22.
  7. ^ "The BorgBackup Open Source Project on Open Hub". 20 July 2024. Retrieved 20 July 2024.
  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. ^ "Resources from the Borg Community". Retrieved 2024-06-04.
edit