CHANGES.rst 16 KB

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