CHANGES.rst 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. Borg Changelog
  2. ==============
  3. Version 0.24.0
  4. --------------
  5. Incompatible changes (compared to 0.23):
  6. - borg now always issues --umask NNN option when invoking another borg via ssh
  7. on the repository server. By that, it's making sure it uses the same umask
  8. for remote repos as for local ones. Because of this, you must upgrade both
  9. server and client(s) to 0.24.
  10. - the default umask is 077 now (if you do not specify via --umask) which might
  11. be a different one as you used previously. The default umask avoids that
  12. you accidentially give access permissions for group and/or others to files
  13. created by borg (e.g. the repository).
  14. Deprecations:
  15. - "--encryption passphrase" mode is deprecated, see #85 and #97.
  16. See the new "--encryption repokey" mode for a replacement.
  17. New features:
  18. - borg create --chunker-params ... to configure the chunker, fixes #16
  19. (attic #302, attic #300, and somehow also #41).
  20. This can be used to reduce memory usage caused by chunk management overhead,
  21. so borg does not create a huge chunks index/repo index and eats all your RAM
  22. if you back up lots of data in huge files (like VM disk images).
  23. See docs/misc/create_chunker-params.txt for more information.
  24. - borg info now reports chunk counts in the chunk index.
  25. - borg create --compression 0..9 to select zlib compression level, fixes #66
  26. (attic #295).
  27. - borg init --encryption repokey (to store the encryption key into the repo),
  28. fixes #85
  29. - improve at-end error logging, always log exceptions and set exit_code=1
  30. - LoggedIO: better error checks / exceptions / exception handling
  31. - implement --remote-path to allow non-default-path borg locations, #125
  32. - implement --umask M and use 077 as default umask for better security, #117
  33. Bug fixes:
  34. - fix segfault that happened for unreadable files (chunker: n needs to be a
  35. signed size_t), #116
  36. - repo delete: add destroy to allowed rpc methods, fixes issue #114
  37. - more compatible repository locking code (based on mkdir), maybe fixes #92
  38. (attic #317, attic #201).
  39. - better Exception msg if no Borg is installed on the remote repo server, #56
  40. - create a RepositoryCache implementation that can cope with >2GiB,
  41. fixes attic #326.
  42. - fix Traceback when running check --repair, attic #232
  43. - clarify help text, fixes #73.
  44. Other changes:
  45. - improved docs:
  46. - added docs/misc directory for misc. writeups that won't be included
  47. "as is" into the html docs.
  48. - document environment variables and return codes (attic #324, attic #52)
  49. - web site: add related projects, fix web site url, IRC #borgbackup
  50. - Fedora/Fedora-based install instructions added to docs
  51. - Cygwin-based install instructions added to docs
  52. - updated AUTHORS
  53. - add FAQ entries about redundancy / integrity
  54. - clarify that borg extract uses the cwd as extraction target
  55. - update internals doc about chunker params, memory usage and compression
  56. - add some words about resource usage
  57. - document how to backup raw disk
  58. - add note about how to run borg from virtual env
  59. - add solutions for (ll)fuse installation problems
  60. - tested and updated cygwin docs
  61. - use borg-tmp as prefix for temporary files / directories
  62. - short prune options without "keep-" are deprecated, do not suggest them
  63. - improved tox configuration, documented there how to invoke it
  64. - remove usage of unittest.mock, always use mock from pypi
  65. - use entrypoints instead of scripts, for better use of the wheel format and
  66. modern installs
  67. - add requirements.d/development.txt and modify tox.ini
  68. I forgot to list some stuff already implemented in 0.23.0, here they are:
  69. New features:
  70. - efficient archive list from manifest, meaning a big speedup for slow
  71. repo connections and "list <repo>", "delete <repo>", "prune" (attic #242,
  72. attic #167)
  73. - big speedup for chunks cache sync (esp. for slow repo connections), fixes #18
  74. - hashindex: improve error messages
  75. Other changes:
  76. - explicitly specify binary mode to open binary files
  77. - some easy micro optimizations
  78. Version 0.23.0
  79. --------------
  80. Incompatible changes (compared to attic, fork related):
  81. - changed sw name and cli command to "borg", updated docs
  82. - package name (and name in urls) uses "borgbackup" to have less collisions
  83. - changed repo / cache internal magic strings from ATTIC* to BORG*,
  84. changed cache location to .cache/borg/ - this means that it currently won't
  85. accept attic repos (see issue #21 about improving that)
  86. Bug fixes:
  87. - avoid defect python-msgpack releases, fixes attic #171, fixes attic #185
  88. - fix traceback when trying to do unsupported passphrase change, fixes attic #189
  89. - datetime does not like the year 10.000, fixes attic #139
  90. - fix "info" all archives stats, fixes attic #183
  91. - fix parsing with missing microseconds, fixes attic #282
  92. - fix misleading hint the fuse ImportError handler gave, fixes attic #237
  93. - check unpacked data from RPC for tuple type and correct length, fixes attic #127
  94. - fix Repository._active_txn state when lock upgrade fails
  95. - give specific path to xattr.is_enabled(), disable symlink setattr call that
  96. always fails
  97. - fix test setup for 32bit platforms, partial fix for attic #196
  98. - upgraded versioneer, PEP440 compliance, fixes attic #257
  99. New features:
  100. - less memory usage: add global option --no-cache-files
  101. - check --last N (only check the last N archives)
  102. - check: sort archives in reverse time order
  103. - rename repo::oldname newname (rename repository)
  104. - create -v output more informative
  105. - create --progress (backup progress indicator)
  106. - create --timestamp (utc string or reference file/dir)
  107. - create: if "-" is given as path, read binary from stdin
  108. - extract: if --stdout is given, write all extracted binary data to stdout
  109. - extract --sparse (simple sparse file support)
  110. - extra debug information for 'fread failed'
  111. - delete <repo> (deletes whole repo + local cache)
  112. - FUSE: reflect deduplication in allocated blocks
  113. - only allow whitelisted RPC calls in server mode
  114. - normalize source/exclude paths before matching
  115. - use posix_fadvise to not spoil the OS cache, fixes attic #252
  116. - toplevel error handler: show tracebacks for better error analysis
  117. - sigusr1 / sigint handler to print current file infos - attic PR #286
  118. - RPCError: include the exception args we get from remote
  119. Other changes:
  120. - source: misc. cleanups, pep8, style
  121. - docs and faq improvements, fixes, updates
  122. - cleanup crypto.pyx, make it easier to adapt to other AES modes
  123. - do os.fsync like recommended in the python docs
  124. - source: Let chunker optionally work with os-level file descriptor.
  125. - source: Linux: remove duplicate os.fsencode calls
  126. - source: refactor _open_rb code a bit, so it is more consistent / regular
  127. - source: refactor indicator (status) and item processing
  128. - source: use py.test for better testing, flake8 for code style checks
  129. - source: fix tox >=2.0 compatibility (test runner)
  130. - pypi package: add python version classifiers, add FreeBSD to platforms
  131. Attic Changelog
  132. ===============
  133. Here you can see the full list of changes between each Attic release until Borg
  134. forked from Attic:
  135. Version 0.17
  136. ------------
  137. (bugfix release, released on X)
  138. - Fix hashindex ARM memory alignment issue (#309)
  139. - Improve hashindex error messages (#298)
  140. Version 0.16
  141. ------------
  142. (bugfix release, released on May 16, 2015)
  143. - Fix typo preventing the security confirmation prompt from working (#303)
  144. - Improve handling of systems with improperly configured file system encoding (#289)
  145. - Fix "All archives" output for attic info. (#183)
  146. - More user friendly error message when repository key file is not found (#236)
  147. - Fix parsing of iso 8601 timestamps with zero microseconds (#282)
  148. Version 0.15
  149. ------------
  150. (bugfix release, released on Apr 15, 2015)
  151. - xattr: Be less strict about unknown/unsupported platforms (#239)
  152. - Reduce repository listing memory usage (#163).
  153. - Fix BrokenPipeError for remote repositories (#233)
  154. - Fix incorrect behavior with two character directory names (#265, #268)
  155. - Require approval before accessing relocated/moved repository (#271)
  156. - Require approval before accessing previously unknown unencrypted repositories (#271)
  157. - Fix issue with hash index files larger than 2GB.
  158. - Fix Python 3.2 compatibility issue with noatime open() (#164)
  159. - Include missing pyx files in dist files (#168)
  160. Version 0.14
  161. ------------
  162. (feature release, released on Dec 17, 2014)
  163. - Added support for stripping leading path segments (#95)
  164. "attic extract --strip-segments X"
  165. - Add workaround for old Linux systems without acl_extended_file_no_follow (#96)
  166. - Add MacPorts' path to the default openssl search path (#101)
  167. - HashIndex improvements, eliminates unnecessary IO on low memory systems.
  168. - Fix "Number of files" output for attic info. (#124)
  169. - limit create file permissions so files aren't read while restoring
  170. - Fix issue with empty xattr values (#106)
  171. Version 0.13
  172. ------------
  173. (feature release, released on Jun 29, 2014)
  174. - Fix sporadic "Resource temporarily unavailable" when using remote repositories
  175. - Reduce file cache memory usage (#90)
  176. - Faster AES encryption (utilizing AES-NI when available)
  177. - Experimental Linux, OS X and FreeBSD ACL support (#66)
  178. - Added support for backup and restore of BSDFlags (OSX, FreeBSD) (#56)
  179. - Fix bug where xattrs on symlinks were not correctly restored
  180. - Added cachedir support. CACHEDIR.TAG compatible cache directories
  181. can now be excluded using ``--exclude-caches`` (#74)
  182. - Fix crash on extreme mtime timestamps (year 2400+) (#81)
  183. - Fix Python 3.2 specific lockf issue (EDEADLK)
  184. Version 0.12
  185. ------------
  186. (feature release, released on April 7, 2014)
  187. - Python 3.4 support (#62)
  188. - Various documentation improvements a new style
  189. - ``attic mount`` now supports mounting an entire repository not only
  190. individual archives (#59)
  191. - Added option to restrict remote repository access to specific path(s):
  192. ``attic serve --restrict-to-path X`` (#51)
  193. - Include "all archives" size information in "--stats" output. (#54)
  194. - Added ``--stats`` option to ``attic delete`` and ``attic prune``
  195. - Fixed bug where ``attic prune`` used UTC instead of the local time zone
  196. when determining which archives to keep.
  197. - Switch to SI units (Power of 1000 instead 1024) when printing file sizes
  198. Version 0.11
  199. ------------
  200. (feature release, released on March 7, 2014)
  201. - New "check" command for repository consistency checking (#24)
  202. - Documentation improvements
  203. - Fix exception during "attic create" with repeated files (#39)
  204. - New "--exclude-from" option for attic create/extract/verify.
  205. - Improved archive metadata deduplication.
  206. - "attic verify" has been deprecated. Use "attic extract --dry-run" instead.
  207. - "attic prune --hourly|daily|..." has been deprecated.
  208. Use "attic prune --keep-hourly|daily|..." instead.
  209. - Ignore xattr errors during "extract" if not supported by the filesystem. (#46)
  210. Version 0.10
  211. ------------
  212. (bugfix release, released on Jan 30, 2014)
  213. - Fix deadlock when extracting 0 sized files from remote repositories
  214. - "--exclude" wildcard patterns are now properly applied to the full path
  215. not just the file name part (#5).
  216. - Make source code endianness agnostic (#1)
  217. Version 0.9
  218. -----------
  219. (feature release, released on Jan 23, 2014)
  220. - Remote repository speed and reliability improvements.
  221. - Fix sorting of segment names to ignore NFS left over files. (#17)
  222. - Fix incorrect display of time (#13)
  223. - Improved error handling / reporting. (#12)
  224. - Use fcntl() instead of flock() when locking repository/cache. (#15)
  225. - Let ssh figure out port/user if not specified so we don't override .ssh/config (#9)
  226. - Improved libcrypto path detection (#23).
  227. Version 0.8.1
  228. -------------
  229. (bugfix release, released on Oct 4, 2013)
  230. - Fix segmentation fault issue.
  231. Version 0.8
  232. -----------
  233. (feature release, released on Oct 3, 2013)
  234. - Fix xattr issue when backing up sshfs filesystems (#4)
  235. - Fix issue with excessive index file size (#6)
  236. - Support access of read only repositories.
  237. - New syntax to enable repository encryption:
  238. attic init --encryption="none|passphrase|keyfile".
  239. - Detect and abort if repository is older than the cache.
  240. Version 0.7
  241. -----------
  242. (feature release, released on Aug 5, 2013)
  243. - Ported to FreeBSD
  244. - Improved documentation
  245. - Experimental: Archives mountable as fuse filesystems.
  246. - The "user." prefix is no longer stripped from xattrs on Linux
  247. Version 0.6.1
  248. -------------
  249. (bugfix release, released on July 19, 2013)
  250. - Fixed an issue where mtime was not always correctly restored.
  251. Version 0.6
  252. -----------
  253. First public release on July 9, 2013