changes.rst 70 KB

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