2
0

changes.rst 111 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832
  1. .. _important_notes:
  2. Important notes
  3. ===============
  4. This section provides information about security and corruption issues.
  5. .. _tam_vuln:
  6. Pre-1.0.9 manifest spoofing vulnerability (CVE-2016-10099)
  7. ----------------------------------------------------------
  8. A flaw in the cryptographic authentication scheme in Borg allowed an attacker
  9. to spoof the manifest. The attack requires an attacker to be able to
  10. 1. insert files (with no additional headers) into backups
  11. 2. gain write access to the repository
  12. This vulnerability does not disclose plaintext to the attacker, nor does it
  13. affect the authenticity of existing archives.
  14. The vulnerability allows an attacker to create a spoofed manifest (the list of archives).
  15. Creating plausible fake archives may be feasible for small archives, but is unlikely
  16. for large archives.
  17. The fix adds a separate authentication tag to the manifest. For compatibility
  18. with prior versions this authentication tag is *not* required by default
  19. for existing repositories. Repositories created with 1.0.9 and later require it.
  20. Steps you should take:
  21. 1. Upgrade all clients to 1.0.9 or later.
  22. 2. Run ``borg upgrade --tam <repository>`` *on every client* for *each* repository.
  23. 3. This will list all archives, including archive IDs, for easy comparison with your logs.
  24. 4. Done.
  25. Prior versions can access and modify repositories with this measure enabled, however,
  26. to 1.0.9 or later their modifications are indiscernible from an attack and will
  27. raise an error until the below procedure is followed. We are aware that this can
  28. be be annoying in some circumstances, but don't see a way to fix the vulnerability
  29. otherwise.
  30. In case a version prior to 1.0.9 is used to modify a repository where above procedure
  31. was completed, and now you get an error message from other clients:
  32. 1. ``borg upgrade --tam --force <repository>`` once with *any* client suffices.
  33. This attack is mitigated by:
  34. - Noting/logging ``borg list``, ``borg info``, or ``borg create --stats``, which
  35. contain the archive IDs.
  36. We are not aware of others having discovered, disclosed or exploited this vulnerability.
  37. Vulnerability time line:
  38. * 2016-11-14: Vulnerability and fix discovered during review of cryptography by Marian Beermann (@enkore)
  39. * 2016-11-20: First patch
  40. * 2016-12-20: Released fixed version 1.0.9
  41. * 2017-01-02: CVE was assigned
  42. * 2017-01-15: Released fixed version 1.1.0b3 (fix was previously only available from source)
  43. .. _attic013_check_corruption:
  44. Pre-1.0.9 potential data loss
  45. -----------------------------
  46. If you have archives in your repository that were made with attic <= 0.13
  47. (and later migrated to borg), running borg check would report errors in these
  48. archives. See issue #1837.
  49. The reason for this is a invalid (and useless) metadata key that was
  50. always added due to a bug in these old attic versions.
  51. If you run borg check --repair, things escalate quickly: all archive items
  52. with invalid metadata will be killed. Due to that attic bug, that means all
  53. items in all archives made with these old attic versions.
  54. Pre-1.0.4 potential repo corruption
  55. -----------------------------------
  56. Some external errors (like network or disk I/O errors) could lead to
  57. corruption of the backup repository due to issue #1138.
  58. A sign that this happened is if "E" status was reported for a file that can
  59. not be explained by problems with the source file. If you still have logs from
  60. "borg create -v --list", you can check for "E" status.
  61. Here is what could cause corruption and what you can do now:
  62. 1) I/O errors (e.g. repo disk errors) while writing data to repo.
  63. This could lead to corrupted segment files.
  64. Fix::
  65. # check for corrupt chunks / segments:
  66. borg check -v --repository-only REPO
  67. # repair the repo:
  68. borg check -v --repository-only --repair REPO
  69. # make sure everything is fixed:
  70. borg check -v --repository-only REPO
  71. 2) Unreliable network / unreliable connection to the repo.
  72. This could lead to archive metadata corruption.
  73. Fix::
  74. # check for corrupt archives:
  75. borg check -v --archives-only REPO
  76. # delete the corrupt archives:
  77. borg delete --force REPO::CORRUPT_ARCHIVE
  78. # make sure everything is fixed:
  79. borg check -v --archives-only REPO
  80. 3) In case you want to do more intensive checking.
  81. The best check that everything is ok is to run a dry-run extraction::
  82. borg extract -v --dry-run REPO::ARCHIVE
  83. .. _changelog:
  84. Changelog
  85. =========
  86. Version 1.1.1 (2017-10-22)
  87. --------------------------
  88. Compatibility notes:
  89. - When upgrading from borg 1.0.x to 1.1.x, please note:
  90. - read all the compatibility notes for 1.1.0*, starting from 1.1.0b1.
  91. - borg might ask some security-related questions once after upgrading.
  92. You can answer them either manually or via environment variable.
  93. One known case is if you use unencrypted repositories, then it will ask
  94. about a unknown unencrypted repository one time.
  95. - your first backup with 1.1.x might be significantly slower (it might
  96. completely read, chunk, hash a lot files) - this is due to the
  97. --files-cache mode change (and happens every time you change mode).
  98. You can avoid the one-time slowdown by using the pre-1.1.0rc4-compatible
  99. mode (but that is less safe for detecting changed files than the default).
  100. See the --files-cache docs for details.
  101. - The deprecated --no-files-cache is not a global/common option any more,
  102. but only available for borg create (it is not needed for anything else).
  103. Use --files-cache=disabled instead of --no-files-cache.
  104. - The nodump flag ("do not backup this file") is not honoured any more by
  105. default because this functionality (esp. if it happened by error or
  106. unexpected) was rather confusing and unexplainable at first to users.
  107. If you want that "do not backup NODUMP-flagged files" behaviour, use:
  108. borg create --exclude-nodump ...
  109. Fixes:
  110. - borg recreate: correctly compute part file sizes. fixes cosmetic, but
  111. annoying issue as borg check complains about size inconsistencies of part
  112. files in affected archives. you can solve that by running borg recreate on
  113. these archives, see also #3157.
  114. - bsdflags support: do not open BLK/CHR/LNK files, avoid crashes and
  115. slowness, #3130
  116. - recreate: don't crash on attic archives w/o time_end, #3109
  117. - don't crash on repository filesystems w/o hardlink support, #3107
  118. - don't crash in first part of truncate_and_unlink, #3117
  119. - fix server-side IndexError crash with clients < 1.0.7, #3192
  120. - don't show traceback if only a global option is given, show help, #3142
  121. - cache: use SaveFile for more safety, #3158
  122. - init: fix wrong encryption choices in command line parser, fix missing
  123. "authenticated-blake2", #3103
  124. - move --no-files-cache from common to borg create options, #3146
  125. - fix detection of non-local path (failed on ..filename), #3108
  126. - logging with fileConfig: set json attr on "borg" logger, #3114
  127. - fix crash with relative BORG_KEY_FILE, #3197
  128. - show excluded dir with "x" for tagged dirs / caches, #3189
  129. New features:
  130. - create: --nobsdflags and --exclude-nodump options, #3160
  131. - extract: --nobsdflags option, #3160
  132. Other changes:
  133. - remove annoying hardlinked symlinks warning, #3175
  134. - vagrant: use self-made FreeBSD 10.3 box, #3022
  135. - travis: don't brew update, hopefully fixes #2532
  136. - docs:
  137. - readme: -e option is required in borg 1.1
  138. - add example showing --show-version --show-rc
  139. - use --format rather than --list-format (deprecated) in example
  140. - update docs about hardlinked symlinks limitation
  141. Version 1.1.0 (2017-10-07)
  142. --------------------------
  143. Fixes:
  144. - fix LD_LIBRARY_PATH restoration for subprocesses, #3077
  145. - "auto" compression: make sure expensive compression is actually better,
  146. otherwise store lz4 compressed data we already computed.
  147. Other changes:
  148. - docs:
  149. - FAQ: we do not implement futile attempts of ETA / progress displays
  150. - manpage: fix typos, update homepage
  151. - implement simple "issue" role for manpage generation, #3075
  152. Version 1.1.0rc4 (2017-10-01)
  153. -----------------------------
  154. Compatibility notes:
  155. - A borg server >= 1.1.0rc4 does not support borg clients 1.1.0b3-b5. #3033
  156. - The files cache is now controlled differently and has a new default mode:
  157. - the files cache now uses ctime by default for improved file change
  158. detection safety. You can still use mtime for more speed and less safety.
  159. - --ignore-inode is deprecated (use --files-cache=... without "inode")
  160. - --no-files-cache is deprecated (use --files-cache=disabled)
  161. New features:
  162. - --files-cache - implement files cache mode control, #911
  163. You can now control the files cache mode using this option:
  164. --files-cache={ctime,mtime,size,inode,rechunk,disabled}
  165. (only some combinations are supported). See the docs for details.
  166. Fixes:
  167. - remote progress/logging: deal with partial lines, #2637
  168. - remote progress: flush json mode output
  169. - fix subprocess environments, #3050 (and more)
  170. Other changes:
  171. - remove client_supports_log_v3 flag, #3033
  172. - exclude broken Cython 0.27(.0) in requirements, #3066
  173. - vagrant:
  174. - upgrade to FUSE for macOS 3.7.1
  175. - use Python 3.5.4 to build the binaries
  176. - docs:
  177. - security: change-passphrase only changes the passphrase, #2990
  178. - fixed/improved borg create --compression examples, #3034
  179. - add note about metadata dedup and --no[ac]time, #2518
  180. - twitter account @borgbackup now, better visible, #2948
  181. - simplified rate limiting wrapper in FAQ
  182. Version 1.1.0rc3 (2017-09-10)
  183. -----------------------------
  184. New features:
  185. - delete: support naming multiple archives, #2958
  186. Fixes:
  187. - repo cleanup/write: invalidate cached FDs, #2982
  188. - fix datetime.isoformat() microseconds issues, #2994
  189. - recover_segment: use mmap(), lower memory needs, #2987
  190. Other changes:
  191. - with-lock: close segment file before invoking subprocess
  192. - keymanager: don't depend on optional readline module, #2976
  193. - docs:
  194. - fix macOS keychain integration command
  195. - show/link new screencasts in README, #2936
  196. - document utf-8 locale requirement for json mode, #2273
  197. - vagrant: clean up shell profile init, user name, #2977
  198. - test_detect_attic_repo: don't test mount, #2975
  199. - add debug logging for repository cleanup
  200. Version 1.1.0rc2 (2017-08-28)
  201. -----------------------------
  202. Compatibility notes:
  203. - list: corrected mix-up of "isomtime" and "mtime" formats. Previously,
  204. "isomtime" was the default but produced a verbose human format,
  205. while "mtime" produced a ISO-8601-like format.
  206. The behaviours have been swapped (so "mtime" is human, "isomtime" is ISO-like),
  207. and the default is now "mtime".
  208. "isomtime" is now a real ISO-8601 format ("T" between date and time, not a space).
  209. New features:
  210. - None.
  211. Fixes:
  212. - list: fix weird mixup of mtime/isomtime
  213. - create --timestamp: set start time, #2957
  214. - ignore corrupt files cache, #2939
  215. - migrate locks to child PID when daemonize is used
  216. - fix exitcode of borg serve, #2910
  217. - only compare contents when chunker params match, #2899
  218. - umount: try fusermount, then try umount, #2863
  219. Other changes:
  220. - JSON: use a more standard ISO 8601 datetime format, #2376
  221. - cache: write_archive_index: truncate_and_unlink on error, #2628
  222. - detect non-upgraded Attic repositories, #1933
  223. - delete various nogil and threading related lines
  224. - coala / pylint related improvements
  225. - docs:
  226. - renew asciinema/screencasts, #669
  227. - create: document exclusion through nodump, #2949
  228. - minor formatting fixes
  229. - tar: tarpipe example
  230. - improve "with-lock" and "info" docs, #2869
  231. - detail how to use macOS/GNOME/KDE keyrings for repo passwords, #392
  232. - travis: only short-circuit docs-only changes for pull requests
  233. - vagrant:
  234. - netbsd: bash is already installed
  235. - fix netbsd version in PKG_PATH
  236. - add exe location to PATH when we build an exe
  237. Version 1.1.0rc1 (2017-07-24)
  238. -----------------------------
  239. Compatibility notes:
  240. - delete: removed short option for --cache-only
  241. New features:
  242. - support borg list repo --format {comment} {bcomment} {end}, #2081
  243. - key import: allow reading from stdin, #2760
  244. Fixes:
  245. - with-lock: avoid creating segment files that might be overwritten later, #1867
  246. - prune: fix checkpoints processing with --glob-archives
  247. - FUSE: versions view: keep original file extension at end, #2769
  248. - fix --last, --first: do not accept values <= 0,
  249. fix reversed archive ordering with --last
  250. - include testsuite data (attic.tar.gz) when installing the package
  251. - use limited unpacker for outer key, for manifest (both security precautions),
  252. #2174 #2175
  253. - fix bashism in shell scripts, #2820, #2816
  254. - cleanup endianness detection, create _endian.h,
  255. fixes build on alpine linux, #2809
  256. - fix crash with --no-cache-sync (give known chunk size to chunk_incref), #2853
  257. Other changes:
  258. - FUSE: versions view: linear numbering by archive time
  259. - split up interval parsing from filtering for --keep-within, #2610
  260. - add a basic .editorconfig, #2734
  261. - use archive creation time as mtime for FUSE mount, #2834
  262. - upgrade FUSE for macOS (osxfuse) from 3.5.8 to 3.6.3, #2706
  263. - hashindex: speed up by replacing modulo with "if" to check for wraparound
  264. - coala checker / pylint: fixed requirements and .coafile, more ignores
  265. - borg upgrade: name backup directories as 'before-upgrade', #2811
  266. - add .mailmap
  267. - some minor changes suggested by lgtm.com
  268. - docs:
  269. - better explanation of the --ignore-inode option relevance, #2800
  270. - fix openSUSE command and add openSUSE section
  271. - simplify ssh authorized_keys file using "restrict", add legacy note, #2121
  272. - mount: show usage of archive filters
  273. - mount: add repository example, #2462
  274. - info: update and add examples, #2765
  275. - prune: include example
  276. - improved style / formatting
  277. - improved/fixed segments_per_dir docs
  278. - recreate: fix wrong "remove unwanted files" example
  279. - reference list of status chars in borg recreate --filter description
  280. - update source-install docs about doc build dependencies, #2795
  281. - cleanup installation docs
  282. - file system requirements, update segs per dir
  283. - fix checkpoints/parts reference in FAQ, #2859
  284. - code:
  285. - hashindex: don't pass side effect into macro
  286. - crypto low_level: don't mutate local bytes()
  287. - use dash_open function to open file or "-" for stdin/stdout
  288. - archiver: argparse cleanup / refactoring
  289. - shellpattern: add match_end arg
  290. - tests: added some additional unit tests, some fixes, #2700 #2710
  291. - vagrant: fix setup of cygwin, add Debian 9 "stretch"
  292. - travis: don't perform full travis build on docs-only changes, #2531
  293. Version 1.1.0b6 (2017-06-18)
  294. ----------------------------
  295. Compatibility notes:
  296. - Running "borg init" via a "borg serve --append-only" server will *not* create
  297. an append-only repository anymore. Use "borg init --append-only" to initialize
  298. an append-only repository.
  299. - Repositories in the "repokey" and "repokey-blake2" modes with an empty passphrase
  300. are now treated as unencrypted repositories for security checks (e.g.
  301. BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK).
  302. Previously there would be no prompts nor messages if an unknown repository
  303. in one of these modes with an empty passphrase was encountered. This would
  304. allow an attacker to swap a repository, if one assumed that the lack of
  305. password prompts was due to a set BORG_PASSPHRASE.
  306. Since the "trick" does not work if BORG_PASSPHRASE is set, this does generally
  307. not affect scripts.
  308. - Repositories in the "authenticated" mode are now treated as the unencrypted
  309. repositories they are.
  310. - The client-side temporary repository cache now holds unencrypted data for better speed.
  311. - borg init: removed the short form of --append-only (-a).
  312. - borg upgrade: removed the short form of --inplace (-i).
  313. New features:
  314. - reimplemented the RepositoryCache, size-limited caching of decrypted repo
  315. contents, integrity checked via xxh64. #2515
  316. - reduced space usage of chunks.archive.d. Existing caches are migrated during
  317. a cache sync. #235 #2638
  318. - integrity checking using xxh64 for important files used by borg, #1101:
  319. - repository: index and hints files
  320. - cache: chunks and files caches, chunks.archive.d
  321. - improve cache sync speed, #1729
  322. - create: new --no-cache-sync option
  323. - add repository mandatory feature flags infrastructure, #1806
  324. - Verify most operations against SecurityManager. Location, manifest timestamp
  325. and key types are now checked for almost all non-debug commands. #2487
  326. - implement storage quotas, #2517
  327. - serve: add --restrict-to-repository, #2589
  328. - BORG_PASSCOMMAND: use external tool providing the key passphrase, #2573
  329. - borg export-tar, #2519
  330. - list: --json-lines instead of --json for archive contents, #2439
  331. - add --debug-profile option (and also "borg debug convert-profile"), #2473
  332. - implement --glob-archives/-a, #2448
  333. - normalize authenticated key modes for better naming consistency:
  334. - rename "authenticated" to "authenticated-blake2" (uses blake2b)
  335. - implement "authenticated" mode (uses hmac-sha256)
  336. Fixes:
  337. - hashindex: read/write indices >2 GiB on 32bit systems, better error
  338. reporting, #2496
  339. - repository URLs: implement IPv6 address support and also more informative
  340. error message when parsing fails.
  341. - mount: check whether llfuse is installed before asking for passphrase, #2540
  342. - mount: do pre-mount checks before opening repository, #2541
  343. - FUSE:
  344. - fix crash if empty (None) xattr is read, #2534
  345. - fix read(2) caching data in metadata cache
  346. - fix negative uid/gid crash (fix crash when mounting archives
  347. of external drives made on cygwin), #2674
  348. - redo ItemCache, on top of object cache
  349. - use decrypted cache
  350. - remove unnecessary normpaths
  351. - serve: ignore --append-only when initializing a repository (borg init), #2501
  352. - serve: fix incorrect type of exception_short for Errors, #2513
  353. - fix --exclude and --exclude-from recursing into directories, #2469
  354. - init: don't allow creating nested repositories, #2563
  355. - --json: fix encryption[mode] not being the cmdline name
  356. - remote: propagate Error.traceback correctly
  357. - fix remote logging and progress, #2241
  358. - implement --debug-topic for remote servers
  359. - remote: restore "Remote:" prefix (as used in 1.0.x)
  360. - rpc negotiate: enable v3 log protocol only for supported clients
  361. - fix --progress and logging in general for remote
  362. - fix parse_version, add tests, #2556
  363. - repository: truncate segments (and also some other files) before unlinking, #2557
  364. - recreate: keep timestamps as in original archive, #2384
  365. - recreate: if single archive is not processed, exit 2
  366. - patterns: don't recurse with ! / --exclude for pf:, #2509
  367. - cache sync: fix n^2 behaviour in lookup_name
  368. - extract: don't write to disk with --stdout (affected non-regular-file items), #2645
  369. - hashindex: implement KeyError, more tests
  370. Other changes:
  371. - remote: show path in PathNotAllowed
  372. - consider repokey w/o passphrase == unencrypted, #2169
  373. - consider authenticated mode == unencrypted, #2503
  374. - restrict key file names, #2560
  375. - document follow_symlinks requirements, check libc, use stat and chown
  376. with follow_symlinks=False, #2507
  377. - support common options on the main command, #2508
  378. - support common options on mid-level commands (e.g. borg *key* export)
  379. - make --progress a common option
  380. - increase DEFAULT_SEGMENTS_PER_DIR to 1000
  381. - chunker: fix invalid use of types (function only used by tests)
  382. - chunker: don't do uint32_t >> 32
  383. - FUSE:
  384. - add instrumentation (--debug and SIGUSR1/SIGINFO)
  385. - reduced memory usage for repository mounts by lazily instantiating archives
  386. - improved archive load times
  387. - info: use CacheSynchronizer & HashIndex.stats_against (better performance)
  388. - docs:
  389. - init: document --encryption as required
  390. - security: OpenSSL usage
  391. - security: used implementations; note python libraries
  392. - security: security track record of OpenSSL and msgpack
  393. - patterns: document denial of service (regex, wildcards)
  394. - init: note possible denial of service with "none" mode
  395. - init: document SHA extension is supported in OpenSSL and thus SHA is
  396. faster on AMD Ryzen than blake2b.
  397. - book: use A4 format, new builder option format.
  398. - book: create appendices
  399. - data structures: explain repository compaction
  400. - data structures: add chunk layout diagram
  401. - data structures: integrity checking
  402. - data structures: demingle cache and repo index
  403. - Attic FAQ: separate section for attic stuff
  404. - FAQ: I get an IntegrityError or similar - what now?
  405. - FAQ: Can I use Borg on SMR hard drives?, #2252
  406. - FAQ: specify "using inline shell scripts"
  407. - add systemd warning regarding placeholders, #2543
  408. - xattr: document API
  409. - add docs/misc/borg-data-flow data flow chart
  410. - debugging facilities
  411. - README: how to help the project, #2550
  412. - README: add bountysource badge, #2558
  413. - fresh new theme + tweaking
  414. - logo: vectorized (PDF and SVG) versions
  415. - frontends: use headlines - you can link to them
  416. - mark --pattern, --patterns-from as experimental
  417. - highlight experimental features in online docs
  418. - remove regex based pattern examples, #2458
  419. - nanorst for "borg help TOPIC" and --help
  420. - split deployment
  421. - deployment: hosting repositories
  422. - deployment: automated backups to a local hard drive
  423. - development: vagrant, windows10 requirements
  424. - development: update docs remarks
  425. - split usage docs, #2627
  426. - usage: avoid bash highlight, [options] instead of <options>
  427. - usage: add benchmark page
  428. - helpers: truncate_and_unlink doc
  429. - don't suggest to leak BORG_PASSPHRASE
  430. - internals: columnize rather long ToC [webkit fixup]
  431. internals: manifest & feature flags
  432. - internals: more HashIndex details
  433. - internals: fix ASCII art equations
  434. - internals: edited obj graph related sections a bit
  435. - internals: layers image + description
  436. - fix way too small figures in pdf
  437. - index: disable syntax highlight (bash)
  438. - improve options formatting, fix accidental block quotes
  439. - testing / checking:
  440. - add support for using coala, #1366
  441. - testsuite: add ArchiverCorruptionTestCase
  442. - do not test logger name, #2504
  443. - call setup_logging after destroying logging config
  444. - testsuite.archiver: normalise pytest.raises vs. assert_raises
  445. - add test for preserved intermediate folder permissions, #2477
  446. - key: add round-trip test
  447. - remove attic dependency of the tests, #2505
  448. - enable remote tests on cygwin
  449. - tests: suppress tar's future timestamp warning
  450. - cache sync: add more refcount tests
  451. - repository: add tests, including corruption tests
  452. - vagrant:
  453. - control VM cpus and pytest workers via env vars VMCPUS and XDISTN
  454. - update cleaning workdir
  455. - fix openbsd shell
  456. - add OpenIndiana
  457. - packaging:
  458. - binaries: don't bundle libssl
  459. - setup.py clean to remove compiled files
  460. - fail in borg package if version metadata is very broken (setuptools_scm)
  461. - repo / code structure:
  462. - create borg.algorithms and borg.crypto packages
  463. - algorithms: rename crc32 to checksums
  464. - move patterns to module, #2469
  465. - gitignore: complete paths for src/ excludes
  466. - cache: extract CacheConfig class
  467. - implement IntegrityCheckedFile + Detached variant, #2502 #1688
  468. - introduce popen_with_error_handling to handle common user errors
  469. Version 1.1.0b5 (2017-04-30)
  470. ----------------------------
  471. Compatibility notes:
  472. - BORG_HOSTNAME_IS_UNIQUE is now on by default.
  473. - removed --compression-from feature
  474. - recreate: add --recompress flag, unify --always-recompress and
  475. --recompress
  476. Fixes:
  477. - catch exception for os.link when hardlinks are not supported, #2405
  478. - borg rename / recreate: expand placeholders, #2386
  479. - generic support for hardlinks (files, devices, FIFOs), #2324
  480. - extract: also create parent dir for device files, if needed, #2358
  481. - extract: if a hardlink master is not in the to-be-extracted subset,
  482. the "x" status was not displayed for it, #2351
  483. - embrace y2038 issue to support 32bit platforms: clamp timestamps to int32,
  484. #2347
  485. - verify_data: fix IntegrityError handling for defect chunks, #2442
  486. - allow excluding parent and including child, #2314
  487. Other changes:
  488. - refactor compression decision stuff
  489. - change global compression default to lz4 as well, to be consistent
  490. with --compression defaults.
  491. - placeholders: deny access to internals and other unspecified stuff
  492. - clearer error message for unrecognized placeholder
  493. - more clear exception if borg check does not help, #2427
  494. - vagrant: upgrade FUSE for macOS to 3.5.8, #2346
  495. - linux binary builds: get rid of glibc 2.13 dependency, #2430
  496. - docs:
  497. - placeholders: document escaping
  498. - serve: env vars in original commands are ignored
  499. - tell what kind of hardlinks we support
  500. - more docs about compression
  501. - LICENSE: use canonical formulation
  502. ("copyright holders and contributors" instead of "author")
  503. - document borg init behaviour via append-only borg serve, #2440
  504. - be clear about what buzhash is used for, #2390
  505. - add hint about chunker params, #2421
  506. - clarify borg upgrade docs, #2436
  507. - FAQ to explain warning when running borg check --repair, #2341
  508. - repository file system requirements, #2080
  509. - pre-install considerations
  510. - misc. formatting / crossref fixes
  511. - tests:
  512. - enhance travis setuptools_scm situation
  513. - add extra test for the hashindex
  514. - fix invalid param issue in benchmarks
  515. These belong to 1.1.0b4 release, but did not make it into changelog by then:
  516. - vagrant: increase memory for parallel testing
  517. - lz4 compress: lower max. buffer size, exception handling
  518. - add docstring to do_benchmark_crud
  519. - patterns help: mention path full-match in intro
  520. Version 1.1.0b4 (2017-03-27)
  521. ----------------------------
  522. Compatibility notes:
  523. - init: the --encryption argument is mandatory now (there are several choices)
  524. - moved "borg migrate-to-repokey" to "borg key migrate-to-repokey".
  525. - "borg change-passphrase" is deprecated, use "borg key change-passphrase"
  526. instead.
  527. - the --exclude-if-present option now supports tagging a folder with any
  528. filesystem object type (file, folder, etc), instead of expecting only files
  529. as tags, #1999
  530. - the --keep-tag-files option has been deprecated in favor of the new
  531. --keep-exclude-tags, to account for the change mentioned above.
  532. - use lz4 compression by default, #2179
  533. New features:
  534. - JSON API to make developing frontends and automation easier
  535. (see :ref:`json_output`)
  536. - add JSON output to commands: `borg create/list/info --json ...`.
  537. - add --log-json option for structured logging output.
  538. - add JSON progress information, JSON support for confirmations (yes()).
  539. - add two new options --pattern and --patterns-from as discussed in #1406
  540. - new path full match pattern style (pf:) for very fast matching, #2334
  541. - add 'debug dump-manifest' and 'debug dump-archive' commands
  542. - add 'borg benchmark crud' command, #1788
  543. - new 'borg delete --force --force' to delete severely corrupted archives, #1975
  544. - info: show utilization of maximum archive size, #1452
  545. - list: add dsize and dcsize keys, #2164
  546. - paperkey.html: Add interactive html template for printing key backups.
  547. - key export: add qr html export mode
  548. - securely erase config file (which might have old encryption key), #2257
  549. - archived file items: add size to metadata, 'borg extract' and 'borg check' do
  550. check the file size for consistency, FUSE uses precomputed size from Item.
  551. Fixes:
  552. - fix remote speed regression introduced in 1.1.0b3, #2185
  553. - fix regression handling timestamps beyond 2262 (revert bigint removal),
  554. introduced in 1.1.0b3, #2321
  555. - clamp (nano)second values to unproblematic range, #2304
  556. - hashindex: rebuild hashtable if we have too little empty buckets
  557. (performance fix), #2246
  558. - Location regex: fix bad parsing of wrong syntax
  559. - ignore posix_fadvise errors in repository.py, #2095
  560. - borg rpc: use limited msgpack.Unpacker (security precaution), #2139
  561. - Manifest: Make sure manifest timestamp is strictly monotonically increasing.
  562. - create: handle BackupOSError on a per-path level in one spot
  563. - create: clarify -x option / meaning of "same filesystem"
  564. - create: don't create hard link refs to failed files
  565. - archive check: detect and fix missing all-zero replacement chunks, #2180
  566. - files cache: update inode number when --ignore-inode is used, #2226
  567. - fix decompression exceptions crashing ``check --verify-data`` and others
  568. instead of reporting integrity error, #2224 #2221
  569. - extract: warning for unextracted big extended attributes, #2258, #2161
  570. - mount: umount on SIGINT/^C when in foreground
  571. - mount: handle invalid hard link refs
  572. - mount: fix huge RAM consumption when mounting a repository (saves number of
  573. archives * 8 MiB), #2308
  574. - hashindex: detect mingw byte order #2073
  575. - hashindex: fix wrong skip_hint on hashindex_set when encountering tombstones,
  576. the regression was introduced in #1748
  577. - fix ChunkIndex.__contains__ assertion for big-endian archs
  578. - fix borg key/debug/benchmark crashing without subcommand, #2240
  579. - Location: accept //servername/share/path
  580. - correct/refactor calculation of unique/non-unique chunks
  581. - extract: fix missing call to ProgressIndicator.finish
  582. - prune: fix error msg, it is --keep-within, not --within
  583. - fix "auto" compression mode bug (not compressing), #2331
  584. - fix symlink item fs size computation, #2344
  585. Other changes:
  586. - remote repository: improved async exception processing, #2255 #2225
  587. - with --compression auto,C, only use C if lz4 achieves at least 3% compression
  588. - PatternMatcher: only normalize path once, #2338
  589. - hashindex: separate endian-dependent defs from endian detection
  590. - migrate-to-repokey: ask using canonical_path() as we do everywhere else.
  591. - SyncFile: fix use of fd object after close
  592. - make LoggedIO.close_segment reentrant
  593. - creating a new segment: use "xb" mode, #2099
  594. - redo key_creator, key_factory, centralise key knowledge, #2272
  595. - add return code functions, #2199
  596. - list: only load cache if needed
  597. - list: files->items, clarifications
  598. - list: add "name" key for consistency with info cmd
  599. - ArchiveFormatter: add "start" key for compatibility with "info"
  600. - RemoteRepository: account rx/tx bytes
  601. - setup.py build_usage/build_man/build_api fixes
  602. - Manifest.in: simplify, exclude .so, .dll and .orig, #2066
  603. - FUSE: get rid of chunk accounting, st_blocks = ceil(size / blocksize).
  604. - tests:
  605. - help python development by testing 3.6-dev
  606. - test for borg delete --force
  607. - vagrant:
  608. - freebsd: some fixes, #2067
  609. - darwin64: use osxfuse 3.5.4 for tests / to build binaries
  610. - darwin64: improve VM settings
  611. - use python 3.5.3 to build binaries, #2078
  612. - upgrade pyinstaller from 3.1.1+ to 3.2.1
  613. - pyinstaller: use fixed AND freshly compiled bootloader, #2002
  614. - pyinstaller: automatically builds bootloader if missing
  615. - docs:
  616. - create really nice man pages
  617. - faq: mention --remote-ratelimit in bandwidth limit question
  618. - fix caskroom link, #2299
  619. - docs/security: reiterate that RPC in Borg does no networking
  620. - docs/security: counter tracking, #2266
  621. - docs/development: update merge remarks
  622. - address SSH batch mode in docs, #2202 #2270
  623. - add warning about running build_usage on Python >3.4, #2123
  624. - one link per distro in the installation page
  625. - improve --exclude-if-present and --keep-exclude-tags, #2268
  626. - improve automated backup script in doc, #2214
  627. - improve remote-path description
  628. - update docs for create -C default change (lz4)
  629. - document relative path usage, #1868
  630. - document snapshot usage, #2178
  631. - corrected some stuff in internals+security
  632. - internals: move toctree to after the introduction text
  633. - clarify metadata kind, manifest ops
  634. - key enc: correct / clarify some stuff, link to internals/security
  635. - datas: enc: 1.1.x mas different MACs
  636. - datas: enc: correct factual error -- no nonce involved there.
  637. - make internals.rst an index page and edit it a bit
  638. - add "Cryptography in Borg" and "Remote RPC protocol security" sections
  639. - document BORG_HOSTNAME_IS_UNIQUE, #2087
  640. - FAQ by categories as proposed by @anarcat in #1802
  641. - FAQ: update Which file types, attributes, etc. are *not* preserved?
  642. - development: new branching model for git repository
  643. - development: define "ours" merge strategy for auto-generated files
  644. - create: move --exclude note to main doc
  645. - create: move item flags to main doc
  646. - fix examples using borg init without -e/--encryption
  647. - list: don't print key listings in fat (html + man)
  648. - remove Python API docs (were very incomplete, build problems on RTFD)
  649. - added FAQ section about backing up root partition
  650. Version 1.0.10 (2017-02-13)
  651. ---------------------------
  652. Bug fixes:
  653. - Manifest timestamps are now monotonically increasing,
  654. this fixes issues when the system clock jumps backwards
  655. or is set inconsistently across computers accessing the same repository, #2115
  656. - Fixed testing regression in 1.0.10rc1 that lead to a hard dependency on
  657. py.test >= 3.0, #2112
  658. New features:
  659. - "key export" can now generate a printable HTML page with both a QR code and
  660. a human-readable "paperkey" representation (and custom text) through the
  661. ``--qr-html`` option.
  662. The same functionality is also available through `paperkey.html <paperkey.html>`_,
  663. which is the same HTML page generated by ``--qr-html``. It works with existing
  664. "key export" files and key files.
  665. Other changes:
  666. - docs:
  667. - language clarification - "borg create --one-file-system" option does not respect
  668. mount points, but considers different file systems instead, #2141
  669. - setup.py: build_api: sort file list for determinism
  670. Version 1.1.0b3 (2017-01-15)
  671. ----------------------------
  672. Compatibility notes:
  673. - borg init: removed the default of "--encryption/-e", #1979
  674. This was done so users do a informed decision about -e mode.
  675. Bug fixes:
  676. - borg recreate: don't rechunkify unless explicitly told so
  677. - borg info: fixed bug when called without arguments, #1914
  678. - borg init: fix free space check crashing if disk is full, #1821
  679. - borg debug delete/get obj: fix wrong reference to exception
  680. - fix processing of remote ~/ and ~user/ paths (regressed since 1.1.0b1), #1759
  681. - posix platform module: only build / import on non-win32 platforms, #2041
  682. New features:
  683. - new CRC32 implementations that are much faster than the zlib one used previously, #1970
  684. - add blake2b key modes (use blake2b as MAC). This links against system libb2,
  685. if possible, otherwise uses bundled code
  686. - automatically remove stale locks - set BORG_HOSTNAME_IS_UNIQUE env var
  687. to enable stale lock killing. If set, stale locks in both cache and
  688. repository are deleted. #562 #1253
  689. - borg info <repo>: print general repo information, #1680
  690. - borg check --first / --last / --sort / --prefix, #1663
  691. - borg mount --first / --last / --sort / --prefix, #1542
  692. - implement "health" item formatter key, #1749
  693. - BORG_SECURITY_DIR to remember security related infos outside the cache.
  694. Key type, location and manifest timestamp checks now survive cache
  695. deletion. This also means that you can now delete your cache and avoid
  696. previous warnings, since Borg can still tell it's safe.
  697. - implement BORG_NEW_PASSPHRASE, #1768
  698. Other changes:
  699. - borg recreate:
  700. - remove special-cased --dry-run
  701. - update --help
  702. - remove bloat: interruption blah, autocommit blah, resuming blah
  703. - re-use existing checkpoint functionality
  704. - archiver tests: add check_cache tool - lints refcounts
  705. - fixed cache sync performance regression from 1.1.0b1 onwards, #1940
  706. - syncing the cache without chunks.archive.d (see :ref:`disable_archive_chunks`)
  707. now avoids any merges and is thus faster, #1940
  708. - borg check --verify-data: faster due to linear on-disk-order scan
  709. - borg debug-xxx commands removed, we use "debug xxx" subcommands now, #1627
  710. - improve metadata handling speed
  711. - shortcut hashindex_set by having hashindex_lookup hint about address
  712. - improve / add progress displays, #1721
  713. - check for index vs. segment files object count mismatch
  714. - make RPC protocol more extensible: use named parameters.
  715. - RemoteRepository: misc. code cleanups / refactors
  716. - clarify cache/repository README file
  717. - docs:
  718. - quickstart: add a comment about other (remote) filesystems
  719. - quickstart: only give one possible ssh url syntax, all others are
  720. documented in usage chapter.
  721. - mention file://
  722. - document repo URLs / archive location
  723. - clarify borg diff help, #980
  724. - deployment: synthesize alternative --restrict-to-path example
  725. - improve cache / index docs, esp. files cache docs, #1825
  726. - document using "git merge 1.0-maint -s recursive -X rename-threshold=20%"
  727. for avoiding troubles when merging the 1.0-maint branch into master.
  728. - tests:
  729. - FUSE tests: catch ENOTSUP on freebsd
  730. - FUSE tests: test troublesome xattrs last
  731. - fix byte range error in test, #1740
  732. - use monkeypatch to set env vars, but only on pytest based tests.
  733. - point XDG_*_HOME to temp dirs for tests, #1714
  734. - remove all BORG_* env vars from the outer environment
  735. Version 1.0.10rc1 (2017-01-29)
  736. ------------------------------
  737. Bug fixes:
  738. - borg serve: fix transmission data loss of pipe writes, #1268
  739. This affects only the cygwin platform (not Linux, BSD, OS X).
  740. - Avoid triggering an ObjectiveFS bug in xattr retrieval, #1992
  741. - When running out of buffer memory when reading xattrs, only skip the
  742. current file, #1993
  743. - Fixed "borg upgrade --tam" crashing with unencrypted repositories. Since
  744. :ref:`the issue <tam_vuln>` is not relevant for unencrypted repositories,
  745. it now does nothing and prints an error, #1981.
  746. - Fixed change-passphrase crashing with unencrypted repositories, #1978
  747. - Fixed "borg check repo::archive" indicating success if "archive" does not exist, #1997
  748. - borg check: print non-exit-code warning if --last or --prefix aren't fulfilled
  749. - fix bad parsing of wrong repo location syntax
  750. - create: don't create hard link refs to failed files,
  751. mount: handle invalid hard link refs, #2092
  752. - detect mingw byte order, #2073
  753. - creating a new segment: use "xb" mode, #2099
  754. - mount: umount on SIGINT/^C when in foreground, #2082
  755. Other changes:
  756. - binary: use fixed AND freshly compiled pyinstaller bootloader, #2002
  757. - xattr: ignore empty names returned by llistxattr(2) et al
  758. - Enable the fault handler: install handlers for the SIGSEGV, SIGFPE, SIGABRT,
  759. SIGBUS and SIGILL signals to dump the Python traceback.
  760. - Also print a traceback on SIGUSR2.
  761. - borg change-passphrase: print key location (simplify making a backup of it)
  762. - officially support Python 3.6 (setup.py: add Python 3.6 qualifier)
  763. - tests:
  764. - vagrant / travis / tox: add Python 3.6 based testing
  765. - vagrant: fix openbsd repo, #2042
  766. - vagrant: fix the freebsd64 machine, #2037 #2067
  767. - vagrant: use python 3.5.3 to build binaries, #2078
  768. - vagrant: use osxfuse 3.5.4 for tests / to build binaries
  769. vagrant: improve darwin64 VM settings
  770. - travis: fix osxfuse install (fixes OS X testing on Travis CI)
  771. - travis: require succeeding OS X tests, #2028
  772. - travis: use latest pythons for OS X based testing
  773. - use pytest-xdist to parallelize testing
  774. - fix xattr test race condition, #2047
  775. - setup.cfg: fix pytest deprecation warning, #2050
  776. - docs:
  777. - language clarification - VM backup FAQ
  778. - borg create: document how to backup stdin, #2013
  779. - borg upgrade: fix incorrect title levels
  780. - add CVE numbers for issues fixed in 1.0.9, #2106
  781. - fix typos (taken from Debian package patch)
  782. - remote: include data hexdump in "unexpected RPC data" error message
  783. - remote: log SSH command line at debug level
  784. - API_VERSION: use numberspaces, #2023
  785. - remove .github from pypi package, #2051
  786. - add pip and setuptools to requirements file, #2030
  787. - SyncFile: fix use of fd object after close (cosmetic)
  788. - Manifest.in: simplify, exclude \*.{so,dll,orig}, #2066
  789. - ignore posix_fadvise errors in repository.py, #2095
  790. (works around issues with docker on ARM)
  791. - make LoggedIO.close_segment reentrant, avoid reentrance
  792. Version 1.0.9 (2016-12-20)
  793. --------------------------
  794. Security fixes:
  795. - A flaw in the cryptographic authentication scheme in Borg allowed an attacker
  796. to spoof the manifest. See :ref:`tam_vuln` above for the steps you should
  797. take.
  798. CVE-2016-10099 was assigned to this vulnerability.
  799. - borg check: When rebuilding the manifest (which should only be needed very rarely)
  800. duplicate archive names would be handled on a "first come first serve" basis, allowing
  801. an attacker to apparently replace archives.
  802. CVE-2016-10100 was assigned to this vulnerability.
  803. Bug fixes:
  804. - borg check:
  805. - rebuild manifest if it's corrupted
  806. - skip corrupted chunks during manifest rebuild
  807. - fix TypeError in integrity error handler, #1903, #1894
  808. - fix location parser for archives with @ char (regression introduced in 1.0.8), #1930
  809. - fix wrong duration/timestamps if system clock jumped during a create
  810. - fix progress display not updating if system clock jumps backwards
  811. - fix checkpoint interval being incorrect if system clock jumps
  812. Other changes:
  813. - docs:
  814. - add python3-devel as a dependency for cygwin-based installation
  815. - clarify extract is relative to current directory
  816. - FAQ: fix link to changelog
  817. - markup fixes
  818. - tests:
  819. - test_get\_(cache|keys)_dir: clean env state, #1897
  820. - get back pytest's pretty assertion failures, #1938
  821. - setup.py build_usage:
  822. - fixed build_usage not processing all commands
  823. - fixed build_usage not generating includes for debug commands
  824. Version 1.0.9rc1 (2016-11-27)
  825. -----------------------------
  826. Bug fixes:
  827. - files cache: fix determination of newest mtime in backup set (which is
  828. used in cache cleanup and led to wrong "A" [added] status for unchanged
  829. files in next backup), #1860.
  830. - borg check:
  831. - fix incorrectly reporting attic 0.13 and earlier archives as corrupt
  832. - handle repo w/o objects gracefully and also bail out early if repo is
  833. *completely* empty, #1815.
  834. - fix tox/pybuild in 1.0-maint
  835. - at xattr module import time, loggers are not initialized yet
  836. New features:
  837. - borg umount <mountpoint>
  838. exposed already existing umount code via the CLI api, so users can use it,
  839. which is more consistent than using borg to mount and fusermount -u (or
  840. umount) to un-mount, #1855.
  841. - implement borg create --noatime --noctime, fixes #1853
  842. Other changes:
  843. - docs:
  844. - display README correctly on PyPI
  845. - improve cache / index docs, esp. files cache docs, fixes #1825
  846. - different pattern matching for --exclude, #1779
  847. - datetime formatting examples for {now} placeholder, #1822
  848. - clarify passphrase mode attic repo upgrade, #1854
  849. - clarify --umask usage, #1859
  850. - clarify how to choose PR target branch
  851. - clarify prune behavior for different archive contents, #1824
  852. - fix PDF issues, add logo, fix authors, headings, TOC
  853. - move security verification to support section
  854. - fix links in standalone README (:ref: tags)
  855. - add link to security contact in README
  856. - add FAQ about security
  857. - move fork differences to FAQ
  858. - add more details about resource usage
  859. - tests: skip remote tests on cygwin, #1268
  860. - travis:
  861. - allow OS X failures until the brew cask osxfuse issue is fixed
  862. - caskroom osxfuse-beta gone, it's osxfuse now (3.5.3)
  863. - vagrant:
  864. - upgrade OSXfuse / FUSE for macOS to 3.5.3
  865. - remove llfuse from tox.ini at a central place
  866. - do not try to install llfuse on centos6
  867. - fix FUSE test for darwin, #1546
  868. - add windows virtual machine with cygwin
  869. - Vagrantfile cleanup / code deduplication
  870. Version 1.1.0b2 (2016-10-01)
  871. ----------------------------
  872. Bug fixes:
  873. - fix incorrect preservation of delete tags, leading to "object count mismatch"
  874. on borg check, #1598. This only occurred with 1.1.0b1 (not with 1.0.x) and is
  875. normally fixed by running another borg create/delete/prune.
  876. - fix broken --progress for double-cell paths (e.g. CJK), #1624
  877. - borg recreate: also catch SIGHUP
  878. - FUSE:
  879. - fix hardlinks in versions view, #1599
  880. - add parameter check to ItemCache.get to make potential failures more clear
  881. New features:
  882. - Archiver, RemoteRepository: add --remote-ratelimit (send data)
  883. - borg help compression, #1582
  884. - borg check: delete chunks with integrity errors, #1575, so they can be
  885. "repaired" immediately and maybe healed later.
  886. - archives filters concept (refactoring/unifying older code)
  887. - covers --first/--last/--prefix/--sort-by options
  888. - currently used for borg list/info/delete
  889. Other changes:
  890. - borg check --verify-data slightly tuned (use get_many())
  891. - change {utcnow} and {now} to ISO-8601 format ("T" date/time separator)
  892. - repo check: log transaction IDs, improve object count mismatch diagnostic
  893. - Vagrantfile: use TW's fresh-bootloader pyinstaller branch
  894. - fix module names in api.rst
  895. - hashindex: bump api_version
  896. Version 1.1.0b1 (2016-08-28)
  897. ----------------------------
  898. New features:
  899. - new commands:
  900. - borg recreate: re-create existing archives, #787 #686 #630 #70, also see
  901. #757, #770.
  902. - selectively remove files/dirs from old archives
  903. - re-compress data
  904. - re-chunkify data, e.g. to have upgraded Attic / Borg 0.xx archives
  905. deduplicate with Borg 1.x archives or to experiment with chunker-params.
  906. - borg diff: show differences between archives
  907. - borg with-lock: execute a command with the repository locked, #990
  908. - borg create:
  909. - Flexible compression with pattern matching on path/filename,
  910. and LZ4 heuristic for deciding compressibility, #810, #1007
  911. - visit files in inode order (better speed, esp. for large directories and rotating disks)
  912. - in-file checkpoints, #1217
  913. - increased default checkpoint interval to 30 minutes (was 5 minutes), #896
  914. - added uuid archive format tag, #1151
  915. - save mountpoint directories with --one-file-system, makes system restore easier, #1033
  916. - Linux: added support for some BSD flags, #1050
  917. - add 'x' status for excluded paths, #814
  918. - also means files excluded via UF_NODUMP, #1080
  919. - borg check:
  920. - will not produce the "Checking segments" output unless new --progress option is passed, #824.
  921. - --verify-data to verify data cryptographically on the client, #975
  922. - borg list, #751, #1179
  923. - removed {formatkeys}, see "borg list --help"
  924. - --list-format is deprecated, use --format instead
  925. - --format now also applies to listing archives, not only archive contents, #1179
  926. - now supports the usual [PATH [PATHS…]] syntax and excludes
  927. - new keys: csize, num_chunks, unique_chunks, NUL
  928. - supports guaranteed_available hashlib hashes
  929. (to avoid varying functionality depending on environment),
  930. which includes the SHA1 and SHA2 family as well as MD5
  931. - borg prune:
  932. - to better visualize the "thinning out", we now list all archives in
  933. reverse time order. rephrase and reorder help text.
  934. - implement --keep-last N via --keep-secondly N, also --keep-minutely.
  935. assuming that there is not more than 1 backup archive made in 1s,
  936. --keep-last N and --keep-secondly N are equivalent, #537
  937. - cleanup checkpoints except the latest, #1008
  938. - borg extract:
  939. - added --progress, #1449
  940. - Linux: limited support for BSD flags, #1050
  941. - borg info:
  942. - output is now more similar to borg create --stats, #977
  943. - borg mount:
  944. - provide "borgfs" wrapper for borg mount, enables usage via fstab, #743
  945. - "versions" mount option - when used with a repository mount, this gives
  946. a merged, versioned view of the files in all archives, #729
  947. - repository:
  948. - added progress information to commit/compaction phase (often takes some time when deleting/pruning), #1519
  949. - automatic recovery for some forms of repository inconsistency, #858
  950. - check free space before going forward with a commit, #1336
  951. - improved write performance (esp. for rotating media), #985
  952. - new IO code for Linux
  953. - raised default segment size to approx 512 MiB
  954. - improved compaction performance, #1041
  955. - reduced client CPU load and improved performance for remote repositories, #940
  956. - options that imply output (--show-rc, --show-version, --list, --stats,
  957. --progress) don't need -v/--info to have that output displayed, #865
  958. - add archive comments (via borg (re)create --comment), #842
  959. - borg list/prune/delete: also output archive id, #731
  960. - --show-version: shows/logs the borg version, #725
  961. - added --debug-topic for granular debug logging, #1447
  962. - use atomic file writing/updating for configuration and key files, #1377
  963. - BORG_KEY_FILE environment variable, #1001
  964. - self-testing module, #970
  965. Bug fixes:
  966. - list: fixed default output being produced if --format is given with empty parameter, #1489
  967. - create: fixed overflowing progress line with CJK and similar characters, #1051
  968. - prune: fixed crash if --prefix resulted in no matches, #1029
  969. - init: clean up partial repo if passphrase input is aborted, #850
  970. - info: quote cmdline arguments that have spaces in them
  971. - fix hardlinks failing in some cases for extracting subtrees, #761
  972. Other changes:
  973. - replace stdlib hmac with OpenSSL, zero-copy decrypt (10-15% increase in
  974. performance of hash-lists and extract).
  975. - improved chunker performance, #1021
  976. - open repository segment files in exclusive mode (fail-safe), #1134
  977. - improved error logging, #1440
  978. - Source:
  979. - pass meta-data around, #765
  980. - move some constants to new constants module
  981. - better readability and less errors with namedtuples, #823
  982. - moved source tree into src/ subdirectory, #1016
  983. - made borg.platform a package, #1113
  984. - removed dead crypto code, #1032
  985. - improved and ported parts of the test suite to py.test, #912
  986. - created data classes instead of passing dictionaries around, #981, #1158, #1161
  987. - cleaned up imports, #1112
  988. - Docs:
  989. - better help texts and sphinx reproduction of usage help:
  990. - Group options
  991. - Nicer list of options in Sphinx
  992. - Deduplicate 'Common options' (including --help)
  993. - chunker: added some insights by "Voltara", #903
  994. - clarify what "deduplicated size" means
  995. - fix / update / add package list entries
  996. - added a SaltStack usage example, #956
  997. - expanded FAQ
  998. - new contributors in AUTHORS!
  999. - Tests:
  1000. - vagrant: add ubuntu/xenial 64bit - this box has still some issues
  1001. - ChunkBuffer: add test for leaving partial chunk in buffer, fixes #945
  1002. Version 1.0.8 (2016-10-29)
  1003. --------------------------
  1004. Bug fixes:
  1005. - RemoteRepository: Fix busy wait in call_many, #940
  1006. New features:
  1007. - implement borgmajor/borgminor/borgpatch placeholders, #1694
  1008. {borgversion} was already there (full version string). With the new
  1009. placeholders you can now also get e.g. 1 or 1.0 or 1.0.8.
  1010. Other changes:
  1011. - avoid previous_location mismatch, #1741
  1012. due to the changed canonicalization for relative paths in PR #1711 / #1655
  1013. (implement /./ relpath hack), there would be a changed repo location warning
  1014. and the user would be asked if this is ok. this would break automation and
  1015. require manual intervention, which is unwanted.
  1016. thus, we automatically fix the previous_location config entry, if it only
  1017. changed in the expected way, but still means the same location.
  1018. - docs:
  1019. - deployment.rst: do not use bare variables in ansible snippet
  1020. - add clarification about append-only mode, #1689
  1021. - setup.py: add comment about requiring llfuse, #1726
  1022. - update usage.rst / api.rst
  1023. - repo url / archive location docs + typo fix
  1024. - quickstart: add a comment about other (remote) filesystems
  1025. - vagrant / tests:
  1026. - no chown when rsyncing (fixes boxes w/o vagrant group)
  1027. - fix FUSE permission issues on linux/freebsd, #1544
  1028. - skip FUSE test for borg binary + fakeroot
  1029. - ignore security.selinux xattrs, fixes tests on centos, #1735
  1030. Version 1.0.8rc1 (2016-10-17)
  1031. -----------------------------
  1032. Bug fixes:
  1033. - fix signal handling (SIGINT, SIGTERM, SIGHUP), #1620 #1593
  1034. Fixes e.g. leftover lock files for quickly repeated signals (e.g. Ctrl-C
  1035. Ctrl-C) or lost connections or systemd sending SIGHUP.
  1036. - progress display: adapt formatting to narrow screens, do not crash, #1628
  1037. - borg create --read-special - fix crash on broken symlink, #1584.
  1038. also correctly processes broken symlinks. before this regressed to a crash
  1039. (5b45385) a broken symlink would've been skipped.
  1040. - process_symlink: fix missing backup_io()
  1041. Fixes a chmod/chown/chgrp/unlink/rename/... crash race between getting
  1042. dirents and dispatching to process_symlink.
  1043. - yes(): abort on wrong answers, saying so, #1622
  1044. - fixed exception borg serve raised when connection was closed before reposiory
  1045. was openend. add an error message for this.
  1046. - fix read-from-closed-FD issue, #1551
  1047. (this seems not to get triggered in 1.0.x, but was discovered in master)
  1048. - hashindex: fix iterators (always raise StopIteration when exhausted)
  1049. (this seems not to get triggered in 1.0.x, but was discovered in master)
  1050. - enable relative paths in ssh:// repo URLs, via /./relpath hack, #1655
  1051. - allow repo paths with colons, #1705
  1052. - update changed repo location immediately after acceptance, #1524
  1053. - fix debug get-obj / delete-obj crash if object not found and remote repo,
  1054. #1684
  1055. - pyinstaller: use a spec file to build borg.exe binary, exclude osxfuse dylib
  1056. on Mac OS X (avoids mismatch lib <-> driver), #1619
  1057. New features:
  1058. - add "borg key export" / "borg key import" commands, #1555, so users are able
  1059. to backup / restore their encryption keys more easily.
  1060. Supported formats are the keyfile format used by borg internally and a
  1061. special "paper" format with by line checksums for printed backups. For the
  1062. paper format, the import is an interactive process which checks each line as
  1063. soon as it is input.
  1064. - add "borg debug-refcount-obj" to determine a repo objects' referrer counts,
  1065. #1352
  1066. Other changes:
  1067. - add "borg debug ..." subcommands
  1068. (borg debug-* still works, but will be removed in borg 1.1)
  1069. - setup.py: Add subcommand support to build_usage.
  1070. - remote: change exception message for unexpected RPC data format to indicate
  1071. dataflow direction.
  1072. - improved messages / error reporting:
  1073. - IntegrityError: add placeholder for message, so that the message we give
  1074. appears not only in the traceback, but also in the (short) error message,
  1075. #1572
  1076. - borg.key: include chunk id in exception msgs, #1571
  1077. - better messages for cache newer than repo, #1700
  1078. - vagrant (testing/build VMs):
  1079. - upgrade OSXfuse / FUSE for macOS to 3.5.2
  1080. - update Debian Wheezy boxes, #1686
  1081. - openbsd / netbsd: use own boxes, fixes misc rsync installation and
  1082. FUSE/llfuse related testing issues, #1695 #1696 #1670 #1671 #1728
  1083. - docs:
  1084. - add docs for "key export" and "key import" commands, #1641
  1085. - fix inconsistency in FAQ (pv-wrapper).
  1086. - fix second block in "Easy to use" section not showing on GitHub, #1576
  1087. - add bestpractices badge
  1088. - link reference docs and faq about BORG_FILES_CACHE_TTL, #1561
  1089. - improve borg info --help, explain size infos, #1532
  1090. - add release signing key / security contact to README, #1560
  1091. - add contribution guidelines for developers
  1092. - development.rst: add sphinx_rtd_theme to the sphinx install command
  1093. - adjust border color in borg.css
  1094. - add debug-info usage help file
  1095. - internals.rst: fix typos
  1096. - setup.py: fix build_usage to always process all commands
  1097. - added docs explaining multiple --restrict-to-path flags, #1602
  1098. - add more specific warning about write-access debug commands, #1587
  1099. - clarify FAQ regarding backup of virtual machines, #1672
  1100. - tests:
  1101. - work around FUSE xattr test issue with recent fakeroot
  1102. - simplify repo/hashindex tests
  1103. - travis: test FUSE-enabled borg, use trusty to have a recent FUSE
  1104. - re-enable FUSE tests for RemoteArchiver (no deadlocks any more)
  1105. - clean env for pytest based tests, #1714
  1106. - fuse_mount contextmanager: accept any options
  1107. Version 1.0.7 (2016-08-19)
  1108. --------------------------
  1109. Security fixes:
  1110. - borg serve: fix security issue with remote repository access, #1428
  1111. If you used e.g. --restrict-to-path /path/client1/ (with or without trailing
  1112. slash does not make a difference), it acted like a path prefix match using
  1113. /path/client1 (note the missing trailing slash) - the code then also allowed
  1114. working in e.g. /path/client13 or /path/client1000.
  1115. As this could accidentally lead to major security/privacy issues depending on
  1116. the paths you use, the behaviour was changed to be a strict directory match.
  1117. That means --restrict-to-path /path/client1 (with or without trailing slash
  1118. does not make a difference) now uses /path/client1/ internally (note the
  1119. trailing slash here!) for matching and allows precisely that path AND any
  1120. path below it. So, /path/client1 is allowed, /path/client1/repo1 is allowed,
  1121. but not /path/client13 or /path/client1000.
  1122. If you willingly used the undocumented (dangerous) previous behaviour, you
  1123. may need to rearrange your --restrict-to-path paths now. We are sorry if
  1124. that causes work for you, but we did not want a potentially dangerous
  1125. behaviour in the software (not even using a for-backwards-compat option).
  1126. Bug fixes:
  1127. - fixed repeated LockTimeout exceptions when borg serve tried to write into
  1128. a already write-locked repo (e.g. by a borg mount), #502 part b)
  1129. This was solved by the fix for #1220 in 1.0.7rc1 already.
  1130. - fix cosmetics + file leftover for "not a valid borg repository", #1490
  1131. - Cache: release lock if cache is invalid, #1501
  1132. - borg extract --strip-components: fix leak of preloaded chunk contents
  1133. - Repository, when a InvalidRepository exception happens:
  1134. - fix spurious, empty lock.roster
  1135. - fix repo not closed cleanly
  1136. New features:
  1137. - implement borg debug-info, fixes #1122
  1138. (just calls already existing code via cli, same output as below tracebacks)
  1139. Other changes:
  1140. - skip the O_NOATIME test on GNU Hurd, fixes #1315
  1141. (this is a very minor issue and the GNU Hurd project knows the bug)
  1142. - document using a clean repo to test / build the release
  1143. Version 1.0.7rc2 (2016-08-13)
  1144. -----------------------------
  1145. Bug fixes:
  1146. - do not write objects to repository that are bigger than the allowed size,
  1147. borg will reject reading them, #1451.
  1148. Important: if you created archives with many millions of files or
  1149. directories, please verify if you can open them successfully,
  1150. e.g. try a "borg list REPO::ARCHIVE".
  1151. - lz4 compression: dynamically enlarge the (de)compression buffer, the static
  1152. buffer was not big enough for archives with extremely many items, #1453
  1153. - larger item metadata stream chunks, raise archive item limit by 8x, #1452
  1154. - fix untracked segments made by moved DELETEs, #1442
  1155. Impact: Previously (metadata) segments could become untracked when deleting data,
  1156. these would never be cleaned up.
  1157. - extended attributes (xattrs) related fixes:
  1158. - fixed a race condition in xattrs querying that led to the entire file not
  1159. being backed up (while logging the error, exit code = 1), #1469
  1160. - fixed a race condition in xattrs querying that led to a crash, #1462
  1161. - raise OSError including the error message derived from errno, deal with
  1162. path being a integer FD
  1163. Other changes:
  1164. - print active env var override by default, #1467
  1165. - xattr module: refactor code, deduplicate, clean up
  1166. - repository: split object size check into too small and too big
  1167. - add a transaction_id assertion, so borg init on a broken (inconsistent)
  1168. filesystem does not look like a coding error in borg, but points to the
  1169. real problem.
  1170. - explain confusing TypeError caused by compat support for old servers, #1456
  1171. - add forgotten usage help file from build_usage
  1172. - refactor/unify buffer code into helpers.Buffer class, add tests
  1173. - docs:
  1174. - document archive limitation, #1452
  1175. - improve prune examples
  1176. Version 1.0.7rc1 (2016-08-05)
  1177. -----------------------------
  1178. Bug fixes:
  1179. - fix repo lock deadlocks (related to lock upgrade), #1220
  1180. - catch unpacker exceptions, resync, #1351
  1181. - fix borg break-lock ignoring BORG_REPO env var, #1324
  1182. - files cache performance fixes (fixes unnecessary re-reading/chunking/
  1183. hashing of unmodified files for some use cases):
  1184. - fix unintended file cache eviction, #1430
  1185. - implement BORG_FILES_CACHE_TTL, update FAQ, raise default TTL from 10
  1186. to 20, #1338
  1187. - FUSE:
  1188. - cache partially read data chunks (performance), #965, #966
  1189. - always create a root dir, #1125
  1190. - use an OrderedDict for helptext, making the build reproducible, #1346
  1191. - RemoteRepository init: always call close on exceptions, #1370 (cosmetic)
  1192. - ignore stdout/stderr broken pipe errors (cosmetic), #1116
  1193. New features:
  1194. - better borg versions management support (useful esp. for borg servers
  1195. wanting to offer multiple borg versions and for clients wanting to choose
  1196. a specific server borg version), #1392:
  1197. - add BORG_VERSION environment variable before executing "borg serve" via ssh
  1198. - add new placeholder {borgversion}
  1199. - substitute placeholders in --remote-path
  1200. - borg init --append-only option (makes using the more secure append-only mode
  1201. more convenient. when used remotely, this requires 1.0.7+ also on the borg
  1202. server), #1291.
  1203. Other changes:
  1204. - Vagrantfile:
  1205. - darwin64: upgrade to FUSE for macOS 3.4.1 (aka osxfuse), #1378
  1206. - xenial64: use user "ubuntu", not "vagrant" (as usual), #1331
  1207. - tests:
  1208. - fix FUSE tests on OS X, #1433
  1209. - docs:
  1210. - FAQ: add backup using stable filesystem names recommendation
  1211. - FAQ about glibc compatibility added, #491, glibc-check improved
  1212. - FAQ: 'A' unchanged file; remove ambiguous entry age sentence.
  1213. - OS X: install pkg-config to build with FUSE support, fixes #1400
  1214. - add notes about shell/sudo pitfalls with env. vars, #1380
  1215. - added platform feature matrix
  1216. - implement borg debug-dump-repo-objs
  1217. Version 1.0.6 (2016-07-12)
  1218. --------------------------
  1219. Bug fixes:
  1220. - Linux: handle multiple LD_PRELOAD entries correctly, #1314, #1111
  1221. - Fix crash with unclear message if the libc is not found, #1314, #1111
  1222. Other changes:
  1223. - tests:
  1224. - Fixed O_NOATIME tests for Solaris and GNU Hurd, #1315
  1225. - Fixed sparse file tests for (file) systems not supporting it, #1310
  1226. - docs:
  1227. - Fixed syntax highlighting, #1313
  1228. - misc docs: added data processing overview picture
  1229. Version 1.0.6rc1 (2016-07-10)
  1230. -----------------------------
  1231. New features:
  1232. - borg check --repair: heal damaged files if missing chunks re-appear (e.g. if
  1233. the previously missing chunk was added again in a later backup archive),
  1234. #148. (*) Also improved logging.
  1235. Bug fixes:
  1236. - sync_dir: silence fsync() failing with EINVAL, #1287
  1237. Some network filesystems (like smbfs) don't support this and we use this in
  1238. repository code.
  1239. - borg mount (FUSE):
  1240. - fix directories being shadowed when contained paths were also specified,
  1241. #1295
  1242. - raise I/O Error (EIO) on damaged files (unless -o allow_damaged_files is
  1243. used), #1302. (*)
  1244. - borg extract: warn if a damaged file is extracted, #1299. (*)
  1245. - Added some missing return code checks (ChunkIndex._add, hashindex_resize).
  1246. - borg check: fix/optimize initial hash table size, avoids resize of the table.
  1247. Other changes:
  1248. - tests:
  1249. - add more FUSE tests, #1284
  1250. - deduplicate FUSE (u)mount code
  1251. - fix borg binary test issues, #862
  1252. - docs:
  1253. - changelog: added release dates to older borg releases
  1254. - fix some sphinx (docs generator) warnings, #881
  1255. Notes:
  1256. (*) Some features depend on information (chunks_healthy list) added to item
  1257. metadata when a file with missing chunks was "repaired" using all-zero
  1258. replacement chunks. The chunks_healthy list is generated since borg 1.0.4,
  1259. thus borg can't recognize such "repaired" (but content-damaged) files if the
  1260. repair was done with an older borg version.
  1261. Version 1.0.5 (2016-07-07)
  1262. --------------------------
  1263. Bug fixes:
  1264. - borg mount: fix FUSE crash in xattr code on Linux introduced in 1.0.4, #1282
  1265. Other changes:
  1266. - backport some FAQ entries from master branch
  1267. - add release helper scripts
  1268. - Vagrantfile:
  1269. - centos6: no FUSE, don't build binary
  1270. - add xz for redhat-like dists
  1271. Version 1.0.4 (2016-07-07)
  1272. --------------------------
  1273. New features:
  1274. - borg serve --append-only, #1168
  1275. This was included because it was a simple change (append-only functionality
  1276. was already present via repository config file) and makes better security now
  1277. practically usable.
  1278. - BORG_REMOTE_PATH environment variable, #1258
  1279. This was included because it was a simple change (--remote-path cli option
  1280. was already present) and makes borg much easier to use if you need it.
  1281. - Repository: cleanup incomplete transaction on "no space left" condition.
  1282. In many cases, this can avoid a 100% full repo filesystem (which is very
  1283. problematic as borg always needs free space - even to delete archives).
  1284. Bug fixes:
  1285. - Fix wrong handling and reporting of OSErrors in borg create, #1138.
  1286. This was a serious issue: in the context of "borg create", errors like
  1287. repository I/O errors (e.g. disk I/O errors, ssh repo connection errors)
  1288. were handled badly and did not lead to a crash (which would be good for this
  1289. case, because the repo transaction would be incomplete and trigger a
  1290. transaction rollback to clean up).
  1291. Now, error handling for source files is cleanly separated from every other
  1292. error handling, so only problematic input files are logged and skipped.
  1293. - Implement fail-safe error handling for borg extract.
  1294. Note that this isn't nearly as critical as the borg create error handling
  1295. bug, since nothing is written to the repo. So this was "merely" misleading
  1296. error reporting.
  1297. - Add missing error handler in directory attr restore loop.
  1298. - repo: make sure write data hits disk before the commit tag (#1236) and also
  1299. sync the containing directory.
  1300. - FUSE: getxattr fail must use errno.ENOATTR, #1126
  1301. (fixes Mac OS X Finder malfunction: "zero bytes" file length, access denied)
  1302. - borg check --repair: do not lose information about the good/original chunks.
  1303. If we do not lose the original chunk IDs list when "repairing" a file
  1304. (replacing missing chunks with all-zero chunks), we have a chance to "heal"
  1305. the file back into its original state later, in case the chunks re-appear
  1306. (e.g. in a fresh backup). Healing is not implemented yet, see #148.
  1307. - fixes for --read-special mode:
  1308. - ignore known files cache, #1241
  1309. - fake regular file mode, #1214
  1310. - improve symlinks handling, #1215
  1311. - remove passphrase from subprocess environment, #1105
  1312. - Ignore empty index file (will trigger index rebuild), #1195
  1313. - add missing placeholder support for --prefix, #1027
  1314. - improve exception handling for placeholder replacement
  1315. - catch and format exceptions in arg parsing
  1316. - helpers: fix "undefined name 'e'" in exception handler
  1317. - better error handling for missing repo manifest, #1043
  1318. - borg delete:
  1319. - make it possible to delete a repo without manifest
  1320. - borg delete --forced allows to delete corrupted archives, #1139
  1321. - borg check:
  1322. - make borg check work for empty repo
  1323. - fix resync and msgpacked item qualifier, #1135
  1324. - rebuild_manifest: fix crash if 'name' or 'time' key were missing.
  1325. - better validation of item metadata dicts, #1130
  1326. - better validation of archive metadata dicts
  1327. - close the repo on exit - even if rollback did not work, #1197.
  1328. This is rather cosmetic, it avoids repo closing in the destructor.
  1329. - tests:
  1330. - fix sparse file test, #1170
  1331. - flake8: ignore new F405, #1185
  1332. - catch "invalid argument" on cygwin, #257
  1333. - fix sparseness assertion in test prep, #1264
  1334. Other changes:
  1335. - make borg build/work on OpenSSL 1.0 and 1.1, #1187
  1336. - docs / help:
  1337. - fix / clarify prune help, #1143
  1338. - fix "patterns" help formatting
  1339. - add missing docs / help about placeholders
  1340. - resources: rename atticmatic to borgmatic
  1341. - document sshd settings, #545
  1342. - more details about checkpoints, add split trick, #1171
  1343. - support docs: add freenode web chat link, #1175
  1344. - add prune visualization / example, #723
  1345. - add note that Fnmatch is default, #1247
  1346. - make clear that lzma levels > 6 are a waste of cpu cycles
  1347. - add a "do not edit" note to auto-generated files, #1250
  1348. - update cygwin installation docs
  1349. - repository interoperability with borg master (1.1dev) branch:
  1350. - borg check: read item metadata keys from manifest, #1147
  1351. - read v2 hints files, #1235
  1352. - fix hints file "unknown version" error handling bug
  1353. - tests: add tests for format_line
  1354. - llfuse: update version requirement for freebsd
  1355. - Vagrantfile:
  1356. - use openbsd 5.9, #716
  1357. - do not install llfuse on netbsd (broken)
  1358. - update OSXfuse to version 3.3.3
  1359. - use Python 3.5.2 to build the binaries
  1360. - glibc compatibility checker: scripts/glibc_check.py
  1361. - add .eggs to .gitignore
  1362. Version 1.0.3 (2016-05-20)
  1363. --------------------------
  1364. Bug fixes:
  1365. - prune: avoid that checkpoints are kept and completed archives are deleted in
  1366. a prune run), #997
  1367. - prune: fix commandline argument validation - some valid command lines were
  1368. considered invalid (annoying, but harmless), #942
  1369. - fix capabilities extraction on Linux (set xattrs last, after chown()), #1069
  1370. - repository: fix commit tags being seen in data
  1371. - when probing key files, do binary reads. avoids crash when non-borg binary
  1372. files are located in borg's key files directory.
  1373. - handle SIGTERM and make a clean exit - avoids orphan lock files.
  1374. - repository cache: don't cache large objects (avoid using lots of temp. disk
  1375. space), #1063
  1376. Other changes:
  1377. - Vagrantfile: OS X: update osxfuse / install lzma package, #933
  1378. - setup.py: add check for platform_darwin.c
  1379. - setup.py: on freebsd, use a llfuse release that builds ok
  1380. - docs / help:
  1381. - update readthedocs URLs, #991
  1382. - add missing docs for "borg break-lock", #992
  1383. - borg create help: add some words to about the archive name
  1384. - borg create help: document format tags, #894
  1385. Version 1.0.2 (2016-04-16)
  1386. --------------------------
  1387. Bug fixes:
  1388. - fix malfunction and potential corruption on (nowadays rather rare) big-endian
  1389. architectures or bi-endian archs in (rare) BE mode. #886, #889
  1390. cache resync / index merge was malfunctioning due to this, potentially
  1391. leading to data loss. borg info had cosmetic issues (displayed wrong values).
  1392. note: all (widespread) little-endian archs (like x86/x64) or bi-endian archs
  1393. in (widespread) LE mode (like ARMEL, MIPSEL, ...) were NOT affected.
  1394. - add overflow and range checks for 1st (special) uint32 of the hashindex
  1395. values, switch from int32 to uint32.
  1396. - fix so that refcount will never overflow, but just stick to max. value after
  1397. a overflow would have occurred.
  1398. - borg delete: fix --cache-only for broken caches, #874
  1399. Makes --cache-only idempotent: it won't fail if the cache is already deleted.
  1400. - fixed borg create --one-file-system erroneously traversing into other
  1401. filesystems (if starting fs device number was 0), #873
  1402. - workround a bug in Linux fadvise FADV_DONTNEED, #907
  1403. Other changes:
  1404. - better test coverage for hashindex, incl. overflow testing, checking correct
  1405. computations so endianness issues would be discovered.
  1406. - reproducible doc for ProgressIndicator*, make the build reproducible.
  1407. - use latest llfuse for vagrant machines
  1408. - docs:
  1409. - use /path/to/repo in examples, fixes #901
  1410. - fix confusing usage of "repo" as archive name (use "arch")
  1411. Version 1.0.1 (2016-04-08)
  1412. --------------------------
  1413. New features:
  1414. Usually there are no new features in a bugfix release, but these were added
  1415. due to their high impact on security/safety/speed or because they are fixes
  1416. also:
  1417. - append-only mode for repositories, #809, #36 (see docs)
  1418. - borg create: add --ignore-inode option to make borg detect unmodified files
  1419. even if your filesystem does not have stable inode numbers (like sshfs and
  1420. possibly CIFS).
  1421. - add options --warning, --error, --critical for missing log levels, #826.
  1422. it's not recommended to suppress warnings or errors, but the user may decide
  1423. this on his own.
  1424. note: --warning is not given to borg serve so a <= 1.0.0 borg will still
  1425. work as server (it is not needed as it is the default).
  1426. do not use --error or --critical when using a <= 1.0.0 borg server.
  1427. Bug fixes:
  1428. - fix silently skipping EIO, #748
  1429. - add context manager for Repository (avoid orphan repository locks), #285
  1430. - do not sleep for >60s while waiting for lock, #773
  1431. - unpack file stats before passing to FUSE
  1432. - fix build on illumos
  1433. - don't try to backup doors or event ports (Solaris and derivates)
  1434. - remove useless/misleading libc version display, #738
  1435. - test suite: reset exit code of persistent archiver, #844
  1436. - RemoteRepository: clean up pipe if remote open() fails
  1437. - Remote: don't print tracebacks for Error exceptions handled downstream, #792
  1438. - if BORG_PASSPHRASE is present but wrong, don't prompt for password, but fail
  1439. instead, #791
  1440. - ArchiveChecker: move "orphaned objects check skipped" to INFO log level, #826
  1441. - fix capitalization, add ellipses, change log level to debug for 2 messages,
  1442. #798
  1443. Other changes:
  1444. - update llfuse requirement, llfuse 1.0 works
  1445. - update OS / dist packages on build machines, #717
  1446. - prefer showing --info over -v in usage help, #859
  1447. - docs:
  1448. - fix cygwin requirements (gcc-g++)
  1449. - document how to debug / file filesystem issues, #664
  1450. - fix reproducible build of api docs
  1451. - RTD theme: CSS !important overwrite, #727
  1452. - Document logo font. Recreate logo png. Remove GIMP logo file.
  1453. Version 1.0.0 (2016-03-05)
  1454. --------------------------
  1455. The major release number change (0.x -> 1.x) indicates bigger incompatible
  1456. changes, please read the compatibility notes, adapt / test your scripts and
  1457. check your backup logs.
  1458. Compatibility notes:
  1459. - drop support for python 3.2 and 3.3, require 3.4 or 3.5, #221 #65 #490
  1460. note: we provide binaries that include python 3.5.1 and everything else
  1461. needed. they are an option in case you are stuck with < 3.4 otherwise.
  1462. - change encryption to be on by default (using "repokey" mode)
  1463. - moved keyfile keys from ~/.borg/keys to ~/.config/borg/keys,
  1464. you can either move them manually or run "borg upgrade <REPO>"
  1465. - remove support for --encryption=passphrase,
  1466. use borg migrate-to-repokey to switch to repokey mode, #97
  1467. - remove deprecated --compression <number>,
  1468. use --compression zlib,<number> instead
  1469. in case of 0, you could also use --compression none
  1470. - remove deprecated --hourly/daily/weekly/monthly/yearly
  1471. use --keep-hourly/daily/weekly/monthly/yearly instead
  1472. - remove deprecated --do-not-cross-mountpoints,
  1473. use --one-file-system instead
  1474. - disambiguate -p option, #563:
  1475. - -p now is same as --progress
  1476. - -P now is same as --prefix
  1477. - remove deprecated "borg verify",
  1478. use "borg extract --dry-run" instead
  1479. - cleanup environment variable semantics, #355
  1480. the environment variables used to be "yes sayers" when set, this was
  1481. conceptually generalized to "automatic answerers" and they just give their
  1482. value as answer (as if you typed in that value when being asked).
  1483. See the "usage" / "Environment Variables" section of the docs for details.
  1484. - change the builtin default for --chunker-params, create 2MiB chunks, #343
  1485. --chunker-params new default: 19,23,21,4095 - old default: 10,23,16,4095
  1486. one of the biggest issues with borg < 1.0 (and also attic) was that it had a
  1487. default target chunk size of 64kiB, thus it created a lot of chunks and thus
  1488. also a huge chunk management overhead (high RAM and disk usage).
  1489. please note that the new default won't change the chunks that you already
  1490. have in your repository. the new big chunks do not deduplicate with the old
  1491. small chunks, so expect your repo to grow at least by the size of every
  1492. changed file and in the worst case (e.g. if your files cache was lost / is
  1493. not used) by the size of every file (minus any compression you might use).
  1494. in case you want to immediately see a much lower resource usage (RAM / disk)
  1495. for chunks management, it might be better to start with a new repo than
  1496. continuing in the existing repo (with an existing repo, you'ld have to wait
  1497. until all archives with small chunks got pruned to see a lower resource
  1498. usage).
  1499. if you used the old --chunker-params default value (or if you did not use
  1500. --chunker-params option at all) and you'ld like to continue using small
  1501. chunks (and you accept the huge resource usage that comes with that), just
  1502. explicitly use borg create --chunker-params=10,23,16,4095.
  1503. - archive timestamps: the 'time' timestamp now refers to archive creation
  1504. start time (was: end time), the new 'time_end' timestamp refers to archive
  1505. creation end time. This might affect prune if your backups take rather long.
  1506. if you give a timestamp via cli this is stored into 'time', therefore it now
  1507. needs to mean archive creation start time.
  1508. New features:
  1509. - implement password roundtrip, #695
  1510. Bug fixes:
  1511. - remote end does not need cache nor keys directories, do not create them, #701
  1512. - added retry counter for passwords, #703
  1513. Other changes:
  1514. - fix compiler warnings, #697
  1515. - docs:
  1516. - update README.rst to new changelog location in docs/changes.rst
  1517. - add Teemu to AUTHORS
  1518. - changes.rst: fix old chunker params, #698
  1519. - FAQ: how to limit bandwidth
  1520. Version 1.0.0rc2 (2016-02-28)
  1521. -----------------------------
  1522. New features:
  1523. - format options for location: user, pid, fqdn, hostname, now, utcnow, user
  1524. - borg list --list-format
  1525. - borg prune -v --list enables the keep/prune list output, #658
  1526. Bug fixes:
  1527. - fix _open_rb noatime handling, #657
  1528. - add a simple archivename validator, #680
  1529. - borg create --stats: show timestamps in localtime, use same labels/formatting
  1530. as borg info, #651
  1531. - llfuse compatibility fixes (now compatible with: 0.40, 0.41, 0.42)
  1532. Other changes:
  1533. - it is now possible to use "pip install borgbackup[fuse]" to automatically
  1534. install the llfuse dependency using the correct version requirement
  1535. for it. you still need to care about having installed the FUSE / build
  1536. related OS package first, though, so that building llfuse can succeed.
  1537. - Vagrant: drop Ubuntu Precise (12.04) - does not have Python >= 3.4
  1538. - Vagrant: use pyinstaller v3.1.1 to build binaries
  1539. - docs:
  1540. - borg upgrade: add to docs that only LOCAL repos are supported
  1541. - borg upgrade also handles borg 0.xx -> 1.0
  1542. - use pip extras or requirements file to install llfuse
  1543. - fix order in release process
  1544. - updated usage docs and other minor / cosmetic fixes
  1545. - verified borg examples in docs, #644
  1546. - freebsd dependency installation and FUSE configuration, #649
  1547. - add example how to restore a raw device, #671
  1548. - add a hint about the dev headers needed when installing from source
  1549. - add examples for delete (and handle delete after list, before prune), #656
  1550. - update example for borg create -v --stats (use iso datetime format), #663
  1551. - added example to BORG_RSH docs
  1552. - "connection closed by remote": add FAQ entry and point to issue #636
  1553. Version 1.0.0rc1 (2016-02-07)
  1554. -----------------------------
  1555. New features:
  1556. - borg migrate-to-repokey ("passphrase" -> "repokey" encryption key mode)
  1557. - implement --short for borg list REPO, #611
  1558. - implement --list for borg extract (consistency with borg create)
  1559. - borg serve: overwrite client's --restrict-to-path with ssh forced command's
  1560. option value (but keep everything else from the client commandline), #544
  1561. - use $XDG_CONFIG_HOME/keys for keyfile keys (~/.config/borg/keys), #515
  1562. - "borg upgrade" moves the keyfile keys to the new location
  1563. - display both archive creation start and end time in "borg info", #627
  1564. Bug fixes:
  1565. - normalize trailing slashes for the repository path, #606
  1566. - Cache: fix exception handling in __init__, release lock, #610
  1567. Other changes:
  1568. - suppress unneeded exception context (PEP 409), simpler tracebacks
  1569. - removed special code needed to deal with imperfections / incompatibilities /
  1570. missing stuff in py 3.2/3.3, simplify code that can be done simpler in 3.4
  1571. - removed some version requirements that were kept on old versions because
  1572. newer did not support py 3.2 any more
  1573. - use some py 3.4+ stdlib code instead of own/openssl/pypi code:
  1574. - use os.urandom instead of own cython openssl RAND_bytes wrapper, #493
  1575. - use hashlib.pbkdf2_hmac from py stdlib instead of own openssl wrapper
  1576. - use hmac.compare_digest instead of == operator (constant time comparison)
  1577. - use stat.filemode instead of homegrown code
  1578. - use "mock" library from stdlib, #145
  1579. - remove borg.support (with non-broken argparse copy), it is ok in 3.4+, #358
  1580. - Vagrant: copy CHANGES.rst as symlink, #592
  1581. - cosmetic code cleanups, add flake8 to tox/travis, #4
  1582. - docs / help:
  1583. - make "borg -h" output prettier, #591
  1584. - slightly rephrase prune help
  1585. - add missing example for --list option of borg create
  1586. - quote exclude line that includes an asterisk to prevent shell expansion
  1587. - fix dead link to license
  1588. - delete Ubuntu Vivid, it is not supported anymore (EOL)
  1589. - OS X binary does not work for older OS X releases, #629
  1590. - borg serve's special support for forced/original ssh commands, #544
  1591. - misc. updates and fixes
  1592. Version 0.30.0 (2016-01-23)
  1593. ---------------------------
  1594. Compatibility notes:
  1595. - you may need to use -v (or --info) more often to actually see output emitted
  1596. at INFO log level (because it is suppressed at the default WARNING log level).
  1597. See the "general" section in the usage docs.
  1598. - for borg create, you need --list (additionally to -v) to see the long file
  1599. list (was needed so you can have e.g. --stats alone without the long list)
  1600. - see below about BORG_DELETE_I_KNOW_WHAT_I_AM_DOING (was:
  1601. BORG_CHECK_I_KNOW_WHAT_I_AM_DOING)
  1602. Bug fixes:
  1603. - fix crash when using borg create --dry-run --keep-tag-files, #570
  1604. - make sure teardown with cleanup happens for Cache and RepositoryCache,
  1605. avoiding leftover locks and TEMP dir contents, #285 (partially), #548
  1606. - fix locking KeyError, partial fix for #502
  1607. - log stats consistently, #526
  1608. - add abbreviated weekday to timestamp format, fixes #496
  1609. - strip whitespace when loading exclusions from file
  1610. - unset LD_LIBRARY_PATH before invoking ssh, fixes strange OpenSSL library
  1611. version warning when using the borg binary, #514
  1612. - add some error handling/fallback for C library loading, #494
  1613. - added BORG_DELETE_I_KNOW_WHAT_I_AM_DOING for check in "borg delete", #503
  1614. - remove unused "repair" rpc method name
  1615. New features:
  1616. - borg create: implement exclusions using regular expression patterns.
  1617. - borg create: implement inclusions using patterns.
  1618. - borg extract: support patterns, #361
  1619. - support different styles for patterns:
  1620. - fnmatch (`fm:` prefix, default when omitted), like borg <= 0.29.
  1621. - shell (`sh:` prefix) with `*` not matching directory separators and
  1622. `**/` matching 0..n directories
  1623. - path prefix (`pp:` prefix, for unifying borg create pp1 pp2 into the
  1624. patterns system), semantics like in borg <= 0.29
  1625. - regular expression (`re:`), new!
  1626. - --progress option for borg upgrade (#291) and borg delete <archive>
  1627. - update progress indication more often (e.g. for borg create within big
  1628. files or for borg check repo), #500
  1629. - finer chunker granularity for items metadata stream, #547, #487
  1630. - borg create --list now used (additionally to -v) to enable the verbose
  1631. file list output
  1632. - display borg version below tracebacks, #532
  1633. Other changes:
  1634. - hashtable size (and thus: RAM and disk consumption) follows a growth policy:
  1635. grows fast while small, grows slower when getting bigger, #527
  1636. - Vagrantfile: use pyinstaller 3.1 to build binaries, freebsd sqlite3 fix,
  1637. fixes #569
  1638. - no separate binaries for centos6 any more because the generic linux binaries
  1639. also work on centos6 (or in general: on systems with a slightly older glibc
  1640. than debian7
  1641. - dev environment: require virtualenv<14.0 so we get a py32 compatible pip
  1642. - docs:
  1643. - add space-saving chunks.archive.d trick to FAQ
  1644. - important: clarify -v and log levels in usage -> general, please read!
  1645. - sphinx configuration: create a simple man page from usage docs
  1646. - add a repo server setup example
  1647. - disable unneeded SSH features in authorized_keys examples for security.
  1648. - borg prune only knows "--keep-within" and not "--within"
  1649. - add gource video to resources docs, #507
  1650. - add netbsd install instructions
  1651. - authors: make it more clear what refers to borg and what to attic
  1652. - document standalone binary requirements, #499
  1653. - rephrase the mailing list section
  1654. - development docs: run build_api and build_usage before tagging release
  1655. - internals docs: hash table max. load factor is 0.75 now
  1656. - markup, typo, grammar, phrasing, clarifications and other fixes.
  1657. - add gcc gcc-c++ to redhat/fedora/corora install docs, fixes #583
  1658. Version 0.29.0 (2015-12-13)
  1659. ---------------------------
  1660. Compatibility notes:
  1661. - when upgrading to 0.29.0 you need to upgrade client as well as server
  1662. installations due to the locking and commandline interface changes otherwise
  1663. you'll get an error msg about a RPC protocol mismatch or a wrong commandline
  1664. option.
  1665. if you run a server that needs to support both old and new clients, it is
  1666. suggested that you have a "borg-0.28.2" and a "borg-0.29.0" command.
  1667. clients then can choose via e.g. "borg --remote-path=borg-0.29.0 ...".
  1668. - the default waiting time for a lock changed from infinity to 1 second for a
  1669. better interactive user experience. if the repo you want to access is
  1670. currently locked, borg will now terminate after 1s with an error message.
  1671. if you have scripts that shall wait for the lock for a longer time, use
  1672. --lock-wait N (with N being the maximum wait time in seconds).
  1673. Bug fixes:
  1674. - hash table tuning (better chosen hashtable load factor 0.75 and prime initial
  1675. size of 1031 gave ~1000x speedup in some scenarios)
  1676. - avoid creation of an orphan lock for one case, #285
  1677. - --keep-tag-files: fix file mode and multiple tag files in one directory, #432
  1678. - fixes for "borg upgrade" (attic repo converter), #466
  1679. - remove --progress isatty magic (and also --no-progress option) again, #476
  1680. - borg init: display proper repo URL
  1681. - fix format of umask in help pages, #463
  1682. New features:
  1683. - implement --lock-wait, support timeout for UpgradableLock, #210
  1684. - implement borg break-lock command, #157
  1685. - include system info below traceback, #324
  1686. - sane remote logging, remote stderr, #461:
  1687. - remote log output: intercept it and log it via local logging system,
  1688. with "Remote: " prefixed to message. log remote tracebacks.
  1689. - remote stderr: output it to local stderr with "Remote: " prefixed.
  1690. - add --debug and --info (same as --verbose) to set the log level of the
  1691. builtin logging configuration (which otherwise defaults to warning), #426
  1692. note: there are few messages emitted at DEBUG level currently.
  1693. - optionally configure logging via env var BORG_LOGGING_CONF
  1694. - add --filter option for status characters: e.g. to show only the added
  1695. or modified files (and also errors), use "borg create -v --filter=AME ...".
  1696. - more progress indicators, #394
  1697. - use ISO-8601 date and time format, #375
  1698. - "borg check --prefix" to restrict archive checking to that name prefix, #206
  1699. Other changes:
  1700. - hashindex_add C implementation (speed up cache re-sync for new archives)
  1701. - increase FUSE read_size to 1024 (speed up metadata operations)
  1702. - check/delete/prune --save-space: free unused segments quickly, #239
  1703. - increase rpc protocol version to 2 (see also Compatibility notes), #458
  1704. - silence borg by default (via default log level WARNING)
  1705. - get rid of C compiler warnings, #391
  1706. - upgrade OS X FUSE to 3.0.9 on the OS X binary build system
  1707. - use python 3.5.1 to build binaries
  1708. - docs:
  1709. - new mailing list borgbackup@python.org, #468
  1710. - readthedocs: color and logo improvements
  1711. - load coverage icons over SSL (avoids mixed content)
  1712. - more precise binary installation steps
  1713. - update release procedure docs about OS X FUSE
  1714. - FAQ entry about unexpected 'A' status for unchanged file(s), #403
  1715. - add docs about 'E' file status
  1716. - add "borg upgrade" docs, #464
  1717. - add developer docs about output and logging
  1718. - clarify encryption, add note about client-side encryption
  1719. - add resources section, with videos, talks, presentations, #149
  1720. - Borg moved to Arch Linux [community]
  1721. - fix wrong installation instructions for archlinux
  1722. Version 0.28.2 (2015-11-15)
  1723. ---------------------------
  1724. New features:
  1725. - borg create --exclude-if-present TAGFILE - exclude directories that have the
  1726. given file from the backup. You can additionally give --keep-tag-files to
  1727. preserve just the directory roots and the tag-files (but not backup other
  1728. directory contents), #395, attic #128, attic #142
  1729. Other changes:
  1730. - do not create docs sources at build time (just have them in the repo),
  1731. completely remove have_cython() hack, do not use the "mock" library at build
  1732. time, #384
  1733. - avoid hidden import, make it easier for PyInstaller, easier fix for #218
  1734. - docs:
  1735. - add description of item flags / status output, fixes #402
  1736. - explain how to regenerate usage and API files (build_api or
  1737. build_usage) and when to commit usage files directly into git, #384
  1738. - minor install docs improvements
  1739. Version 0.28.1 (2015-11-08)
  1740. ---------------------------
  1741. Bug fixes:
  1742. - do not try to build api / usage docs for production install,
  1743. fixes unexpected "mock" build dependency, #384
  1744. Other changes:
  1745. - avoid using msgpack.packb at import time
  1746. - fix formatting issue in changes.rst
  1747. - fix build on readthedocs
  1748. Version 0.28.0 (2015-11-08)
  1749. ---------------------------
  1750. Compatibility notes:
  1751. - changed return codes (exit codes), see docs. in short:
  1752. old: 0 = ok, 1 = error. now: 0 = ok, 1 = warning, 2 = error
  1753. New features:
  1754. - refactor return codes (exit codes), fixes #61
  1755. - add --show-rc option enable "terminating with X status, rc N" output, fixes 58, #351
  1756. - borg create backups atime and ctime additionally to mtime, fixes #317
  1757. - extract: support atime additionally to mtime
  1758. - FUSE: support ctime and atime additionally to mtime
  1759. - support borg --version
  1760. - emit a warning if we have a slow msgpack installed
  1761. - borg list --prefix=thishostname- REPO, fixes #205
  1762. - Debug commands (do not use except if you know what you do: debug-get-obj,
  1763. debug-put-obj, debug-delete-obj, debug-dump-archive-items.
  1764. Bug fixes:
  1765. - setup.py: fix bug related to BORG_LZ4_PREFIX processing
  1766. - fix "check" for repos that have incomplete chunks, fixes #364
  1767. - borg mount: fix unlocking of repository at umount time, fixes #331
  1768. - fix reading files without touching their atime, #334
  1769. - non-ascii ACL fixes for Linux, FreeBSD and OS X, #277
  1770. - fix acl_use_local_uid_gid() and add a test for it, attic #359
  1771. - borg upgrade: do not upgrade repositories in place by default, #299
  1772. - fix cascading failure with the index conversion code, #269
  1773. - borg check: implement 'cmdline' archive metadata value decoding, #311
  1774. - fix RobustUnpacker, it missed some metadata keys (new atime and ctime keys
  1775. were missing, but also bsdflags). add check for unknown metadata keys.
  1776. - create from stdin: also save atime, ctime (cosmetic)
  1777. - use default_notty=False for confirmations, fixes #345
  1778. - vagrant: fix msgpack installation on centos, fixes #342
  1779. - deal with unicode errors for symlinks in same way as for regular files and
  1780. have a helpful warning message about how to fix wrong locale setup, fixes #382
  1781. - add ACL keys the RobustUnpacker must know about
  1782. Other changes:
  1783. - improve file size displays, more flexible size formatters
  1784. - explicitly commit to the units standard, #289
  1785. - archiver: add E status (means that an error occurred when processing this
  1786. (single) item
  1787. - do binary releases via "github releases", closes #214
  1788. - create: use -x and --one-file-system (was: --do-not-cross-mountpoints), #296
  1789. - a lot of changes related to using "logging" module and screen output, #233
  1790. - show progress display if on a tty, output more progress information, #303
  1791. - factor out status output so it is consistent, fix surrogates removal,
  1792. maybe fixes #309
  1793. - move away from RawConfigParser to ConfigParser
  1794. - archive checker: better error logging, give chunk_id and sequence numbers
  1795. (can be used together with borg debug-dump-archive-items).
  1796. - do not mention the deprecated passphrase mode
  1797. - emit a deprecation warning for --compression N (giving a just a number)
  1798. - misc .coverragerc fixes (and coverage measurement improvements), fixes #319
  1799. - refactor confirmation code, reduce code duplication, add tests
  1800. - prettier error messages, fixes #307, #57
  1801. - tests:
  1802. - add a test to find disk-full issues, #327
  1803. - travis: also run tests on Python 3.5
  1804. - travis: use tox -r so it rebuilds the tox environments
  1805. - test the generated pyinstaller-based binary by archiver unit tests, #215
  1806. - vagrant: tests: announce whether fakeroot is used or not
  1807. - vagrant: add vagrant user to fuse group for debianoid systems also
  1808. - vagrant: llfuse install on darwin needs pkgconfig installed
  1809. - vagrant: use pyinstaller from develop branch, fixes #336
  1810. - benchmarks: test create, extract, list, delete, info, check, help, fixes #146
  1811. - benchmarks: test with both the binary and the python code
  1812. - archiver tests: test with both the binary and the python code, fixes #215
  1813. - make basic test more robust
  1814. - docs:
  1815. - moved docs to borgbackup.readthedocs.org, #155
  1816. - a lot of fixes and improvements, use mobile-friendly RTD standard theme
  1817. - use zlib,6 compression in some examples, fixes #275
  1818. - add missing rename usage to docs, closes #279
  1819. - include the help offered by borg help <topic> in the usage docs, fixes #293
  1820. - include a list of major changes compared to attic into README, fixes #224
  1821. - add OS X install instructions, #197
  1822. - more details about the release process, #260
  1823. - fix linux glibc requirement (binaries built on debian7 now)
  1824. - build: move usage and API generation to setup.py
  1825. - update docs about return codes, #61
  1826. - remove api docs (too much breakage on rtd)
  1827. - borgbackup install + basics presentation (asciinema)
  1828. - describe the current style guide in documentation
  1829. - add section about debug commands
  1830. - warn about not running out of space
  1831. - add example for rename
  1832. - improve chunker params docs, fixes #362
  1833. - minor development docs update
  1834. Version 0.27.0 (2015-10-07)
  1835. ---------------------------
  1836. New features:
  1837. - "borg upgrade" command - attic -> borg one time converter / migration, #21
  1838. - temporary hack to avoid using lots of disk space for chunks.archive.d, #235:
  1839. To use it: rm -rf chunks.archive.d ; touch chunks.archive.d
  1840. - respect XDG_CACHE_HOME, attic #181
  1841. - add support for arbitrary SSH commands, attic #99
  1842. - borg delete --cache-only REPO (only delete cache, not REPO), attic #123
  1843. Bug fixes:
  1844. - use Debian 7 (wheezy) to build pyinstaller borgbackup binaries, fixes slow
  1845. down observed when running the Centos6-built binary on Ubuntu, #222
  1846. - do not crash on empty lock.roster, fixes #232
  1847. - fix multiple issues with the cache config version check, #234
  1848. - fix segment entry header size check, attic #352
  1849. plus other error handling improvements / code deduplication there.
  1850. - always give segment and offset in repo IntegrityErrors
  1851. Other changes:
  1852. - stop producing binary wheels, remove docs about it, #147
  1853. - docs:
  1854. - add warning about prune
  1855. - generate usage include files only as needed
  1856. - development docs: add Vagrant section
  1857. - update / improve / reformat FAQ
  1858. - hint to single-file pyinstaller binaries from README
  1859. Version 0.26.1 (2015-09-28)
  1860. ---------------------------
  1861. This is a minor update, just docs and new pyinstaller binaries.
  1862. - docs update about python and binary requirements
  1863. - better docs for --read-special, fix #220
  1864. - re-built the binaries, fix #218 and #213 (glibc version issue)
  1865. - update web site about single-file pyinstaller binaries
  1866. Note: if you did a python-based installation, there is no need to upgrade.
  1867. Version 0.26.0 (2015-09-19)
  1868. ---------------------------
  1869. New features:
  1870. - Faster cache sync (do all in one pass, remove tar/compression stuff), #163
  1871. - BORG_REPO env var to specify the default repo, #168
  1872. - read special files as if they were regular files, #79
  1873. - implement borg create --dry-run, attic issue #267
  1874. - Normalize paths before pattern matching on OS X, #143
  1875. - support OpenBSD and NetBSD (except xattrs/ACLs)
  1876. - support / run tests on Python 3.5
  1877. Bug fixes:
  1878. - borg mount repo: use absolute path, attic #200, attic #137
  1879. - chunker: use off_t to get 64bit on 32bit platform, #178
  1880. - initialize chunker fd to -1, so it's not equal to STDIN_FILENO (0)
  1881. - fix reaction to "no" answer at delete repo prompt, #182
  1882. - setup.py: detect lz4.h header file location
  1883. - to support python < 3.2.4, add less buggy argparse lib from 3.2.6 (#194)
  1884. - fix for obtaining ``char *`` from temporary Python value (old code causes
  1885. a compile error on Mint 17.2)
  1886. - llfuse 0.41 install troubles on some platforms, require < 0.41
  1887. (UnicodeDecodeError exception due to non-ascii llfuse setup.py)
  1888. - cython code: add some int types to get rid of unspecific python add /
  1889. subtract operations (avoid ``undefined symbol FPE_``... error on some platforms)
  1890. - fix verbose mode display of stdin backup
  1891. - extract: warn if a include pattern never matched, fixes #209,
  1892. implement counters for Include/ExcludePatterns
  1893. - archive names with slashes are invalid, attic issue #180
  1894. - chunker: add a check whether the POSIX_FADV_DONTNEED constant is defined -
  1895. fixes building on OpenBSD.
  1896. Other changes:
  1897. - detect inconsistency / corruption / hash collision, #170
  1898. - replace versioneer with setuptools_scm, #106
  1899. - docs:
  1900. - pkg-config is needed for llfuse installation
  1901. - be more clear about pruning, attic issue #132
  1902. - unit tests:
  1903. - xattr: ignore security.selinux attribute showing up
  1904. - ext3 seems to need a bit more space for a sparse file
  1905. - do not test lzma level 9 compression (avoid MemoryError)
  1906. - work around strange mtime granularity issue on netbsd, fixes #204
  1907. - ignore st_rdev if file is not a block/char device, fixes #203
  1908. - stay away from the setgid and sticky mode bits
  1909. - use Vagrant to do easy cross-platform testing (#196), currently:
  1910. - Debian 7 "wheezy" 32bit, Debian 8 "jessie" 64bit
  1911. - Ubuntu 12.04 32bit, Ubuntu 14.04 64bit
  1912. - Centos 7 64bit
  1913. - FreeBSD 10.2 64bit
  1914. - OpenBSD 5.7 64bit
  1915. - NetBSD 6.1.5 64bit
  1916. - Darwin (OS X Yosemite)
  1917. Version 0.25.0 (2015-08-29)
  1918. ---------------------------
  1919. Compatibility notes:
  1920. - lz4 compression library (liblz4) is a new requirement (#156)
  1921. - the new compression code is very compatible: as long as you stay with zlib
  1922. compression, older borg releases will still be able to read data from a
  1923. repo/archive made with the new code (note: this is not the case for the
  1924. default "none" compression, use "zlib,0" if you want a "no compression" mode
  1925. that can be read by older borg). Also the new code is able to read repos and
  1926. archives made with older borg versions (for all zlib levels 0..9).
  1927. Deprecations:
  1928. - --compression N (with N being a number, as in 0.24) is deprecated.
  1929. We keep the --compression 0..9 for now to not break scripts, but it is
  1930. deprecated and will be removed later, so better fix your scripts now:
  1931. --compression 0 (as in 0.24) is the same as --compression zlib,0 (now).
  1932. BUT: if you do not want compression, you rather want --compression none
  1933. (which is the default).
  1934. --compression 1 (in 0.24) is the same as --compression zlib,1 (now)
  1935. --compression 9 (in 0.24) is the same as --compression zlib,9 (now)
  1936. New features:
  1937. - create --compression none (default, means: do not compress, just pass through
  1938. data "as is". this is more efficient than zlib level 0 as used in borg 0.24)
  1939. - create --compression lz4 (super-fast, but not very high compression)
  1940. - create --compression zlib,N (slower, higher compression, default for N is 6)
  1941. - create --compression lzma,N (slowest, highest compression, default N is 6)
  1942. - honor the nodump flag (UF_NODUMP) and do not backup such items
  1943. - list --short just outputs a simple list of the files/directories in an archive
  1944. Bug fixes:
  1945. - fixed --chunker-params parameter order confusion / malfunction, fixes #154
  1946. - close fds of segments we delete (during compaction)
  1947. - close files which fell out the lrucache
  1948. - fadvise DONTNEED now is only called for the byte range actually read, not for
  1949. the whole file, fixes #158.
  1950. - fix issue with negative "all archives" size, fixes #165
  1951. - restore_xattrs: ignore if setxattr fails with EACCES, fixes #162
  1952. Other changes:
  1953. - remove fakeroot requirement for tests, tests run faster without fakeroot
  1954. (test setup does not fail any more without fakeroot, so you can run with or
  1955. without fakeroot), fixes #151 and #91.
  1956. - more tests for archiver
  1957. - recover_segment(): don't assume we have an fd for segment
  1958. - lrucache refactoring / cleanup, add dispose function, py.test tests
  1959. - generalize hashindex code for any key length (less hardcoding)
  1960. - lock roster: catch file not found in remove() method and ignore it
  1961. - travis CI: use requirements file
  1962. - improved docs:
  1963. - replace hack for llfuse with proper solution (install libfuse-dev)
  1964. - update docs about compression
  1965. - update development docs about fakeroot
  1966. - internals: add some words about lock files / locking system
  1967. - support: mention BountySource and for what it can be used
  1968. - theme: use a lighter green
  1969. - add pypi, wheel, dist package based install docs
  1970. - split install docs into system-specific preparations and generic instructions
  1971. Version 0.24.0 (2015-08-09)
  1972. ---------------------------
  1973. Incompatible changes (compared to 0.23):
  1974. - borg now always issues --umask NNN option when invoking another borg via ssh
  1975. on the repository server. By that, it's making sure it uses the same umask
  1976. for remote repos as for local ones. Because of this, you must upgrade both
  1977. server and client(s) to 0.24.
  1978. - the default umask is 077 now (if you do not specify via --umask) which might
  1979. be a different one as you used previously. The default umask avoids that
  1980. you accidentally give access permissions for group and/or others to files
  1981. created by borg (e.g. the repository).
  1982. Deprecations:
  1983. - "--encryption passphrase" mode is deprecated, see #85 and #97.
  1984. See the new "--encryption repokey" mode for a replacement.
  1985. New features:
  1986. - borg create --chunker-params ... to configure the chunker, fixes #16
  1987. (attic #302, attic #300, and somehow also #41).
  1988. This can be used to reduce memory usage caused by chunk management overhead,
  1989. so borg does not create a huge chunks index/repo index and eats all your RAM
  1990. if you back up lots of data in huge files (like VM disk images).
  1991. See docs/misc/create_chunker-params.txt for more information.
  1992. - borg info now reports chunk counts in the chunk index.
  1993. - borg create --compression 0..9 to select zlib compression level, fixes #66
  1994. (attic #295).
  1995. - borg init --encryption repokey (to store the encryption key into the repo),
  1996. fixes #85
  1997. - improve at-end error logging, always log exceptions and set exit_code=1
  1998. - LoggedIO: better error checks / exceptions / exception handling
  1999. - implement --remote-path to allow non-default-path borg locations, #125
  2000. - implement --umask M and use 077 as default umask for better security, #117
  2001. - borg check: give a named single archive to it, fixes #139
  2002. - cache sync: show progress indication
  2003. - cache sync: reimplement the chunk index merging in C
  2004. Bug fixes:
  2005. - fix segfault that happened for unreadable files (chunker: n needs to be a
  2006. signed size_t), #116
  2007. - fix the repair mode, #144
  2008. - repo delete: add destroy to allowed rpc methods, fixes issue #114
  2009. - more compatible repository locking code (based on mkdir), maybe fixes #92
  2010. (attic #317, attic #201).
  2011. - better Exception msg if no Borg is installed on the remote repo server, #56
  2012. - create a RepositoryCache implementation that can cope with >2GiB,
  2013. fixes attic #326.
  2014. - fix Traceback when running check --repair, attic #232
  2015. - clarify help text, fixes #73.
  2016. - add help string for --no-files-cache, fixes #140
  2017. Other changes:
  2018. - improved docs:
  2019. - added docs/misc directory for misc. writeups that won't be included
  2020. "as is" into the html docs.
  2021. - document environment variables and return codes (attic #324, attic #52)
  2022. - web site: add related projects, fix web site url, IRC #borgbackup
  2023. - Fedora/Fedora-based install instructions added to docs
  2024. - Cygwin-based install instructions added to docs
  2025. - updated AUTHORS
  2026. - add FAQ entries about redundancy / integrity
  2027. - clarify that borg extract uses the cwd as extraction target
  2028. - update internals doc about chunker params, memory usage and compression
  2029. - added docs about development
  2030. - add some words about resource usage in general
  2031. - document how to backup a raw disk
  2032. - add note about how to run borg from virtual env
  2033. - add solutions for (ll)fuse installation problems
  2034. - document what borg check does, fixes #138
  2035. - reorganize borgbackup.github.io sidebar, prev/next at top
  2036. - deduplicate and refactor the docs / README.rst
  2037. - use borg-tmp as prefix for temporary files / directories
  2038. - short prune options without "keep-" are deprecated, do not suggest them
  2039. - improved tox configuration
  2040. - remove usage of unittest.mock, always use mock from pypi
  2041. - use entrypoints instead of scripts, for better use of the wheel format and
  2042. modern installs
  2043. - add requirements.d/development.txt and modify tox.ini
  2044. - use travis-ci for testing based on Linux and (new) OS X
  2045. - use coverage.py, pytest-cov and codecov.io for test coverage support
  2046. I forgot to list some stuff already implemented in 0.23.0, here they are:
  2047. New features:
  2048. - efficient archive list from manifest, meaning a big speedup for slow
  2049. repo connections and "list <repo>", "delete <repo>", "prune" (attic #242,
  2050. attic #167)
  2051. - big speedup for chunks cache sync (esp. for slow repo connections), fixes #18
  2052. - hashindex: improve error messages
  2053. Other changes:
  2054. - explicitly specify binary mode to open binary files
  2055. - some easy micro optimizations
  2056. Version 0.23.0 (2015-06-11)
  2057. ---------------------------
  2058. Incompatible changes (compared to attic, fork related):
  2059. - changed sw name and cli command to "borg", updated docs
  2060. - package name (and name in urls) uses "borgbackup" to have less collisions
  2061. - changed repo / cache internal magic strings from ATTIC* to BORG*,
  2062. changed cache location to .cache/borg/ - this means that it currently won't
  2063. accept attic repos (see issue #21 about improving that)
  2064. Bug fixes:
  2065. - avoid defect python-msgpack releases, fixes attic #171, fixes attic #185
  2066. - fix traceback when trying to do unsupported passphrase change, fixes attic #189
  2067. - datetime does not like the year 10.000, fixes attic #139
  2068. - fix "info" all archives stats, fixes attic #183
  2069. - fix parsing with missing microseconds, fixes attic #282
  2070. - fix misleading hint the fuse ImportError handler gave, fixes attic #237
  2071. - check unpacked data from RPC for tuple type and correct length, fixes attic #127
  2072. - fix Repository._active_txn state when lock upgrade fails
  2073. - give specific path to xattr.is_enabled(), disable symlink setattr call that
  2074. always fails
  2075. - fix test setup for 32bit platforms, partial fix for attic #196
  2076. - upgraded versioneer, PEP440 compliance, fixes attic #257
  2077. New features:
  2078. - less memory usage: add global option --no-cache-files
  2079. - check --last N (only check the last N archives)
  2080. - check: sort archives in reverse time order
  2081. - rename repo::oldname newname (rename repository)
  2082. - create -v output more informative
  2083. - create --progress (backup progress indicator)
  2084. - create --timestamp (utc string or reference file/dir)
  2085. - create: if "-" is given as path, read binary from stdin
  2086. - extract: if --stdout is given, write all extracted binary data to stdout
  2087. - extract --sparse (simple sparse file support)
  2088. - extra debug information for 'fread failed'
  2089. - delete <repo> (deletes whole repo + local cache)
  2090. - FUSE: reflect deduplication in allocated blocks
  2091. - only allow whitelisted RPC calls in server mode
  2092. - normalize source/exclude paths before matching
  2093. - use posix_fadvise to not spoil the OS cache, fixes attic #252
  2094. - toplevel error handler: show tracebacks for better error analysis
  2095. - sigusr1 / sigint handler to print current file infos - attic PR #286
  2096. - RPCError: include the exception args we get from remote
  2097. Other changes:
  2098. - source: misc. cleanups, pep8, style
  2099. - docs and faq improvements, fixes, updates
  2100. - cleanup crypto.pyx, make it easier to adapt to other AES modes
  2101. - do os.fsync like recommended in the python docs
  2102. - source: Let chunker optionally work with os-level file descriptor.
  2103. - source: Linux: remove duplicate os.fsencode calls
  2104. - source: refactor _open_rb code a bit, so it is more consistent / regular
  2105. - source: refactor indicator (status) and item processing
  2106. - source: use py.test for better testing, flake8 for code style checks
  2107. - source: fix tox >=2.0 compatibility (test runner)
  2108. - pypi package: add python version classifiers, add FreeBSD to platforms
  2109. Attic Changelog
  2110. ---------------
  2111. Here you can see the full list of changes between each Attic release until Borg
  2112. forked from Attic:
  2113. Version 0.17
  2114. ~~~~~~~~~~~~
  2115. (bugfix release, released on X)
  2116. - Fix hashindex ARM memory alignment issue (#309)
  2117. - Improve hashindex error messages (#298)
  2118. Version 0.16
  2119. ~~~~~~~~~~~~
  2120. (bugfix release, released on May 16, 2015)
  2121. - Fix typo preventing the security confirmation prompt from working (#303)
  2122. - Improve handling of systems with improperly configured file system encoding (#289)
  2123. - Fix "All archives" output for attic info. (#183)
  2124. - More user friendly error message when repository key file is not found (#236)
  2125. - Fix parsing of iso 8601 timestamps with zero microseconds (#282)
  2126. Version 0.15
  2127. ~~~~~~~~~~~~
  2128. (bugfix release, released on Apr 15, 2015)
  2129. - xattr: Be less strict about unknown/unsupported platforms (#239)
  2130. - Reduce repository listing memory usage (#163).
  2131. - Fix BrokenPipeError for remote repositories (#233)
  2132. - Fix incorrect behavior with two character directory names (#265, #268)
  2133. - Require approval before accessing relocated/moved repository (#271)
  2134. - Require approval before accessing previously unknown unencrypted repositories (#271)
  2135. - Fix issue with hash index files larger than 2GB.
  2136. - Fix Python 3.2 compatibility issue with noatime open() (#164)
  2137. - Include missing pyx files in dist files (#168)
  2138. Version 0.14
  2139. ~~~~~~~~~~~~
  2140. (feature release, released on Dec 17, 2014)
  2141. - Added support for stripping leading path segments (#95)
  2142. "attic extract --strip-segments X"
  2143. - Add workaround for old Linux systems without acl_extended_file_no_follow (#96)
  2144. - Add MacPorts' path to the default openssl search path (#101)
  2145. - HashIndex improvements, eliminates unnecessary IO on low memory systems.
  2146. - Fix "Number of files" output for attic info. (#124)
  2147. - limit create file permissions so files aren't read while restoring
  2148. - Fix issue with empty xattr values (#106)
  2149. Version 0.13
  2150. ~~~~~~~~~~~~
  2151. (feature release, released on Jun 29, 2014)
  2152. - Fix sporadic "Resource temporarily unavailable" when using remote repositories
  2153. - Reduce file cache memory usage (#90)
  2154. - Faster AES encryption (utilizing AES-NI when available)
  2155. - Experimental Linux, OS X and FreeBSD ACL support (#66)
  2156. - Added support for backup and restore of BSDFlags (OSX, FreeBSD) (#56)
  2157. - Fix bug where xattrs on symlinks were not correctly restored
  2158. - Added cachedir support. CACHEDIR.TAG compatible cache directories
  2159. can now be excluded using ``--exclude-caches`` (#74)
  2160. - Fix crash on extreme mtime timestamps (year 2400+) (#81)
  2161. - Fix Python 3.2 specific lockf issue (EDEADLK)
  2162. Version 0.12
  2163. ~~~~~~~~~~~~
  2164. (feature release, released on April 7, 2014)
  2165. - Python 3.4 support (#62)
  2166. - Various documentation improvements a new style
  2167. - ``attic mount`` now supports mounting an entire repository not only
  2168. individual archives (#59)
  2169. - Added option to restrict remote repository access to specific path(s):
  2170. ``attic serve --restrict-to-path X`` (#51)
  2171. - Include "all archives" size information in "--stats" output. (#54)
  2172. - Added ``--stats`` option to ``attic delete`` and ``attic prune``
  2173. - Fixed bug where ``attic prune`` used UTC instead of the local time zone
  2174. when determining which archives to keep.
  2175. - Switch to SI units (Power of 1000 instead 1024) when printing file sizes
  2176. Version 0.11
  2177. ~~~~~~~~~~~~
  2178. (feature release, released on March 7, 2014)
  2179. - New "check" command for repository consistency checking (#24)
  2180. - Documentation improvements
  2181. - Fix exception during "attic create" with repeated files (#39)
  2182. - New "--exclude-from" option for attic create/extract/verify.
  2183. - Improved archive metadata deduplication.
  2184. - "attic verify" has been deprecated. Use "attic extract --dry-run" instead.
  2185. - "attic prune --hourly|daily|..." has been deprecated.
  2186. Use "attic prune --keep-hourly|daily|..." instead.
  2187. - Ignore xattr errors during "extract" if not supported by the filesystem. (#46)
  2188. Version 0.10
  2189. ~~~~~~~~~~~~
  2190. (bugfix release, released on Jan 30, 2014)
  2191. - Fix deadlock when extracting 0 sized files from remote repositories
  2192. - "--exclude" wildcard patterns are now properly applied to the full path
  2193. not just the file name part (#5).
  2194. - Make source code endianness agnostic (#1)
  2195. Version 0.9
  2196. ~~~~~~~~~~~
  2197. (feature release, released on Jan 23, 2014)
  2198. - Remote repository speed and reliability improvements.
  2199. - Fix sorting of segment names to ignore NFS left over files. (#17)
  2200. - Fix incorrect display of time (#13)
  2201. - Improved error handling / reporting. (#12)
  2202. - Use fcntl() instead of flock() when locking repository/cache. (#15)
  2203. - Let ssh figure out port/user if not specified so we don't override .ssh/config (#9)
  2204. - Improved libcrypto path detection (#23).
  2205. Version 0.8.1
  2206. ~~~~~~~~~~~~~
  2207. (bugfix release, released on Oct 4, 2013)
  2208. - Fix segmentation fault issue.
  2209. Version 0.8
  2210. ~~~~~~~~~~~
  2211. (feature release, released on Oct 3, 2013)
  2212. - Fix xattr issue when backing up sshfs filesystems (#4)
  2213. - Fix issue with excessive index file size (#6)
  2214. - Support access of read only repositories.
  2215. - New syntax to enable repository encryption:
  2216. attic init --encryption="none|passphrase|keyfile".
  2217. - Detect and abort if repository is older than the cache.
  2218. Version 0.7
  2219. ~~~~~~~~~~~
  2220. (feature release, released on Aug 5, 2013)
  2221. - Ported to FreeBSD
  2222. - Improved documentation
  2223. - Experimental: Archives mountable as FUSE filesystems.
  2224. - The "user." prefix is no longer stripped from xattrs on Linux
  2225. Version 0.6.1
  2226. ~~~~~~~~~~~~~
  2227. (bugfix release, released on July 19, 2013)
  2228. - Fixed an issue where mtime was not always correctly restored.
  2229. Version 0.6
  2230. ~~~~~~~~~~~
  2231. First public release on July 9, 2013