changes.rst 74 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893
  1. Important notes
  2. ===============
  3. This section is used for infos about security and corruption issues.
  4. .. _tam_vuln:
  5. Pre-1.0.9 manifest spoofing vulnerability (CVE-2016-10099)
  6. ----------------------------------------------------------
  7. A flaw in the cryptographic authentication scheme in Borg allowed an attacker
  8. to spoof the manifest. The attack requires an attacker to be able to
  9. 1. insert files (with no additional headers) into backups
  10. 2. gain write access to the repository
  11. This vulnerability does not disclose plaintext to the attacker, nor does it
  12. affect the authenticity of existing archives.
  13. The vulnerability allows an attacker to create a spoofed manifest (the list of archives).
  14. Creating plausible fake archives may be feasible for small archives, but is unlikely
  15. for large archives.
  16. The fix adds a separate authentication tag to the manifest. For compatibility
  17. with prior versions this authentication tag is *not* required by default
  18. for existing repositories. Repositories created with 1.0.9 and later require it.
  19. Steps you should take:
  20. 1. Upgrade all clients to 1.0.9 or later.
  21. 2. Run ``borg upgrade --tam <repository>`` *on every client* for *each* repository.
  22. 3. This will list all archives, including archive IDs, for easy comparison with your logs.
  23. 4. Done.
  24. Prior versions can access and modify repositories with this measure enabled, however,
  25. to 1.0.9 or later their modifications are indiscernible from an attack and will
  26. raise an error until the below procedure is followed. We are aware that this can
  27. be be annoying in some circumstances, but don't see a way to fix the vulnerability
  28. otherwise.
  29. In case a version prior to 1.0.9 is used to modify a repository where above procedure
  30. was completed, and now you get an error message from other clients:
  31. 1. ``borg upgrade --tam --force <repository>`` once with *any* client suffices.
  32. This attack is mitigated by:
  33. - Noting/logging ``borg list``, ``borg info``, or ``borg create --stats``, which
  34. contain the archive IDs.
  35. We are not aware of others having discovered, disclosed or exploited this vulnerability.
  36. Vulnerability time line:
  37. * 2016-11-14: Vulnerability and fix discovered during review of cryptography by Marian Beermann (@enkore)
  38. * 2016-11-20: First patch
  39. * 2016-12-20: Released fixed version 1.0.9
  40. * 2017-01-02: CVE was assigned
  41. * 2017-01-15: Released fixed version 1.1.0b3 (fix was previously only available from source)
  42. .. _attic013_check_corruption:
  43. Pre-1.0.9 potential data loss
  44. -----------------------------
  45. If you have archives in your repository that were made with attic <= 0.13
  46. (and later migrated to borg), running borg check would report errors in these
  47. archives. See issue #1837.
  48. The reason for this is a invalid (and useless) metadata key that was
  49. always added due to a bug in these old attic versions.
  50. If you run borg check --repair, things escalate quickly: all archive items
  51. with invalid metadata will be killed. Due to that attic bug, that means all
  52. items in all archives made with these old attic versions.
  53. Pre-1.0.4 potential repo corruption
  54. -----------------------------------
  55. Some external errors (like network or disk I/O errors) could lead to
  56. corruption of the backup repository due to issue #1138.
  57. A sign that this happened is if "E" status was reported for a file that can
  58. not be explained by problems with the source file. If you still have logs from
  59. "borg create -v --list", you can check for "E" status.
  60. Here is what could cause corruption and what you can do now:
  61. 1) I/O errors (e.g. repo disk errors) while writing data to repo.
  62. This could lead to corrupted segment files.
  63. Fix::
  64. # check for corrupt chunks / segments:
  65. borg check -v --repository-only REPO
  66. # repair the repo:
  67. borg check -v --repository-only --repair REPO
  68. # make sure everything is fixed:
  69. borg check -v --repository-only REPO
  70. 2) Unreliable network / unreliable connection to the repo.
  71. This could lead to archive metadata corruption.
  72. Fix::
  73. # check for corrupt archives:
  74. borg check -v --archives-only REPO
  75. # delete the corrupt archives:
  76. borg delete --force REPO::CORRUPT_ARCHIVE
  77. # make sure everything is fixed:
  78. borg check -v --archives-only REPO
  79. 3) In case you want to do more intensive checking.
  80. The best check that everything is ok is to run a dry-run extraction::
  81. borg extract -v --dry-run REPO::ARCHIVE
  82. .. _changelog:
  83. Changelog
  84. =========
  85. Version 1.0.10 (2017-02-13)
  86. ---------------------------
  87. Bug fixes:
  88. - Manifest timestamps are now monotonically increasing,
  89. this fixes issues when the system clock jumps backwards
  90. or is set inconsistently across computers accessing the same repository, #2115
  91. - Fixed testing regression in 1.0.10rc1 that lead to a hard dependency on
  92. py.test >= 3.0, #2112
  93. New features:
  94. - "key export" can now generate a printable HTML page with both a QR code and
  95. a human-readable "paperkey" representation (and custom text) through the
  96. ``--qr-html`` option.
  97. The same functionality is also available through `paperkey.html <paperkey.html>`_,
  98. which is the same HTML page generated by ``--qr-html``. It works with existing
  99. "key export" files and key files.
  100. Other changes:
  101. - docs:
  102. - language clarification - "borg create --one-file-system" option does not respect
  103. mount points, but considers different file systems instead, #2141
  104. - setup.py: build_api: sort file list for determinism
  105. Version 1.0.10rc1 (2017-01-29)
  106. ------------------------------
  107. Bug fixes:
  108. - borg serve: fix transmission data loss of pipe writes, #1268
  109. This affects only the cygwin platform (not Linux, BSD, OS X).
  110. - Avoid triggering an ObjectiveFS bug in xattr retrieval, #1992
  111. - When running out of buffer memory when reading xattrs, only skip the
  112. current file, #1993
  113. - Fixed "borg upgrade --tam" crashing with unencrypted repositories. Since
  114. :ref:`the issue <tam_vuln>` is not relevant for unencrypted repositories,
  115. it now does nothing and prints an error, #1981.
  116. - Fixed change-passphrase crashing with unencrypted repositories, #1978
  117. - Fixed "borg check repo::archive" indicating success if "archive" does not exist, #1997
  118. - borg check: print non-exit-code warning if --last or --prefix aren't fulfilled
  119. - fix bad parsing of wrong repo location syntax
  120. - create: don't create hard link refs to failed files,
  121. mount: handle invalid hard link refs, #2092
  122. - detect mingw byte order, #2073
  123. - creating a new segment: use "xb" mode, #2099
  124. - mount: umount on SIGINT/^C when in foreground, #2082
  125. Other changes:
  126. - binary: use fixed AND freshly compiled pyinstaller bootloader, #2002
  127. - xattr: ignore empty names returned by llistxattr(2) et al
  128. - Enable the fault handler: install handlers for the SIGSEGV, SIGFPE, SIGABRT,
  129. SIGBUS and SIGILL signals to dump the Python traceback.
  130. - Also print a traceback on SIGUSR2.
  131. - borg change-passphrase: print key location (simplify making a backup of it)
  132. - officially support Python 3.6 (setup.py: add Python 3.6 qualifier)
  133. - tests:
  134. - vagrant / travis / tox: add Python 3.6 based testing
  135. - vagrant: fix openbsd repo, #2042
  136. - vagrant: fix the freebsd64 machine, #2037 #2067
  137. - vagrant: use python 3.5.3 to build binaries, #2078
  138. - vagrant: use osxfuse 3.5.4 for tests / to build binaries
  139. vagrant: improve darwin64 VM settings
  140. - travis: fix osxfuse install (fixes OS X testing on Travis CI)
  141. - travis: require succeeding OS X tests, #2028
  142. - travis: use latest pythons for OS X based testing
  143. - use pytest-xdist to parallelize testing
  144. - fix xattr test race condition, #2047
  145. - setup.cfg: fix pytest deprecation warning, #2050
  146. - docs:
  147. - language clarification - VM backup FAQ
  148. - borg create: document how to backup stdin, #2013
  149. - borg upgrade: fix incorrect title levels
  150. - add CVE numbers for issues fixed in 1.0.9, #2106
  151. - fix typos (taken from Debian package patch)
  152. - remote: include data hexdump in "unexpected RPC data" error message
  153. - remote: log SSH command line at debug level
  154. - API_VERSION: use numberspaces, #2023
  155. - remove .github from pypi package, #2051
  156. - add pip and setuptools to requirements file, #2030
  157. - SyncFile: fix use of fd object after close (cosmetic)
  158. - Manifest.in: simplify, exclude \*.{so,dll,orig}, #2066
  159. - ignore posix_fadvise errors in repository.py, #2095
  160. (works around issues with docker on ARM)
  161. - make LoggedIO.close_segment reentrant, avoid reentrance
  162. Version 1.0.9 (2016-12-20)
  163. --------------------------
  164. Security fixes:
  165. - A flaw in the cryptographic authentication scheme in Borg allowed an attacker
  166. to spoof the manifest. See :ref:`tam_vuln` above for the steps you should
  167. take.
  168. CVE-2016-10099 was assigned to this vulnerability.
  169. - borg check: When rebuilding the manifest (which should only be needed very rarely)
  170. duplicate archive names would be handled on a "first come first serve" basis, allowing
  171. an attacker to apparently replace archives.
  172. CVE-2016-10100 was assigned to this vulnerability.
  173. Bug fixes:
  174. - borg check:
  175. - rebuild manifest if it's corrupted
  176. - skip corrupted chunks during manifest rebuild
  177. - fix TypeError in integrity error handler, #1903, #1894
  178. - fix location parser for archives with @ char (regression introduced in 1.0.8), #1930
  179. - fix wrong duration/timestamps if system clock jumped during a create
  180. - fix progress display not updating if system clock jumps backwards
  181. - fix checkpoint interval being incorrect if system clock jumps
  182. Other changes:
  183. - docs:
  184. - add python3-devel as a dependency for cygwin-based installation
  185. - clarify extract is relative to current directory
  186. - FAQ: fix link to changelog
  187. - markup fixes
  188. - tests:
  189. - test_get\_(cache|keys)_dir: clean env state, #1897
  190. - get back pytest's pretty assertion failures, #1938
  191. - setup.py build_usage:
  192. - fixed build_usage not processing all commands
  193. - fixed build_usage not generating includes for debug commands
  194. Version 1.0.9rc1 (2016-11-27)
  195. -----------------------------
  196. Bug fixes:
  197. - files cache: fix determination of newest mtime in backup set (which is
  198. used in cache cleanup and led to wrong "A" [added] status for unchanged
  199. files in next backup), #1860.
  200. - borg check:
  201. - fix incorrectly reporting attic 0.13 and earlier archives as corrupt
  202. - handle repo w/o objects gracefully and also bail out early if repo is
  203. *completely* empty, #1815.
  204. - fix tox/pybuild in 1.0-maint
  205. - at xattr module import time, loggers are not initialized yet
  206. New features:
  207. - borg umount <mountpoint>
  208. exposed already existing umount code via the CLI api, so users can use it,
  209. which is more consistent than using borg to mount and fusermount -u (or
  210. umount) to un-mount, #1855.
  211. - implement borg create --noatime --noctime, fixes #1853
  212. Other changes:
  213. - docs:
  214. - display README correctly on PyPI
  215. - improve cache / index docs, esp. files cache docs, fixes #1825
  216. - different pattern matching for --exclude, #1779
  217. - datetime formatting examples for {now} placeholder, #1822
  218. - clarify passphrase mode attic repo upgrade, #1854
  219. - clarify --umask usage, #1859
  220. - clarify how to choose PR target branch
  221. - clarify prune behavior for different archive contents, #1824
  222. - fix PDF issues, add logo, fix authors, headings, TOC
  223. - move security verification to support section
  224. - fix links in standalone README (:ref: tags)
  225. - add link to security contact in README
  226. - add FAQ about security
  227. - move fork differences to FAQ
  228. - add more details about resource usage
  229. - tests: skip remote tests on cygwin, #1268
  230. - travis:
  231. - allow OS X failures until the brew cask osxfuse issue is fixed
  232. - caskroom osxfuse-beta gone, it's osxfuse now (3.5.3)
  233. - vagrant:
  234. - upgrade OSXfuse / FUSE for macOS to 3.5.3
  235. - remove llfuse from tox.ini at a central place
  236. - do not try to install llfuse on centos6
  237. - fix fuse test for darwin, #1546
  238. - add windows virtual machine with cygwin
  239. - Vagrantfile cleanup / code deduplication
  240. Version 1.0.8 (2016-10-29)
  241. --------------------------
  242. Bug fixes:
  243. - RemoteRepository: Fix busy wait in call_many, #940
  244. New features:
  245. - implement borgmajor/borgminor/borgpatch placeholders, #1694
  246. {borgversion} was already there (full version string). With the new
  247. placeholders you can now also get e.g. 1 or 1.0 or 1.0.8.
  248. Other changes:
  249. - avoid previous_location mismatch, #1741
  250. due to the changed canonicalization for relative pathes in PR #1711 / #1655
  251. (implement /./ relpath hack), there would be a changed repo location warning
  252. and the user would be asked if this is ok. this would break automation and
  253. require manual intervention, which is unwanted.
  254. thus, we automatically fix the previous_location config entry, if it only
  255. changed in the expected way, but still means the same location.
  256. - docs:
  257. - deployment.rst: do not use bare variables in ansible snippet
  258. - add clarification about append-only mode, #1689
  259. - setup.py: add comment about requiring llfuse, #1726
  260. - update usage.rst / api.rst
  261. - repo url / archive location docs + typo fix
  262. - quickstart: add a comment about other (remote) filesystems
  263. - vagrant / tests:
  264. - no chown when rsyncing (fixes boxes w/o vagrant group)
  265. - fix fuse permission issues on linux/freebsd, #1544
  266. - skip fuse test for borg binary + fakeroot
  267. - ignore security.selinux xattrs, fixes tests on centos, #1735
  268. Version 1.0.8rc1 (2016-10-17)
  269. -----------------------------
  270. Bug fixes:
  271. - fix signal handling (SIGINT, SIGTERM, SIGHUP), #1620 #1593
  272. Fixes e.g. leftover lock files for quickly repeated signals (e.g. Ctrl-C
  273. Ctrl-C) or lost connections or systemd sending SIGHUP.
  274. - progress display: adapt formatting to narrow screens, do not crash, #1628
  275. - borg create --read-special - fix crash on broken symlink, #1584.
  276. also correctly processes broken symlinks. before this regressed to a crash
  277. (5b45385) a broken symlink would've been skipped.
  278. - process_symlink: fix missing backup_io()
  279. Fixes a chmod/chown/chgrp/unlink/rename/... crash race between getting
  280. dirents and dispatching to process_symlink.
  281. - yes(): abort on wrong answers, saying so, #1622
  282. - fixed exception borg serve raised when connection was closed before reposiory
  283. was openend. add an error message for this.
  284. - fix read-from-closed-FD issue, #1551
  285. (this seems not to get triggered in 1.0.x, but was discovered in master)
  286. - hashindex: fix iterators (always raise StopIteration when exhausted)
  287. (this seems not to get triggered in 1.0.x, but was discovered in master)
  288. - enable relative pathes in ssh:// repo URLs, via /./relpath hack, #1655
  289. - allow repo pathes with colons, #1705
  290. - update changed repo location immediately after acceptance, #1524
  291. - fix debug get-obj / delete-obj crash if object not found and remote repo,
  292. #1684
  293. - pyinstaller: use a spec file to build borg.exe binary, exclude osxfuse dylib
  294. on Mac OS X (avoids mismatch lib <-> driver), #1619
  295. New features:
  296. - add "borg key export" / "borg key import" commands, #1555, so users are able
  297. to backup / restore their encryption keys more easily.
  298. Supported formats are the keyfile format used by borg internally and a
  299. special "paper" format with by line checksums for printed backups. For the
  300. paper format, the import is an interactive process which checks each line as
  301. soon as it is input.
  302. - add "borg debug-refcount-obj" to determine a repo objects' referrer counts,
  303. #1352
  304. Other changes:
  305. - add "borg debug ..." subcommands
  306. (borg debug-* still works, but will be removed in borg 1.1)
  307. - setup.py: Add subcommand support to build_usage.
  308. - remote: change exception message for unexpected RPC data format to indicate
  309. dataflow direction.
  310. - improved messages / error reporting:
  311. - IntegrityError: add placeholder for message, so that the message we give
  312. appears not only in the traceback, but also in the (short) error message,
  313. #1572
  314. - borg.key: include chunk id in exception msgs, #1571
  315. - better messages for cache newer than repo, #1700
  316. - vagrant (testing/build VMs):
  317. - upgrade OSXfuse / FUSE for macOS to 3.5.2
  318. - update Debian Wheezy boxes, #1686
  319. - openbsd / netbsd: use own boxes, fixes misc rsync installation and
  320. fuse/llfuse related testing issues, #1695 #1696 #1670 #1671 #1728
  321. - docs:
  322. - add docs for "key export" and "key import" commands, #1641
  323. - fix inconsistency in FAQ (pv-wrapper).
  324. - fix second block in "Easy to use" section not showing on GitHub, #1576
  325. - add bestpractices badge
  326. - link reference docs and faq about BORG_FILES_CACHE_TTL, #1561
  327. - improve borg info --help, explain size infos, #1532
  328. - add release signing key / security contact to README, #1560
  329. - add contribution guidelines for developers
  330. - development.rst: add sphinx_rtd_theme to the sphinx install command
  331. - adjust border color in borg.css
  332. - add debug-info usage help file
  333. - internals.rst: fix typos
  334. - setup.py: fix build_usage to always process all commands
  335. - added docs explaining multiple --restrict-to-path flags, #1602
  336. - add more specific warning about write-access debug commands, #1587
  337. - clarify FAQ regarding backup of virtual machines, #1672
  338. - tests:
  339. - work around fuse xattr test issue with recent fakeroot
  340. - simplify repo/hashindex tests
  341. - travis: test fuse-enabled borg, use trusty to have a recent FUSE
  342. - re-enable fuse tests for RemoteArchiver (no deadlocks any more)
  343. - clean env for pytest based tests, #1714
  344. - fuse_mount contextmanager: accept any options
  345. Version 1.0.7 (2016-08-19)
  346. --------------------------
  347. Security fixes:
  348. - borg serve: fix security issue with remote repository access, #1428
  349. If you used e.g. --restrict-to-path /path/client1/ (with or without trailing
  350. slash does not make a difference), it acted like a path prefix match using
  351. /path/client1 (note the missing trailing slash) - the code then also allowed
  352. working in e.g. /path/client13 or /path/client1000.
  353. As this could accidentally lead to major security/privacy issues depending on
  354. the pathes you use, the behaviour was changed to be a strict directory match.
  355. That means --restrict-to-path /path/client1 (with or without trailing slash
  356. does not make a difference) now uses /path/client1/ internally (note the
  357. trailing slash here!) for matching and allows precisely that path AND any
  358. path below it. So, /path/client1 is allowed, /path/client1/repo1 is allowed,
  359. but not /path/client13 or /path/client1000.
  360. If you willingly used the undocumented (dangerous) previous behaviour, you
  361. may need to rearrange your --restrict-to-path pathes now. We are sorry if
  362. that causes work for you, but we did not want a potentially dangerous
  363. behaviour in the software (not even using a for-backwards-compat option).
  364. Bug fixes:
  365. - fixed repeated LockTimeout exceptions when borg serve tried to write into
  366. a already write-locked repo (e.g. by a borg mount), #502 part b)
  367. This was solved by the fix for #1220 in 1.0.7rc1 already.
  368. - fix cosmetics + file leftover for "not a valid borg repository", #1490
  369. - Cache: release lock if cache is invalid, #1501
  370. - borg extract --strip-components: fix leak of preloaded chunk contents
  371. - Repository, when a InvalidRepository exception happens:
  372. - fix spurious, empty lock.roster
  373. - fix repo not closed cleanly
  374. New features:
  375. - implement borg debug-info, fixes #1122
  376. (just calls already existing code via cli, same output as below tracebacks)
  377. Other changes:
  378. - skip the O_NOATIME test on GNU Hurd, fixes #1315
  379. (this is a very minor issue and the GNU Hurd project knows the bug)
  380. - document using a clean repo to test / build the release
  381. Version 1.0.7rc2 (2016-08-13)
  382. -----------------------------
  383. Bug fixes:
  384. - do not write objects to repository that are bigger than the allowed size,
  385. borg will reject reading them, #1451.
  386. Important: if you created archives with many millions of files or
  387. directories, please verify if you can open them successfully,
  388. e.g. try a "borg list REPO::ARCHIVE".
  389. - lz4 compression: dynamically enlarge the (de)compression buffer, the static
  390. buffer was not big enough for archives with extremely many items, #1453
  391. - larger item metadata stream chunks, raise archive item limit by 8x, #1452
  392. - fix untracked segments made by moved DELETEs, #1442
  393. Impact: Previously (metadata) segments could become untracked when deleting data,
  394. these would never be cleaned up.
  395. - extended attributes (xattrs) related fixes:
  396. - fixed a race condition in xattrs querying that led to the entire file not
  397. being backed up (while logging the error, exit code = 1), #1469
  398. - fixed a race condition in xattrs querying that led to a crash, #1462
  399. - raise OSError including the error message derived from errno, deal with
  400. path being a integer FD
  401. Other changes:
  402. - print active env var override by default, #1467
  403. - xattr module: refactor code, deduplicate, clean up
  404. - repository: split object size check into too small and too big
  405. - add a transaction_id assertion, so borg init on a broken (inconsistent)
  406. filesystem does not look like a coding error in borg, but points to the
  407. real problem.
  408. - explain confusing TypeError caused by compat support for old servers, #1456
  409. - add forgotten usage help file from build_usage
  410. - refactor/unify buffer code into helpers.Buffer class, add tests
  411. - docs:
  412. - document archive limitation, #1452
  413. - improve prune examples
  414. Version 1.0.7rc1 (2016-08-05)
  415. -----------------------------
  416. Bug fixes:
  417. - fix repo lock deadlocks (related to lock upgrade), #1220
  418. - catch unpacker exceptions, resync, #1351
  419. - fix borg break-lock ignoring BORG_REPO env var, #1324
  420. - files cache performance fixes (fixes unneccessary re-reading/chunking/
  421. hashing of unmodified files for some use cases):
  422. - fix unintended file cache eviction, #1430
  423. - implement BORG_FILES_CACHE_TTL, update FAQ, raise default TTL from 10
  424. to 20, #1338
  425. - FUSE:
  426. - cache partially read data chunks (performance), #965, #966
  427. - always create a root dir, #1125
  428. - use an OrderedDict for helptext, making the build reproducible, #1346
  429. - RemoteRepository init: always call close on exceptions, #1370 (cosmetic)
  430. - ignore stdout/stderr broken pipe errors (cosmetic), #1116
  431. New features:
  432. - better borg versions management support (useful esp. for borg servers
  433. wanting to offer multiple borg versions and for clients wanting to choose
  434. a specific server borg version), #1392:
  435. - add BORG_VERSION environment variable before executing "borg serve" via ssh
  436. - add new placeholder {borgversion}
  437. - substitute placeholders in --remote-path
  438. - borg init --append-only option (makes using the more secure append-only mode
  439. more convenient. when used remotely, this requires 1.0.7+ also on the borg
  440. server), #1291.
  441. Other changes:
  442. - Vagrantfile:
  443. - darwin64: upgrade to FUSE for macOS 3.4.1 (aka osxfuse), #1378
  444. - xenial64: use user "ubuntu", not "vagrant" (as usual), #1331
  445. - tests:
  446. - fix fuse tests on OS X, #1433
  447. - docs:
  448. - FAQ: add backup using stable filesystem names recommendation
  449. - FAQ about glibc compatibility added, #491, glibc-check improved
  450. - FAQ: 'A' unchanged file; remove ambiguous entry age sentence.
  451. - OS X: install pkg-config to build with FUSE support, fixes #1400
  452. - add notes about shell/sudo pitfalls with env. vars, #1380
  453. - added platform feature matrix
  454. - implement borg debug-dump-repo-objs
  455. Version 1.0.6 (2016-07-12)
  456. --------------------------
  457. Bug fixes:
  458. - Linux: handle multiple LD_PRELOAD entries correctly, #1314, #1111
  459. - Fix crash with unclear message if the libc is not found, #1314, #1111
  460. Other changes:
  461. - tests:
  462. - Fixed O_NOATIME tests for Solaris and GNU Hurd, #1315
  463. - Fixed sparse file tests for (file) systems not supporting it, #1310
  464. - docs:
  465. - Fixed syntax highlighting, #1313
  466. - misc docs: added data processing overview picture
  467. Version 1.0.6rc1 (2016-07-10)
  468. -----------------------------
  469. New features:
  470. - borg check --repair: heal damaged files if missing chunks re-appear (e.g. if
  471. the previously missing chunk was added again in a later backup archive),
  472. #148. (*) Also improved logging.
  473. Bug fixes:
  474. - sync_dir: silence fsync() failing with EINVAL, #1287
  475. Some network filesystems (like smbfs) don't support this and we use this in
  476. repository code.
  477. - borg mount (FUSE):
  478. - fix directories being shadowed when contained paths were also specified,
  479. #1295
  480. - raise I/O Error (EIO) on damaged files (unless -o allow_damaged_files is
  481. used), #1302. (*)
  482. - borg extract: warn if a damaged file is extracted, #1299. (*)
  483. - Added some missing return code checks (ChunkIndex._add, hashindex_resize).
  484. - borg check: fix/optimize initial hash table size, avoids resize of the table.
  485. Other changes:
  486. - tests:
  487. - add more FUSE tests, #1284
  488. - deduplicate fuse (u)mount code
  489. - fix borg binary test issues, #862
  490. - docs:
  491. - changelog: added release dates to older borg releases
  492. - fix some sphinx (docs generator) warnings, #881
  493. Notes:
  494. (*) Some features depend on information (chunks_healthy list) added to item
  495. metadata when a file with missing chunks was "repaired" using all-zero
  496. replacement chunks. The chunks_healthy list is generated since borg 1.0.4,
  497. thus borg can't recognize such "repaired" (but content-damaged) files if the
  498. repair was done with an older borg version.
  499. Version 1.0.5 (2016-07-07)
  500. --------------------------
  501. Bug fixes:
  502. - borg mount: fix FUSE crash in xattr code on Linux introduced in 1.0.4, #1282
  503. Other changes:
  504. - backport some FAQ entries from master branch
  505. - add release helper scripts
  506. - Vagrantfile:
  507. - centos6: no FUSE, don't build binary
  508. - add xz for redhat-like dists
  509. Version 1.0.4 (2016-07-07)
  510. --------------------------
  511. New features:
  512. - borg serve --append-only, #1168
  513. This was included because it was a simple change (append-only functionality
  514. was already present via repository config file) and makes better security now
  515. practically usable.
  516. - BORG_REMOTE_PATH environment variable, #1258
  517. This was included because it was a simple change (--remote-path cli option
  518. was already present) and makes borg much easier to use if you need it.
  519. - Repository: cleanup incomplete transaction on "no space left" condition.
  520. In many cases, this can avoid a 100% full repo filesystem (which is very
  521. problematic as borg always needs free space - even to delete archives).
  522. Bug fixes:
  523. - Fix wrong handling and reporting of OSErrors in borg create, #1138.
  524. This was a serious issue: in the context of "borg create", errors like
  525. repository I/O errors (e.g. disk I/O errors, ssh repo connection errors)
  526. were handled badly and did not lead to a crash (which would be good for this
  527. case, because the repo transaction would be incomplete and trigger a
  528. transaction rollback to clean up).
  529. Now, error handling for source files is cleanly separated from every other
  530. error handling, so only problematic input files are logged and skipped.
  531. - Implement fail-safe error handling for borg extract.
  532. Note that this isn't nearly as critical as the borg create error handling
  533. bug, since nothing is written to the repo. So this was "merely" misleading
  534. error reporting.
  535. - Add missing error handler in directory attr restore loop.
  536. - repo: make sure write data hits disk before the commit tag (#1236) and also
  537. sync the containing directory.
  538. - FUSE: getxattr fail must use errno.ENOATTR, #1126
  539. (fixes Mac OS X Finder malfunction: "zero bytes" file length, access denied)
  540. - borg check --repair: do not lose information about the good/original chunks.
  541. If we do not lose the original chunk IDs list when "repairing" a file
  542. (replacing missing chunks with all-zero chunks), we have a chance to "heal"
  543. the file back into its original state later, in case the chunks re-appear
  544. (e.g. in a fresh backup). Healing is not implemented yet, see #148.
  545. - fixes for --read-special mode:
  546. - ignore known files cache, #1241
  547. - fake regular file mode, #1214
  548. - improve symlinks handling, #1215
  549. - remove passphrase from subprocess environment, #1105
  550. - Ignore empty index file (will trigger index rebuild), #1195
  551. - add missing placeholder support for --prefix, #1027
  552. - improve exception handling for placeholder replacement
  553. - catch and format exceptions in arg parsing
  554. - helpers: fix "undefined name 'e'" in exception handler
  555. - better error handling for missing repo manifest, #1043
  556. - borg delete:
  557. - make it possible to delete a repo without manifest
  558. - borg delete --forced allows to delete corrupted archives, #1139
  559. - borg check:
  560. - make borg check work for empty repo
  561. - fix resync and msgpacked item qualifier, #1135
  562. - rebuild_manifest: fix crash if 'name' or 'time' key were missing.
  563. - better validation of item metadata dicts, #1130
  564. - better validation of archive metadata dicts
  565. - close the repo on exit - even if rollback did not work, #1197.
  566. This is rather cosmetic, it avoids repo closing in the destructor.
  567. - tests:
  568. - fix sparse file test, #1170
  569. - flake8: ignore new F405, #1185
  570. - catch "invalid argument" on cygwin, #257
  571. - fix sparseness assertion in test prep, #1264
  572. Other changes:
  573. - make borg build/work on OpenSSL 1.0 and 1.1, #1187
  574. - docs / help:
  575. - fix / clarify prune help, #1143
  576. - fix "patterns" help formatting
  577. - add missing docs / help about placeholders
  578. - resources: rename atticmatic to borgmatic
  579. - document sshd settings, #545
  580. - more details about checkpoints, add split trick, #1171
  581. - support docs: add freenode web chat link, #1175
  582. - add prune visualization / example, #723
  583. - add note that Fnmatch is default, #1247
  584. - make clear that lzma levels > 6 are a waste of cpu cycles
  585. - add a "do not edit" note to auto-generated files, #1250
  586. - update cygwin installation docs
  587. - repository interoperability with borg master (1.1dev) branch:
  588. - borg check: read item metadata keys from manifest, #1147
  589. - read v2 hints files, #1235
  590. - fix hints file "unknown version" error handling bug
  591. - tests: add tests for format_line
  592. - llfuse: update version requirement for freebsd
  593. - Vagrantfile:
  594. - use openbsd 5.9, #716
  595. - do not install llfuse on netbsd (broken)
  596. - update OSXfuse to version 3.3.3
  597. - use Python 3.5.2 to build the binaries
  598. - glibc compatibility checker: scripts/glibc_check.py
  599. - add .eggs to .gitignore
  600. Version 1.0.3 (2016-05-20)
  601. --------------------------
  602. Bug fixes:
  603. - prune: avoid that checkpoints are kept and completed archives are deleted in
  604. a prune run), #997
  605. - prune: fix commandline argument validation - some valid command lines were
  606. considered invalid (annoying, but harmless), #942
  607. - fix capabilities extraction on Linux (set xattrs last, after chown()), #1069
  608. - repository: fix commit tags being seen in data
  609. - when probing key files, do binary reads. avoids crash when non-borg binary
  610. files are located in borg's key files directory.
  611. - handle SIGTERM and make a clean exit - avoids orphan lock files.
  612. - repository cache: don't cache large objects (avoid using lots of temp. disk
  613. space), #1063
  614. Other changes:
  615. - Vagrantfile: OS X: update osxfuse / install lzma package, #933
  616. - setup.py: add check for platform_darwin.c
  617. - setup.py: on freebsd, use a llfuse release that builds ok
  618. - docs / help:
  619. - update readthedocs URLs, #991
  620. - add missing docs for "borg break-lock", #992
  621. - borg create help: add some words to about the archive name
  622. - borg create help: document format tags, #894
  623. Version 1.0.2 (2016-04-16)
  624. --------------------------
  625. Bug fixes:
  626. - fix malfunction and potential corruption on (nowadays rather rare) big-endian
  627. architectures or bi-endian archs in (rare) BE mode. #886, #889
  628. cache resync / index merge was malfunctioning due to this, potentially
  629. leading to data loss. borg info had cosmetic issues (displayed wrong values).
  630. note: all (widespread) little-endian archs (like x86/x64) or bi-endian archs
  631. in (widespread) LE mode (like ARMEL, MIPSEL, ...) were NOT affected.
  632. - add overflow and range checks for 1st (special) uint32 of the hashindex
  633. values, switch from int32 to uint32.
  634. - fix so that refcount will never overflow, but just stick to max. value after
  635. a overflow would have occured.
  636. - borg delete: fix --cache-only for broken caches, #874
  637. Makes --cache-only idempotent: it won't fail if the cache is already deleted.
  638. - fixed borg create --one-file-system erroneously traversing into other
  639. filesystems (if starting fs device number was 0), #873
  640. - workround a bug in Linux fadvise FADV_DONTNEED, #907
  641. Other changes:
  642. - better test coverage for hashindex, incl. overflow testing, checking correct
  643. computations so endianness issues would be discovered.
  644. - reproducible doc for ProgressIndicator*, make the build reproducible.
  645. - use latest llfuse for vagrant machines
  646. - docs:
  647. - use /path/to/repo in examples, fixes #901
  648. - fix confusing usage of "repo" as archive name (use "arch")
  649. Version 1.0.1 (2016-04-08)
  650. --------------------------
  651. New features:
  652. Usually there are no new features in a bugfix release, but these were added
  653. due to their high impact on security/safety/speed or because they are fixes
  654. also:
  655. - append-only mode for repositories, #809, #36 (see docs)
  656. - borg create: add --ignore-inode option to make borg detect unmodified files
  657. even if your filesystem does not have stable inode numbers (like sshfs and
  658. possibly CIFS).
  659. - add options --warning, --error, --critical for missing log levels, #826.
  660. it's not recommended to suppress warnings or errors, but the user may decide
  661. this on his own.
  662. note: --warning is not given to borg serve so a <= 1.0.0 borg will still
  663. work as server (it is not needed as it is the default).
  664. do not use --error or --critical when using a <= 1.0.0 borg server.
  665. Bug fixes:
  666. - fix silently skipping EIO, #748
  667. - add context manager for Repository (avoid orphan repository locks), #285
  668. - do not sleep for >60s while waiting for lock, #773
  669. - unpack file stats before passing to FUSE
  670. - fix build on illumos
  671. - don't try to backup doors or event ports (Solaris and derivates)
  672. - remove useless/misleading libc version display, #738
  673. - test suite: reset exit code of persistent archiver, #844
  674. - RemoteRepository: clean up pipe if remote open() fails
  675. - Remote: don't print tracebacks for Error exceptions handled downstream, #792
  676. - if BORG_PASSPHRASE is present but wrong, don't prompt for password, but fail
  677. instead, #791
  678. - ArchiveChecker: move "orphaned objects check skipped" to INFO log level, #826
  679. - fix capitalization, add ellipses, change log level to debug for 2 messages,
  680. #798
  681. Other changes:
  682. - update llfuse requirement, llfuse 1.0 works
  683. - update OS / dist packages on build machines, #717
  684. - prefer showing --info over -v in usage help, #859
  685. - docs:
  686. - fix cygwin requirements (gcc-g++)
  687. - document how to debug / file filesystem issues, #664
  688. - fix reproducible build of api docs
  689. - RTD theme: CSS !important overwrite, #727
  690. - Document logo font. Recreate logo png. Remove GIMP logo file.
  691. Version 1.0.0 (2016-03-05)
  692. --------------------------
  693. The major release number change (0.x -> 1.x) indicates bigger incompatible
  694. changes, please read the compatibility notes, adapt / test your scripts and
  695. check your backup logs.
  696. Compatibility notes:
  697. - drop support for python 3.2 and 3.3, require 3.4 or 3.5, #221 #65 #490
  698. note: we provide binaries that include python 3.5.1 and everything else
  699. needed. they are an option in case you are stuck with < 3.4 otherwise.
  700. - change encryption to be on by default (using "repokey" mode)
  701. - moved keyfile keys from ~/.borg/keys to ~/.config/borg/keys,
  702. you can either move them manually or run "borg upgrade <REPO>"
  703. - remove support for --encryption=passphrase,
  704. use borg migrate-to-repokey to switch to repokey mode, #97
  705. - remove deprecated --compression <number>,
  706. use --compression zlib,<number> instead
  707. in case of 0, you could also use --compression none
  708. - remove deprecated --hourly/daily/weekly/monthly/yearly
  709. use --keep-hourly/daily/weekly/monthly/yearly instead
  710. - remove deprecated --do-not-cross-mountpoints,
  711. use --one-file-system instead
  712. - disambiguate -p option, #563:
  713. - -p now is same as --progress
  714. - -P now is same as --prefix
  715. - remove deprecated "borg verify",
  716. use "borg extract --dry-run" instead
  717. - cleanup environment variable semantics, #355
  718. the environment variables used to be "yes sayers" when set, this was
  719. conceptually generalized to "automatic answerers" and they just give their
  720. value as answer (as if you typed in that value when being asked).
  721. See the "usage" / "Environment Variables" section of the docs for details.
  722. - change the builtin default for --chunker-params, create 2MiB chunks, #343
  723. --chunker-params new default: 19,23,21,4095 - old default: 10,23,16,4095
  724. one of the biggest issues with borg < 1.0 (and also attic) was that it had a
  725. default target chunk size of 64kiB, thus it created a lot of chunks and thus
  726. also a huge chunk management overhead (high RAM and disk usage).
  727. please note that the new default won't change the chunks that you already
  728. have in your repository. the new big chunks do not deduplicate with the old
  729. small chunks, so expect your repo to grow at least by the size of every
  730. changed file and in the worst case (e.g. if your files cache was lost / is
  731. not used) by the size of every file (minus any compression you might use).
  732. in case you want to immediately see a much lower resource usage (RAM / disk)
  733. for chunks management, it might be better to start with a new repo than
  734. continuing in the existing repo (with an existing repo, you'ld have to wait
  735. until all archives with small chunks got pruned to see a lower resource
  736. usage).
  737. if you used the old --chunker-params default value (or if you did not use
  738. --chunker-params option at all) and you'ld like to continue using small
  739. chunks (and you accept the huge resource usage that comes with that), just
  740. explicitly use borg create --chunker-params=10,23,16,4095.
  741. - archive timestamps: the 'time' timestamp now refers to archive creation
  742. start time (was: end time), the new 'time_end' timestamp refers to archive
  743. creation end time. This might affect prune if your backups take rather long.
  744. if you give a timestamp via cli this is stored into 'time', therefore it now
  745. needs to mean archive creation start time.
  746. New features:
  747. - implement password roundtrip, #695
  748. Bug fixes:
  749. - remote end does not need cache nor keys directories, do not create them, #701
  750. - added retry counter for passwords, #703
  751. Other changes:
  752. - fix compiler warnings, #697
  753. - docs:
  754. - update README.rst to new changelog location in docs/changes.rst
  755. - add Teemu to AUTHORS
  756. - changes.rst: fix old chunker params, #698
  757. - FAQ: how to limit bandwidth
  758. Version 1.0.0rc2 (2016-02-28)
  759. -----------------------------
  760. New features:
  761. - format options for location: user, pid, fqdn, hostname, now, utcnow, user
  762. - borg list --list-format
  763. - borg prune -v --list enables the keep/prune list output, #658
  764. Bug fixes:
  765. - fix _open_rb noatime handling, #657
  766. - add a simple archivename validator, #680
  767. - borg create --stats: show timestamps in localtime, use same labels/formatting
  768. as borg info, #651
  769. - llfuse compatibility fixes (now compatible with: 0.40, 0.41, 0.42)
  770. Other changes:
  771. - it is now possible to use "pip install borgbackup[fuse]" to automatically
  772. install the llfuse dependency using the correct version requirement
  773. for it. you still need to care about having installed the FUSE / build
  774. related OS package first, though, so that building llfuse can succeed.
  775. - Vagrant: drop Ubuntu Precise (12.04) - does not have Python >= 3.4
  776. - Vagrant: use pyinstaller v3.1.1 to build binaries
  777. - docs:
  778. - borg upgrade: add to docs that only LOCAL repos are supported
  779. - borg upgrade also handles borg 0.xx -> 1.0
  780. - use pip extras or requirements file to install llfuse
  781. - fix order in release process
  782. - updated usage docs and other minor / cosmetic fixes
  783. - verified borg examples in docs, #644
  784. - freebsd dependency installation and fuse configuration, #649
  785. - add example how to restore a raw device, #671
  786. - add a hint about the dev headers needed when installing from source
  787. - add examples for delete (and handle delete after list, before prune), #656
  788. - update example for borg create -v --stats (use iso datetime format), #663
  789. - added example to BORG_RSH docs
  790. - "connection closed by remote": add FAQ entry and point to issue #636
  791. Version 1.0.0rc1 (2016-02-07)
  792. -----------------------------
  793. New features:
  794. - borg migrate-to-repokey ("passphrase" -> "repokey" encryption key mode)
  795. - implement --short for borg list REPO, #611
  796. - implement --list for borg extract (consistency with borg create)
  797. - borg serve: overwrite client's --restrict-to-path with ssh forced command's
  798. option value (but keep everything else from the client commandline), #544
  799. - use $XDG_CONFIG_HOME/keys for keyfile keys (~/.config/borg/keys), #515
  800. - "borg upgrade" moves the keyfile keys to the new location
  801. - display both archive creation start and end time in "borg info", #627
  802. Bug fixes:
  803. - normalize trailing slashes for the repository path, #606
  804. - Cache: fix exception handling in __init__, release lock, #610
  805. Other changes:
  806. - suppress unneeded exception context (PEP 409), simpler tracebacks
  807. - removed special code needed to deal with imperfections / incompatibilities /
  808. missing stuff in py 3.2/3.3, simplify code that can be done simpler in 3.4
  809. - removed some version requirements that were kept on old versions because
  810. newer did not support py 3.2 any more
  811. - use some py 3.4+ stdlib code instead of own/openssl/pypi code:
  812. - use os.urandom instead of own cython openssl RAND_bytes wrapper, #493
  813. - use hashlib.pbkdf2_hmac from py stdlib instead of own openssl wrapper
  814. - use hmac.compare_digest instead of == operator (constant time comparison)
  815. - use stat.filemode instead of homegrown code
  816. - use "mock" library from stdlib, #145
  817. - remove borg.support (with non-broken argparse copy), it is ok in 3.4+, #358
  818. - Vagrant: copy CHANGES.rst as symlink, #592
  819. - cosmetic code cleanups, add flake8 to tox/travis, #4
  820. - docs / help:
  821. - make "borg -h" output prettier, #591
  822. - slightly rephrase prune help
  823. - add missing example for --list option of borg create
  824. - quote exclude line that includes an asterisk to prevent shell expansion
  825. - fix dead link to license
  826. - delete Ubuntu Vivid, it is not supported anymore (EOL)
  827. - OS X binary does not work for older OS X releases, #629
  828. - borg serve's special support for forced/original ssh commands, #544
  829. - misc. updates and fixes
  830. Version 0.30.0 (2016-01-23)
  831. ---------------------------
  832. Compatibility notes:
  833. - you may need to use -v (or --info) more often to actually see output emitted
  834. at INFO log level (because it is suppressed at the default WARNING log level).
  835. See the "general" section in the usage docs.
  836. - for borg create, you need --list (additionally to -v) to see the long file
  837. list (was needed so you can have e.g. --stats alone without the long list)
  838. - see below about BORG_DELETE_I_KNOW_WHAT_I_AM_DOING (was:
  839. BORG_CHECK_I_KNOW_WHAT_I_AM_DOING)
  840. Bug fixes:
  841. - fix crash when using borg create --dry-run --keep-tag-files, #570
  842. - make sure teardown with cleanup happens for Cache and RepositoryCache,
  843. avoiding leftover locks and TEMP dir contents, #285 (partially), #548
  844. - fix locking KeyError, partial fix for #502
  845. - log stats consistently, #526
  846. - add abbreviated weekday to timestamp format, fixes #496
  847. - strip whitespace when loading exclusions from file
  848. - unset LD_LIBRARY_PATH before invoking ssh, fixes strange OpenSSL library
  849. version warning when using the borg binary, #514
  850. - add some error handling/fallback for C library loading, #494
  851. - added BORG_DELETE_I_KNOW_WHAT_I_AM_DOING for check in "borg delete", #503
  852. - remove unused "repair" rpc method name
  853. New features:
  854. - borg create: implement exclusions using regular expression patterns.
  855. - borg create: implement inclusions using patterns.
  856. - borg extract: support patterns, #361
  857. - support different styles for patterns:
  858. - fnmatch (`fm:` prefix, default when omitted), like borg <= 0.29.
  859. - shell (`sh:` prefix) with `*` not matching directory separators and
  860. `**/` matching 0..n directories
  861. - path prefix (`pp:` prefix, for unifying borg create pp1 pp2 into the
  862. patterns system), semantics like in borg <= 0.29
  863. - regular expression (`re:`), new!
  864. - --progress option for borg upgrade (#291) and borg delete <archive>
  865. - update progress indication more often (e.g. for borg create within big
  866. files or for borg check repo), #500
  867. - finer chunker granularity for items metadata stream, #547, #487
  868. - borg create --list now used (additionally to -v) to enable the verbose
  869. file list output
  870. - display borg version below tracebacks, #532
  871. Other changes:
  872. - hashtable size (and thus: RAM and disk consumption) follows a growth policy:
  873. grows fast while small, grows slower when getting bigger, #527
  874. - Vagrantfile: use pyinstaller 3.1 to build binaries, freebsd sqlite3 fix,
  875. fixes #569
  876. - no separate binaries for centos6 any more because the generic linux binaries
  877. also work on centos6 (or in general: on systems with a slightly older glibc
  878. than debian7
  879. - dev environment: require virtualenv<14.0 so we get a py32 compatible pip
  880. - docs:
  881. - add space-saving chunks.archive.d trick to FAQ
  882. - important: clarify -v and log levels in usage -> general, please read!
  883. - sphinx configuration: create a simple man page from usage docs
  884. - add a repo server setup example
  885. - disable unneeded SSH features in authorized_keys examples for security.
  886. - borg prune only knows "--keep-within" and not "--within"
  887. - add gource video to resources docs, #507
  888. - add netbsd install instructions
  889. - authors: make it more clear what refers to borg and what to attic
  890. - document standalone binary requirements, #499
  891. - rephrase the mailing list section
  892. - development docs: run build_api and build_usage before tagging release
  893. - internals docs: hash table max. load factor is 0.75 now
  894. - markup, typo, grammar, phrasing, clarifications and other fixes.
  895. - add gcc gcc-c++ to redhat/fedora/corora install docs, fixes #583
  896. Version 0.29.0 (2015-12-13)
  897. ---------------------------
  898. Compatibility notes:
  899. - when upgrading to 0.29.0 you need to upgrade client as well as server
  900. installations due to the locking and commandline interface changes otherwise
  901. you'll get an error msg about a RPC protocol mismatch or a wrong commandline
  902. option.
  903. if you run a server that needs to support both old and new clients, it is
  904. suggested that you have a "borg-0.28.2" and a "borg-0.29.0" command.
  905. clients then can choose via e.g. "borg --remote-path=borg-0.29.0 ...".
  906. - the default waiting time for a lock changed from infinity to 1 second for a
  907. better interactive user experience. if the repo you want to access is
  908. currently locked, borg will now terminate after 1s with an error message.
  909. if you have scripts that shall wait for the lock for a longer time, use
  910. --lock-wait N (with N being the maximum wait time in seconds).
  911. Bug fixes:
  912. - hash table tuning (better chosen hashtable load factor 0.75 and prime initial
  913. size of 1031 gave ~1000x speedup in some scenarios)
  914. - avoid creation of an orphan lock for one case, #285
  915. - --keep-tag-files: fix file mode and multiple tag files in one directory, #432
  916. - fixes for "borg upgrade" (attic repo converter), #466
  917. - remove --progress isatty magic (and also --no-progress option) again, #476
  918. - borg init: display proper repo URL
  919. - fix format of umask in help pages, #463
  920. New features:
  921. - implement --lock-wait, support timeout for UpgradableLock, #210
  922. - implement borg break-lock command, #157
  923. - include system info below traceback, #324
  924. - sane remote logging, remote stderr, #461:
  925. - remote log output: intercept it and log it via local logging system,
  926. with "Remote: " prefixed to message. log remote tracebacks.
  927. - remote stderr: output it to local stderr with "Remote: " prefixed.
  928. - add --debug and --info (same as --verbose) to set the log level of the
  929. builtin logging configuration (which otherwise defaults to warning), #426
  930. note: there are few messages emitted at DEBUG level currently.
  931. - optionally configure logging via env var BORG_LOGGING_CONF
  932. - add --filter option for status characters: e.g. to show only the added
  933. or modified files (and also errors), use "borg create -v --filter=AME ...".
  934. - more progress indicators, #394
  935. - use ISO-8601 date and time format, #375
  936. - "borg check --prefix" to restrict archive checking to that name prefix, #206
  937. Other changes:
  938. - hashindex_add C implementation (speed up cache re-sync for new archives)
  939. - increase FUSE read_size to 1024 (speed up metadata operations)
  940. - check/delete/prune --save-space: free unused segments quickly, #239
  941. - increase rpc protocol version to 2 (see also Compatibility notes), #458
  942. - silence borg by default (via default log level WARNING)
  943. - get rid of C compiler warnings, #391
  944. - upgrade OS X FUSE to 3.0.9 on the OS X binary build system
  945. - use python 3.5.1 to build binaries
  946. - docs:
  947. - new mailing list borgbackup@python.org, #468
  948. - readthedocs: color and logo improvements
  949. - load coverage icons over SSL (avoids mixed content)
  950. - more precise binary installation steps
  951. - update release procedure docs about OS X FUSE
  952. - FAQ entry about unexpected 'A' status for unchanged file(s), #403
  953. - add docs about 'E' file status
  954. - add "borg upgrade" docs, #464
  955. - add developer docs about output and logging
  956. - clarify encryption, add note about client-side encryption
  957. - add resources section, with videos, talks, presentations, #149
  958. - Borg moved to Arch Linux [community]
  959. - fix wrong installation instructions for archlinux
  960. Version 0.28.2 (2015-11-15)
  961. ---------------------------
  962. New features:
  963. - borg create --exclude-if-present TAGFILE - exclude directories that have the
  964. given file from the backup. You can additionally give --keep-tag-files to
  965. preserve just the directory roots and the tag-files (but not backup other
  966. directory contents), #395, attic #128, attic #142
  967. Other changes:
  968. - do not create docs sources at build time (just have them in the repo),
  969. completely remove have_cython() hack, do not use the "mock" library at build
  970. time, #384
  971. - avoid hidden import, make it easier for PyInstaller, easier fix for #218
  972. - docs:
  973. - add description of item flags / status output, fixes #402
  974. - explain how to regenerate usage and API files (build_api or
  975. build_usage) and when to commit usage files directly into git, #384
  976. - minor install docs improvements
  977. Version 0.28.1 (2015-11-08)
  978. ---------------------------
  979. Bug fixes:
  980. - do not try to build api / usage docs for production install,
  981. fixes unexpected "mock" build dependency, #384
  982. Other changes:
  983. - avoid using msgpack.packb at import time
  984. - fix formatting issue in changes.rst
  985. - fix build on readthedocs
  986. Version 0.28.0 (2015-11-08)
  987. ---------------------------
  988. Compatibility notes:
  989. - changed return codes (exit codes), see docs. in short:
  990. old: 0 = ok, 1 = error. now: 0 = ok, 1 = warning, 2 = error
  991. New features:
  992. - refactor return codes (exit codes), fixes #61
  993. - add --show-rc option enable "terminating with X status, rc N" output, fixes 58, #351
  994. - borg create backups atime and ctime additionally to mtime, fixes #317
  995. - extract: support atime additionally to mtime
  996. - FUSE: support ctime and atime additionally to mtime
  997. - support borg --version
  998. - emit a warning if we have a slow msgpack installed
  999. - borg list --prefix=thishostname- REPO, fixes #205
  1000. - Debug commands (do not use except if you know what you do: debug-get-obj,
  1001. debug-put-obj, debug-delete-obj, debug-dump-archive-items.
  1002. Bug fixes:
  1003. - setup.py: fix bug related to BORG_LZ4_PREFIX processing
  1004. - fix "check" for repos that have incomplete chunks, fixes #364
  1005. - borg mount: fix unlocking of repository at umount time, fixes #331
  1006. - fix reading files without touching their atime, #334
  1007. - non-ascii ACL fixes for Linux, FreeBSD and OS X, #277
  1008. - fix acl_use_local_uid_gid() and add a test for it, attic #359
  1009. - borg upgrade: do not upgrade repositories in place by default, #299
  1010. - fix cascading failure with the index conversion code, #269
  1011. - borg check: implement 'cmdline' archive metadata value decoding, #311
  1012. - fix RobustUnpacker, it missed some metadata keys (new atime and ctime keys
  1013. were missing, but also bsdflags). add check for unknown metadata keys.
  1014. - create from stdin: also save atime, ctime (cosmetic)
  1015. - use default_notty=False for confirmations, fixes #345
  1016. - vagrant: fix msgpack installation on centos, fixes #342
  1017. - deal with unicode errors for symlinks in same way as for regular files and
  1018. have a helpful warning message about how to fix wrong locale setup, fixes #382
  1019. - add ACL keys the RobustUnpacker must know about
  1020. Other changes:
  1021. - improve file size displays, more flexible size formatters
  1022. - explicitly commit to the units standard, #289
  1023. - archiver: add E status (means that an error occurred when processing this
  1024. (single) item
  1025. - do binary releases via "github releases", closes #214
  1026. - create: use -x and --one-file-system (was: --do-not-cross-mountpoints), #296
  1027. - a lot of changes related to using "logging" module and screen output, #233
  1028. - show progress display if on a tty, output more progress information, #303
  1029. - factor out status output so it is consistent, fix surrogates removal,
  1030. maybe fixes #309
  1031. - move away from RawConfigParser to ConfigParser
  1032. - archive checker: better error logging, give chunk_id and sequence numbers
  1033. (can be used together with borg debug-dump-archive-items).
  1034. - do not mention the deprecated passphrase mode
  1035. - emit a deprecation warning for --compression N (giving a just a number)
  1036. - misc .coverragerc fixes (and coverage measurement improvements), fixes #319
  1037. - refactor confirmation code, reduce code duplication, add tests
  1038. - prettier error messages, fixes #307, #57
  1039. - tests:
  1040. - add a test to find disk-full issues, #327
  1041. - travis: also run tests on Python 3.5
  1042. - travis: use tox -r so it rebuilds the tox environments
  1043. - test the generated pyinstaller-based binary by archiver unit tests, #215
  1044. - vagrant: tests: announce whether fakeroot is used or not
  1045. - vagrant: add vagrant user to fuse group for debianoid systems also
  1046. - vagrant: llfuse install on darwin needs pkgconfig installed
  1047. - vagrant: use pyinstaller from develop branch, fixes #336
  1048. - benchmarks: test create, extract, list, delete, info, check, help, fixes #146
  1049. - benchmarks: test with both the binary and the python code
  1050. - archiver tests: test with both the binary and the python code, fixes #215
  1051. - make basic test more robust
  1052. - docs:
  1053. - moved docs to borgbackup.readthedocs.org, #155
  1054. - a lot of fixes and improvements, use mobile-friendly RTD standard theme
  1055. - use zlib,6 compression in some examples, fixes #275
  1056. - add missing rename usage to docs, closes #279
  1057. - include the help offered by borg help <topic> in the usage docs, fixes #293
  1058. - include a list of major changes compared to attic into README, fixes #224
  1059. - add OS X install instructions, #197
  1060. - more details about the release process, #260
  1061. - fix linux glibc requirement (binaries built on debian7 now)
  1062. - build: move usage and API generation to setup.py
  1063. - update docs about return codes, #61
  1064. - remove api docs (too much breakage on rtd)
  1065. - borgbackup install + basics presentation (asciinema)
  1066. - describe the current style guide in documentation
  1067. - add section about debug commands
  1068. - warn about not running out of space
  1069. - add example for rename
  1070. - improve chunker params docs, fixes #362
  1071. - minor development docs update
  1072. Version 0.27.0 (2015-10-07)
  1073. ---------------------------
  1074. New features:
  1075. - "borg upgrade" command - attic -> borg one time converter / migration, #21
  1076. - temporary hack to avoid using lots of disk space for chunks.archive.d, #235:
  1077. To use it: rm -rf chunks.archive.d ; touch chunks.archive.d
  1078. - respect XDG_CACHE_HOME, attic #181
  1079. - add support for arbitrary SSH commands, attic #99
  1080. - borg delete --cache-only REPO (only delete cache, not REPO), attic #123
  1081. Bug fixes:
  1082. - use Debian 7 (wheezy) to build pyinstaller borgbackup binaries, fixes slow
  1083. down observed when running the Centos6-built binary on Ubuntu, #222
  1084. - do not crash on empty lock.roster, fixes #232
  1085. - fix multiple issues with the cache config version check, #234
  1086. - fix segment entry header size check, attic #352
  1087. plus other error handling improvements / code deduplication there.
  1088. - always give segment and offset in repo IntegrityErrors
  1089. Other changes:
  1090. - stop producing binary wheels, remove docs about it, #147
  1091. - docs:
  1092. - add warning about prune
  1093. - generate usage include files only as needed
  1094. - development docs: add Vagrant section
  1095. - update / improve / reformat FAQ
  1096. - hint to single-file pyinstaller binaries from README
  1097. Version 0.26.1 (2015-09-28)
  1098. ---------------------------
  1099. This is a minor update, just docs and new pyinstaller binaries.
  1100. - docs update about python and binary requirements
  1101. - better docs for --read-special, fix #220
  1102. - re-built the binaries, fix #218 and #213 (glibc version issue)
  1103. - update web site about single-file pyinstaller binaries
  1104. Note: if you did a python-based installation, there is no need to upgrade.
  1105. Version 0.26.0 (2015-09-19)
  1106. ---------------------------
  1107. New features:
  1108. - Faster cache sync (do all in one pass, remove tar/compression stuff), #163
  1109. - BORG_REPO env var to specify the default repo, #168
  1110. - read special files as if they were regular files, #79
  1111. - implement borg create --dry-run, attic issue #267
  1112. - Normalize paths before pattern matching on OS X, #143
  1113. - support OpenBSD and NetBSD (except xattrs/ACLs)
  1114. - support / run tests on Python 3.5
  1115. Bug fixes:
  1116. - borg mount repo: use absolute path, attic #200, attic #137
  1117. - chunker: use off_t to get 64bit on 32bit platform, #178
  1118. - initialize chunker fd to -1, so it's not equal to STDIN_FILENO (0)
  1119. - fix reaction to "no" answer at delete repo prompt, #182
  1120. - setup.py: detect lz4.h header file location
  1121. - to support python < 3.2.4, add less buggy argparse lib from 3.2.6 (#194)
  1122. - fix for obtaining ``char *`` from temporary Python value (old code causes
  1123. a compile error on Mint 17.2)
  1124. - llfuse 0.41 install troubles on some platforms, require < 0.41
  1125. (UnicodeDecodeError exception due to non-ascii llfuse setup.py)
  1126. - cython code: add some int types to get rid of unspecific python add /
  1127. subtract operations (avoid ``undefined symbol FPE_``... error on some platforms)
  1128. - fix verbose mode display of stdin backup
  1129. - extract: warn if a include pattern never matched, fixes #209,
  1130. implement counters for Include/ExcludePatterns
  1131. - archive names with slashes are invalid, attic issue #180
  1132. - chunker: add a check whether the POSIX_FADV_DONTNEED constant is defined -
  1133. fixes building on OpenBSD.
  1134. Other changes:
  1135. - detect inconsistency / corruption / hash collision, #170
  1136. - replace versioneer with setuptools_scm, #106
  1137. - docs:
  1138. - pkg-config is needed for llfuse installation
  1139. - be more clear about pruning, attic issue #132
  1140. - unit tests:
  1141. - xattr: ignore security.selinux attribute showing up
  1142. - ext3 seems to need a bit more space for a sparse file
  1143. - do not test lzma level 9 compression (avoid MemoryError)
  1144. - work around strange mtime granularity issue on netbsd, fixes #204
  1145. - ignore st_rdev if file is not a block/char device, fixes #203
  1146. - stay away from the setgid and sticky mode bits
  1147. - use Vagrant to do easy cross-platform testing (#196), currently:
  1148. - Debian 7 "wheezy" 32bit, Debian 8 "jessie" 64bit
  1149. - Ubuntu 12.04 32bit, Ubuntu 14.04 64bit
  1150. - Centos 7 64bit
  1151. - FreeBSD 10.2 64bit
  1152. - OpenBSD 5.7 64bit
  1153. - NetBSD 6.1.5 64bit
  1154. - Darwin (OS X Yosemite)
  1155. Version 0.25.0 (2015-08-29)
  1156. ---------------------------
  1157. Compatibility notes:
  1158. - lz4 compression library (liblz4) is a new requirement (#156)
  1159. - the new compression code is very compatible: as long as you stay with zlib
  1160. compression, older borg releases will still be able to read data from a
  1161. repo/archive made with the new code (note: this is not the case for the
  1162. default "none" compression, use "zlib,0" if you want a "no compression" mode
  1163. that can be read by older borg). Also the new code is able to read repos and
  1164. archives made with older borg versions (for all zlib levels 0..9).
  1165. Deprecations:
  1166. - --compression N (with N being a number, as in 0.24) is deprecated.
  1167. We keep the --compression 0..9 for now to not break scripts, but it is
  1168. deprecated and will be removed later, so better fix your scripts now:
  1169. --compression 0 (as in 0.24) is the same as --compression zlib,0 (now).
  1170. BUT: if you do not want compression, you rather want --compression none
  1171. (which is the default).
  1172. --compression 1 (in 0.24) is the same as --compression zlib,1 (now)
  1173. --compression 9 (in 0.24) is the same as --compression zlib,9 (now)
  1174. New features:
  1175. - create --compression none (default, means: do not compress, just pass through
  1176. data "as is". this is more efficient than zlib level 0 as used in borg 0.24)
  1177. - create --compression lz4 (super-fast, but not very high compression)
  1178. - create --compression zlib,N (slower, higher compression, default for N is 6)
  1179. - create --compression lzma,N (slowest, highest compression, default N is 6)
  1180. - honor the nodump flag (UF_NODUMP) and do not backup such items
  1181. - list --short just outputs a simple list of the files/directories in an archive
  1182. Bug fixes:
  1183. - fixed --chunker-params parameter order confusion / malfunction, fixes #154
  1184. - close fds of segments we delete (during compaction)
  1185. - close files which fell out the lrucache
  1186. - fadvise DONTNEED now is only called for the byte range actually read, not for
  1187. the whole file, fixes #158.
  1188. - fix issue with negative "all archives" size, fixes #165
  1189. - restore_xattrs: ignore if setxattr fails with EACCES, fixes #162
  1190. Other changes:
  1191. - remove fakeroot requirement for tests, tests run faster without fakeroot
  1192. (test setup does not fail any more without fakeroot, so you can run with or
  1193. without fakeroot), fixes #151 and #91.
  1194. - more tests for archiver
  1195. - recover_segment(): don't assume we have an fd for segment
  1196. - lrucache refactoring / cleanup, add dispose function, py.test tests
  1197. - generalize hashindex code for any key length (less hardcoding)
  1198. - lock roster: catch file not found in remove() method and ignore it
  1199. - travis CI: use requirements file
  1200. - improved docs:
  1201. - replace hack for llfuse with proper solution (install libfuse-dev)
  1202. - update docs about compression
  1203. - update development docs about fakeroot
  1204. - internals: add some words about lock files / locking system
  1205. - support: mention BountySource and for what it can be used
  1206. - theme: use a lighter green
  1207. - add pypi, wheel, dist package based install docs
  1208. - split install docs into system-specific preparations and generic instructions
  1209. Version 0.24.0 (2015-08-09)
  1210. ---------------------------
  1211. Incompatible changes (compared to 0.23):
  1212. - borg now always issues --umask NNN option when invoking another borg via ssh
  1213. on the repository server. By that, it's making sure it uses the same umask
  1214. for remote repos as for local ones. Because of this, you must upgrade both
  1215. server and client(s) to 0.24.
  1216. - the default umask is 077 now (if you do not specify via --umask) which might
  1217. be a different one as you used previously. The default umask avoids that
  1218. you accidentally give access permissions for group and/or others to files
  1219. created by borg (e.g. the repository).
  1220. Deprecations:
  1221. - "--encryption passphrase" mode is deprecated, see #85 and #97.
  1222. See the new "--encryption repokey" mode for a replacement.
  1223. New features:
  1224. - borg create --chunker-params ... to configure the chunker, fixes #16
  1225. (attic #302, attic #300, and somehow also #41).
  1226. This can be used to reduce memory usage caused by chunk management overhead,
  1227. so borg does not create a huge chunks index/repo index and eats all your RAM
  1228. if you back up lots of data in huge files (like VM disk images).
  1229. See docs/misc/create_chunker-params.txt for more information.
  1230. - borg info now reports chunk counts in the chunk index.
  1231. - borg create --compression 0..9 to select zlib compression level, fixes #66
  1232. (attic #295).
  1233. - borg init --encryption repokey (to store the encryption key into the repo),
  1234. fixes #85
  1235. - improve at-end error logging, always log exceptions and set exit_code=1
  1236. - LoggedIO: better error checks / exceptions / exception handling
  1237. - implement --remote-path to allow non-default-path borg locations, #125
  1238. - implement --umask M and use 077 as default umask for better security, #117
  1239. - borg check: give a named single archive to it, fixes #139
  1240. - cache sync: show progress indication
  1241. - cache sync: reimplement the chunk index merging in C
  1242. Bug fixes:
  1243. - fix segfault that happened for unreadable files (chunker: n needs to be a
  1244. signed size_t), #116
  1245. - fix the repair mode, #144
  1246. - repo delete: add destroy to allowed rpc methods, fixes issue #114
  1247. - more compatible repository locking code (based on mkdir), maybe fixes #92
  1248. (attic #317, attic #201).
  1249. - better Exception msg if no Borg is installed on the remote repo server, #56
  1250. - create a RepositoryCache implementation that can cope with >2GiB,
  1251. fixes attic #326.
  1252. - fix Traceback when running check --repair, attic #232
  1253. - clarify help text, fixes #73.
  1254. - add help string for --no-files-cache, fixes #140
  1255. Other changes:
  1256. - improved docs:
  1257. - added docs/misc directory for misc. writeups that won't be included
  1258. "as is" into the html docs.
  1259. - document environment variables and return codes (attic #324, attic #52)
  1260. - web site: add related projects, fix web site url, IRC #borgbackup
  1261. - Fedora/Fedora-based install instructions added to docs
  1262. - Cygwin-based install instructions added to docs
  1263. - updated AUTHORS
  1264. - add FAQ entries about redundancy / integrity
  1265. - clarify that borg extract uses the cwd as extraction target
  1266. - update internals doc about chunker params, memory usage and compression
  1267. - added docs about development
  1268. - add some words about resource usage in general
  1269. - document how to backup a raw disk
  1270. - add note about how to run borg from virtual env
  1271. - add solutions for (ll)fuse installation problems
  1272. - document what borg check does, fixes #138
  1273. - reorganize borgbackup.github.io sidebar, prev/next at top
  1274. - deduplicate and refactor the docs / README.rst
  1275. - use borg-tmp as prefix for temporary files / directories
  1276. - short prune options without "keep-" are deprecated, do not suggest them
  1277. - improved tox configuration
  1278. - remove usage of unittest.mock, always use mock from pypi
  1279. - use entrypoints instead of scripts, for better use of the wheel format and
  1280. modern installs
  1281. - add requirements.d/development.txt and modify tox.ini
  1282. - use travis-ci for testing based on Linux and (new) OS X
  1283. - use coverage.py, pytest-cov and codecov.io for test coverage support
  1284. I forgot to list some stuff already implemented in 0.23.0, here they are:
  1285. New features:
  1286. - efficient archive list from manifest, meaning a big speedup for slow
  1287. repo connections and "list <repo>", "delete <repo>", "prune" (attic #242,
  1288. attic #167)
  1289. - big speedup for chunks cache sync (esp. for slow repo connections), fixes #18
  1290. - hashindex: improve error messages
  1291. Other changes:
  1292. - explicitly specify binary mode to open binary files
  1293. - some easy micro optimizations
  1294. Version 0.23.0 (2015-06-11)
  1295. ---------------------------
  1296. Incompatible changes (compared to attic, fork related):
  1297. - changed sw name and cli command to "borg", updated docs
  1298. - package name (and name in urls) uses "borgbackup" to have less collisions
  1299. - changed repo / cache internal magic strings from ATTIC* to BORG*,
  1300. changed cache location to .cache/borg/ - this means that it currently won't
  1301. accept attic repos (see issue #21 about improving that)
  1302. Bug fixes:
  1303. - avoid defect python-msgpack releases, fixes attic #171, fixes attic #185
  1304. - fix traceback when trying to do unsupported passphrase change, fixes attic #189
  1305. - datetime does not like the year 10.000, fixes attic #139
  1306. - fix "info" all archives stats, fixes attic #183
  1307. - fix parsing with missing microseconds, fixes attic #282
  1308. - fix misleading hint the fuse ImportError handler gave, fixes attic #237
  1309. - check unpacked data from RPC for tuple type and correct length, fixes attic #127
  1310. - fix Repository._active_txn state when lock upgrade fails
  1311. - give specific path to xattr.is_enabled(), disable symlink setattr call that
  1312. always fails
  1313. - fix test setup for 32bit platforms, partial fix for attic #196
  1314. - upgraded versioneer, PEP440 compliance, fixes attic #257
  1315. New features:
  1316. - less memory usage: add global option --no-cache-files
  1317. - check --last N (only check the last N archives)
  1318. - check: sort archives in reverse time order
  1319. - rename repo::oldname newname (rename repository)
  1320. - create -v output more informative
  1321. - create --progress (backup progress indicator)
  1322. - create --timestamp (utc string or reference file/dir)
  1323. - create: if "-" is given as path, read binary from stdin
  1324. - extract: if --stdout is given, write all extracted binary data to stdout
  1325. - extract --sparse (simple sparse file support)
  1326. - extra debug information for 'fread failed'
  1327. - delete <repo> (deletes whole repo + local cache)
  1328. - FUSE: reflect deduplication in allocated blocks
  1329. - only allow whitelisted RPC calls in server mode
  1330. - normalize source/exclude paths before matching
  1331. - use posix_fadvise to not spoil the OS cache, fixes attic #252
  1332. - toplevel error handler: show tracebacks for better error analysis
  1333. - sigusr1 / sigint handler to print current file infos - attic PR #286
  1334. - RPCError: include the exception args we get from remote
  1335. Other changes:
  1336. - source: misc. cleanups, pep8, style
  1337. - docs and faq improvements, fixes, updates
  1338. - cleanup crypto.pyx, make it easier to adapt to other AES modes
  1339. - do os.fsync like recommended in the python docs
  1340. - source: Let chunker optionally work with os-level file descriptor.
  1341. - source: Linux: remove duplicate os.fsencode calls
  1342. - source: refactor _open_rb code a bit, so it is more consistent / regular
  1343. - source: refactor indicator (status) and item processing
  1344. - source: use py.test for better testing, flake8 for code style checks
  1345. - source: fix tox >=2.0 compatibility (test runner)
  1346. - pypi package: add python version classifiers, add FreeBSD to platforms
  1347. Attic Changelog
  1348. ---------------
  1349. Here you can see the full list of changes between each Attic release until Borg
  1350. forked from Attic:
  1351. Version 0.17
  1352. ~~~~~~~~~~~~
  1353. (bugfix release, released on X)
  1354. - Fix hashindex ARM memory alignment issue (#309)
  1355. - Improve hashindex error messages (#298)
  1356. Version 0.16
  1357. ~~~~~~~~~~~~
  1358. (bugfix release, released on May 16, 2015)
  1359. - Fix typo preventing the security confirmation prompt from working (#303)
  1360. - Improve handling of systems with improperly configured file system encoding (#289)
  1361. - Fix "All archives" output for attic info. (#183)
  1362. - More user friendly error message when repository key file is not found (#236)
  1363. - Fix parsing of iso 8601 timestamps with zero microseconds (#282)
  1364. Version 0.15
  1365. ~~~~~~~~~~~~
  1366. (bugfix release, released on Apr 15, 2015)
  1367. - xattr: Be less strict about unknown/unsupported platforms (#239)
  1368. - Reduce repository listing memory usage (#163).
  1369. - Fix BrokenPipeError for remote repositories (#233)
  1370. - Fix incorrect behavior with two character directory names (#265, #268)
  1371. - Require approval before accessing relocated/moved repository (#271)
  1372. - Require approval before accessing previously unknown unencrypted repositories (#271)
  1373. - Fix issue with hash index files larger than 2GB.
  1374. - Fix Python 3.2 compatibility issue with noatime open() (#164)
  1375. - Include missing pyx files in dist files (#168)
  1376. Version 0.14
  1377. ~~~~~~~~~~~~
  1378. (feature release, released on Dec 17, 2014)
  1379. - Added support for stripping leading path segments (#95)
  1380. "attic extract --strip-segments X"
  1381. - Add workaround for old Linux systems without acl_extended_file_no_follow (#96)
  1382. - Add MacPorts' path to the default openssl search path (#101)
  1383. - HashIndex improvements, eliminates unnecessary IO on low memory systems.
  1384. - Fix "Number of files" output for attic info. (#124)
  1385. - limit create file permissions so files aren't read while restoring
  1386. - Fix issue with empty xattr values (#106)
  1387. Version 0.13
  1388. ~~~~~~~~~~~~
  1389. (feature release, released on Jun 29, 2014)
  1390. - Fix sporadic "Resource temporarily unavailable" when using remote repositories
  1391. - Reduce file cache memory usage (#90)
  1392. - Faster AES encryption (utilizing AES-NI when available)
  1393. - Experimental Linux, OS X and FreeBSD ACL support (#66)
  1394. - Added support for backup and restore of BSDFlags (OSX, FreeBSD) (#56)
  1395. - Fix bug where xattrs on symlinks were not correctly restored
  1396. - Added cachedir support. CACHEDIR.TAG compatible cache directories
  1397. can now be excluded using ``--exclude-caches`` (#74)
  1398. - Fix crash on extreme mtime timestamps (year 2400+) (#81)
  1399. - Fix Python 3.2 specific lockf issue (EDEADLK)
  1400. Version 0.12
  1401. ~~~~~~~~~~~~
  1402. (feature release, released on April 7, 2014)
  1403. - Python 3.4 support (#62)
  1404. - Various documentation improvements a new style
  1405. - ``attic mount`` now supports mounting an entire repository not only
  1406. individual archives (#59)
  1407. - Added option to restrict remote repository access to specific path(s):
  1408. ``attic serve --restrict-to-path X`` (#51)
  1409. - Include "all archives" size information in "--stats" output. (#54)
  1410. - Added ``--stats`` option to ``attic delete`` and ``attic prune``
  1411. - Fixed bug where ``attic prune`` used UTC instead of the local time zone
  1412. when determining which archives to keep.
  1413. - Switch to SI units (Power of 1000 instead 1024) when printing file sizes
  1414. Version 0.11
  1415. ~~~~~~~~~~~~
  1416. (feature release, released on March 7, 2014)
  1417. - New "check" command for repository consistency checking (#24)
  1418. - Documentation improvements
  1419. - Fix exception during "attic create" with repeated files (#39)
  1420. - New "--exclude-from" option for attic create/extract/verify.
  1421. - Improved archive metadata deduplication.
  1422. - "attic verify" has been deprecated. Use "attic extract --dry-run" instead.
  1423. - "attic prune --hourly|daily|..." has been deprecated.
  1424. Use "attic prune --keep-hourly|daily|..." instead.
  1425. - Ignore xattr errors during "extract" if not supported by the filesystem. (#46)
  1426. Version 0.10
  1427. ~~~~~~~~~~~~
  1428. (bugfix release, released on Jan 30, 2014)
  1429. - Fix deadlock when extracting 0 sized files from remote repositories
  1430. - "--exclude" wildcard patterns are now properly applied to the full path
  1431. not just the file name part (#5).
  1432. - Make source code endianness agnostic (#1)
  1433. Version 0.9
  1434. ~~~~~~~~~~~
  1435. (feature release, released on Jan 23, 2014)
  1436. - Remote repository speed and reliability improvements.
  1437. - Fix sorting of segment names to ignore NFS left over files. (#17)
  1438. - Fix incorrect display of time (#13)
  1439. - Improved error handling / reporting. (#12)
  1440. - Use fcntl() instead of flock() when locking repository/cache. (#15)
  1441. - Let ssh figure out port/user if not specified so we don't override .ssh/config (#9)
  1442. - Improved libcrypto path detection (#23).
  1443. Version 0.8.1
  1444. ~~~~~~~~~~~~~
  1445. (bugfix release, released on Oct 4, 2013)
  1446. - Fix segmentation fault issue.
  1447. Version 0.8
  1448. ~~~~~~~~~~~
  1449. (feature release, released on Oct 3, 2013)
  1450. - Fix xattr issue when backing up sshfs filesystems (#4)
  1451. - Fix issue with excessive index file size (#6)
  1452. - Support access of read only repositories.
  1453. - New syntax to enable repository encryption:
  1454. attic init --encryption="none|passphrase|keyfile".
  1455. - Detect and abort if repository is older than the cache.
  1456. Version 0.7
  1457. ~~~~~~~~~~~
  1458. (feature release, released on Aug 5, 2013)
  1459. - Ported to FreeBSD
  1460. - Improved documentation
  1461. - Experimental: Archives mountable as fuse filesystems.
  1462. - The "user." prefix is no longer stripped from xattrs on Linux
  1463. Version 0.6.1
  1464. ~~~~~~~~~~~~~
  1465. (bugfix release, released on July 19, 2013)
  1466. - Fixed an issue where mtime was not always correctly restored.
  1467. Version 0.6
  1468. ~~~~~~~~~~~
  1469. First public release on July 9, 2013