Borg (backup software) explained

Borg
Borg
Developer:The Borg Collective
Ver Layout:stacked
Programming Language:Python, Cython, C
Operating System:Linux, macOS, FreeBSD, NetBSD, OpenBSD
Experimental: Cygwin, Windows via WSL
Latest Preview Version:2.0.0b9
Genre:Backup
License:BSD

Borg (previously called Attic) is deduplicating backup software for various Unix-like operating systems.

History

Attic
Author:Jonas Borgström
Programming Language:Python, C
Ver Layout:stacked
Latest Release Version:0.16
Operating System:Linux, FreeBSD, OS X
Size:86 KB
Discontinued:yes
Genre:Backup
License:BSD

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.[1] 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.[2]

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

Design

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

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.[5]

See also

References

[6]

[7]

[8]

External links

Notes and References

  1. Web site: Discuss Goals · Issue #1 · borgbackup/Borg. GitHub.
  2. Web site: Important notes 2.x — Borg - Deduplicating Archiver 2.0.0b9.dev56 documentation . 2024-05-22 . borgbackup.readthedocs.io.
  3. Web site: The BorgBackup Open Source Project on Open Hub . 20 July 2024 . 20 July 2024.
  4. Web site: Archive of attic-backup.org as of 2021-04-15. 2021-04-15. https://web.archive.org/web/20210415111432/http://attic-backup.org/. 2021-11-19. 2021-04-15.
  5. Web site: Resources from the Borg Community. 2024-06-04.
  6. Web site: Releases - borgbackup/borg . www.smlnj.org . 2023-01-28 . GitHub.
  7. Web site: LICENSE published in source repository . 2013-06-24 . . 2023-01-29.
  8. Web site: LICENSE published in source repository . 2013-06-24 . 2023-01-29 . GitHub.