README.rst 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. What is BorgBackup?
  2. -------------------
  3. BorgBackup (short: Borg) is a deduplicating backup program.
  4. Optionally, it supports compression and authenticated encryption.
  5. The main goal of Borg is to provide an efficient and secure way to backup data.
  6. The data deduplication technique used makes Borg suitable for daily backups
  7. since only changes are stored.
  8. The authenticated encryption technique makes it suitable for backups to not
  9. fully trusted targets.
  10. `Borg Installation docs <http://borgbackup.github.io/borgbackup/installation.html>`_
  11. Main features
  12. ~~~~~~~~~~~~~
  13. **Space efficient storage**
  14. Deduplication based on content-defined chunking is used to reduce the number
  15. of bytes stored: each file is split into a number of variable length chunks
  16. and only chunks that have never been seen before are added to the repository.
  17. To deduplicate, all the chunks in the same repository are considered, no
  18. matter whether they come from different machines, from previous backups,
  19. from the same backup or even from the same single file.
  20. Compared to other deduplication approaches, this method does NOT depend on:
  21. * file/directory names staying the same
  22. So you can move your stuff around without killing the deduplication,
  23. even between machines sharing a repo.
  24. * complete files or time stamps staying the same
  25. If a big file changes a little, only a few new chunks will be stored -
  26. this is great for VMs or raw disks.
  27. * the absolute position of a data chunk inside a file
  28. Stuff may get shifted and will still be found by the deduplication
  29. algorithm.
  30. **Speed**
  31. * performance critical code (chunking, compression, encryption) is
  32. implemented in C/Cython
  33. * local caching of files/chunks index data
  34. * quick detection of unmodified files
  35. **Data encryption**
  36. All data can be protected using 256-bit AES encryption, data integrity and
  37. authenticity is verified using HMAC-SHA256.
  38. **Compression**
  39. All data can be compressed by lz4 (super fast, low compression), zlib
  40. (medium speed and compression) or lzma (low speed, high compression).
  41. **Off-site backups**
  42. Borg can store data on any remote host accessible over SSH. If Borg is
  43. installed on the remote host, big performance gains can be achieved
  44. compared to using a network filesystem (sshfs, nfs, ...).
  45. **Backups mountable as filesystems**
  46. Backup archives are mountable as userspace filesystems for easy interactive
  47. backup examination and restores (e.g. by using a regular file manager).
  48. **Easy installation**
  49. For Linux, Mac OS X and FreeBSD, we offer a single-file pyinstaller binary
  50. that does not require installing anything - you can just run it.
  51. **Platforms Borg works on**
  52. * Linux
  53. * Mac OS X
  54. * FreeBSD
  55. * OpenBSD and NetBSD (for both: no xattrs/ACLs support yet)
  56. * Cygwin (unsupported)
  57. **Free and Open Source Software**
  58. * security and functionality can be audited independently
  59. * licensed under the BSD (3-clause) license
  60. Easy to use
  61. ~~~~~~~~~~~
  62. Initialize a new backup repository and create a backup archive::
  63. $ borg init /mnt/backup
  64. $ borg create /mnt/backup::Monday ~/Documents
  65. Now doing another backup, just to show off the great deduplication::
  66. $ borg create --stats /mnt/backup::Tuesday ~/Documents
  67. Archive name: Tuesday
  68. Archive fingerprint: 387a5e3f9b0e792e91c...
  69. Start time: Tue Mar 25 12:00:10 2014
  70. End time: Tue Mar 25 12:00:10 2014
  71. Duration: 0.08 seconds
  72. Number of files: 358
  73. Original size Compressed size Deduplicated size
  74. This archive: 57.16 MB 46.78 MB 151.67 kB <--- !
  75. All archives: 114.02 MB 93.46 MB 44.81 MB
  76. For a graphical frontend refer to our complementary project
  77. `BorgWeb <https://github.com/borgbackup/borgweb>`_.
  78. Notes
  79. -----
  80. Borg is a fork of `Attic <https://github.com/jborg/attic>`_ and maintained by
  81. "`The Borg Collective <https://github.com/borgbackup/borg/blob/master/AUTHORS>`_".
  82. Read `issue #1 <https://github.com/borgbackup/borg/issues/1>`_ about the initial
  83. considerations regarding project goals and policy of the Borg project.
  84. BORG IS NOT COMPATIBLE WITH ORIGINAL ATTIC.
  85. EXPECT THAT WE WILL BREAK COMPATIBILITY REPEATEDLY WHEN MAJOR RELEASE NUMBER
  86. CHANGES (like when going from 0.x.y to 1.0.0). Please read CHANGES document.
  87. NOT RELEASED DEVELOPMENT VERSIONS HAVE UNKNOWN COMPATIBILITY PROPERTIES.
  88. THIS IS SOFTWARE IN DEVELOPMENT, DECIDE YOURSELF WHETHER IT FITS YOUR NEEDS.
  89. For more information, please also see the
  90. `LICENSE <https://github.com/borgbackup/borg/blob/master/LICENSE>`_.
  91. |build| |coverage|
  92. .. |build| image:: https://travis-ci.org/borgbackup/borg.svg
  93. :alt: Build Status
  94. :target: https://travis-ci.org/borgbackup/borg
  95. .. |coverage| image:: http://codecov.io/github/borgbackup/borg/coverage.svg?branch=master
  96. :alt: Test Coverage
  97. :target: http://codecov.io/github/borgbackup/borg?branch=master