Borg (backup software)
Borg (previously called Attic) is deduplicating backup software for various Unix-like operating systems.
Developer(s) | The Borg Collective |
---|---|
Initial release | June 11, 2015 |
Stable release(s) | |
1.2.4[1]
/ March 24, 2023 | |
Preview release(s) | |
2.0.0b5[1]
/ February 27, 2023 | |
Repository | github |
Written in | Python, Cython, C |
Operating system | Linux, macOS, FreeBSD, NetBSD, OpenBSD Experimental: Cygwin, Windows via WSL |
Type | Backup |
License | BSD[2] |
Website | borgbackup |
History
Original author(s) | Jonas Borgström |
---|---|
Initial release | March 14, 2010 |
Final release(s) | |
0.16
/ May 16, 2015 | |
Repository | |
Written in | Python, C |
Operating system | Linux, FreeBSD, OS X |
Size | 86 KB |
Type | Backup |
License | BSD[3] |
Website | attic-backup |
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.[4] 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 released on 5 March 2016, Borg 1.1.0 was released on 7 October 2017, Borg 1.2.0 was released on 22 February 2022.
As of 2018, Borg is under active development by many contributors,[5] while Attic is not being developed. Stable releases are available from various Linux distributions such as Debian, Ubuntu, Fedora, OpenSUSE and others, from the ports collection of various BSD derivatives and from brew for macOS. The project provides pre-built binaries for Linux, FreeBSD and macOS.
As of April 2021, the attic website was removed.[6]
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.
References
- "Releases - borgbackup/borg". www.smlnj.org. Retrieved 2023-01-28 – via GitHub.
- "LICENSE published in source repository". 2013-06-24. Retrieved 2023-01-29 – via GitHub.
- "LICENSE published in source repository". 2013-06-24. Retrieved 2023-01-29 – via GitHub.
- "Discuss Goals · Issue #1 · borgbackup/Borg". GitHub.
- "The BorgBackup Open Source Project on Open Hub". 28 April 2018. Retrieved 28 April 2018.
- "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.
External links
- Official Website of BorgBackup
- Website of Attic Backup Archived 2021-04-15 at the Wayback Machine