changes.rst 20 KB

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