README.rst 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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 zlib, level 0-9.
  40. **Off-site backups**
  41. Borg can store data on any remote host accessible over SSH. If Borg is
  42. installed on the remote host, big performance gains can be achieved
  43. compared to using a network filesystem (sshfs, nfs, ...).
  44. **Backups mountable as filesystems**
  45. Backup archives are mountable as userspace filesystems for easy interactive
  46. backup examination and restores (e.g. by using a regular file manager).
  47. **Platforms Borg works on**
  48. * Linux
  49. * FreeBSD
  50. * Mac OS X
  51. * Cygwin (unsupported)
  52. **Free and Open Source Software**
  53. * security and functionality can be audited independently
  54. * licensed under the BSD (3-clause) license
  55. Easy to use
  56. ~~~~~~~~~~~
  57. Initialize a new backup repository and create a backup archive::
  58. $ borg init /mnt/backup
  59. $ borg create /mnt/backup::Monday ~/Documents
  60. Now doing another backup, just to show off the great deduplication::
  61. $ borg create --stats /mnt/backup::Tuesday ~/Documents
  62. Archive name: Tuesday
  63. Archive fingerprint: 387a5e3f9b0e792e91c...
  64. Start time: Tue Mar 25 12:00:10 2014
  65. End time: Tue Mar 25 12:00:10 2014
  66. Duration: 0.08 seconds
  67. Number of files: 358
  68. Original size Compressed size Deduplicated size
  69. This archive: 57.16 MB 46.78 MB 151.67 kB <--- !
  70. All archives: 114.02 MB 93.46 MB 44.81 MB
  71. For a graphical frontend refer to our complementary project
  72. `BorgWeb <https://github.com/borgbackup/borgweb>`_.
  73. Notes
  74. -----
  75. Borg is a fork of `Attic <https://github.com/jborg/attic>`_ and maintained by
  76. "`The Borg Collective <https://github.com/borgbackup/borg/blob/master/AUTHORS>`_".
  77. Read `issue #1 <https://github.com/borgbackup/borg/issues/1>`_ about the initial
  78. considerations regarding project goals and policy of the Borg project.
  79. BORG IS NOT COMPATIBLE WITH ORIGINAL ATTIC.
  80. EXPECT THAT WE WILL BREAK COMPATIBILITY REPEATEDLY WHEN MAJOR RELEASE NUMBER
  81. CHANGES (like when going from 0.x.y to 1.0.0). Please read CHANGES document.
  82. NOT RELEASED DEVELOPMENT VERSIONS HAVE UNKNOWN COMPATIBILITY PROPERTIES.
  83. THIS IS SOFTWARE IN DEVELOPMENT, DECIDE YOURSELF WHETHER IT FITS YOUR NEEDS.
  84. For more information, please also see the
  85. `LICENSE <https://github.com/borgbackup/borg/blob/master/LICENSE>`_.
  86. |build| |coverage|
  87. .. |build| image:: https://travis-ci.org/borgbackup/borg.svg
  88. :alt: Build Status
  89. :target: https://travis-ci.org/borgbackup/borg
  90. .. |coverage| image:: http://codecov.io/github/borgbackup/borg/coverage.svg?branch=master
  91. :alt: Test Coverage
  92. :target: http://codecov.io/github/borgbackup/borg?branch=master