README.rst 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. |build|
  2. What is Borg?
  3. -------------
  4. Borg is a deduplicating backup program. The main goal of Borg is to provide
  5. an efficient and secure way to backup data. The data deduplication
  6. technique used makes Borg suitable for daily backups since only changes
  7. are stored.
  8. Borg is a fork of `Attic <https://github.com/jborg/attic>`_ and maintained by "`The Borg Collective <https://github.com/borgbackup/borg/blob/master/AUTHORS>`_".
  9. BORG IS NOT COMPATIBLE WITH ORIGINAL ATTIC.
  10. EXPECT THAT WE WILL BREAK COMPATIBILITY REPEATEDLY WHEN MAJOR RELEASE NUMBER
  11. CHANGES (like when going from 0.x.y to 1.0.0). Please read CHANGES document.
  12. NOT RELEASED DEVELOPMENT VERSIONS HAVE UNKNOWN COMPATIBILITY PROPERTIES.
  13. THIS IS SOFTWARE IN DEVELOPMENT, DECIDE YOURSELF WHETHER IT FITS YOUR NEEDS.
  14. Read `issue #1 <https://github.com/borgbackup/borg/issues/1>`_ on the issue tracker, goals are being defined there.
  15. Please also see the `LICENSE <https://github.com/borgbackup/borg/blob/master/LICENSE>`_ for more informations.
  16. Easy to use
  17. ~~~~~~~~~~~
  18. Initialize backup repository and create a backup archive::
  19. $ borg init /mnt/backup
  20. $ borg create -v /mnt/backup::documents ~/Documents
  21. For a graphical frontend refer to our complementary project `BorgWeb <https://github.com/borgbackup/borgweb>`_.
  22. Main features
  23. ~~~~~~~~~~~~~
  24. Space efficient storage
  25. Variable block size deduplication is used to reduce the number of bytes
  26. stored by detecting redundant data. Each file is split into a number of
  27. variable length chunks and only chunks that have never been seen before are
  28. compressed and added to the repository.
  29. The content-defined chunking based deduplication is applied to remove
  30. duplicate chunks within:
  31. * the current backup data set (even inside single files / streams)
  32. * current and previous backups of same machine
  33. * all the chunks in the same repository, even if coming from other machines
  34. This advanced deduplication method does NOT depend on:
  35. * file/directory names staying the same (so you can move your stuff around
  36. without killing the deduplication, even between machines sharing a repo)
  37. * complete files or time stamps staying the same (if a big file changes a
  38. little, only a few new chunks will be stored - this is great for VMs or
  39. raw disks)
  40. * the absolute position of a data chunk inside a file (stuff may get shifted
  41. and will still be found by the deduplication algorithm)
  42. Optional data encryption
  43. All data can be protected using 256-bit AES encryption and data integrity
  44. and authenticity is verified using HMAC-SHA256.
  45. Off-site backups
  46. Borg can store data on any remote host accessible over SSH. This is
  47. most efficient if Borg is also installed on the remote host.
  48. Backups mountable as filesystems
  49. Backup archives are mountable as userspace filesystems for easy backup
  50. verification and restores.
  51. What do I need?
  52. ---------------
  53. Borg requires Python 3.2 or above to work.
  54. Borg also requires a sufficiently recent OpenSSL (>= 1.0.0).
  55. In order to mount archives as filesystems, llfuse is required.
  56. How do I install it?
  57. --------------------
  58. ::
  59. $ pip3 install borgbackup
  60. Where are the docs?
  61. -------------------
  62. Go to https://borgbackup.github.io/ for a prebuilt version of the documentation.
  63. You can also build it yourself from the docs folder.
  64. Where are the tests?
  65. --------------------
  66. The tests are in the borg/testsuite package. To run the test suite use the
  67. following command::
  68. $ fakeroot -u tox # you need to have tox and pytest installed
  69. .. |build| image:: https://travis-ci.org/borgbackup/borg.svg
  70. :alt: Build Status
  71. :target: https://travis-ci.org/borgbackup/borg