2
0

changes_1.x.rst 177 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440
  1. .. _important_notes_1x:
  2. Important notes 1.x
  3. ===================
  4. This section provides information about security and corruption issues.
  5. .. _archives_tam_vuln:
  6. Pre-1.2.5 archives spoofing vulnerability (CVE-2023-36811)
  7. ----------------------------------------------------------
  8. A flaw in the cryptographic authentication scheme in Borg allowed an attacker to
  9. fake archives and potentially indirectly cause backup data loss in the repository.
  10. The attack requires an attacker to be able to
  11. 1. insert files (with no additional headers) into backups
  12. 2. gain write access to the repository
  13. This vulnerability does not disclose plaintext to the attacker, nor does it
  14. affect the authenticity of existing archives.
  15. Creating plausible fake archives may be feasible for empty or small archives,
  16. but is unlikely for large archives.
  17. The fix enforces checking the TAM authentication tag of archives at critical
  18. places. Borg now considers archives without TAM as garbage or an attack.
  19. We are not aware of others having discovered, disclosed or exploited this vulnerability.
  20. Below, if we speak of borg 1.2.5, we mean a borg version >= 1.2.5 **or** a
  21. borg version that has the relevant security patches for this vulnerability applied
  22. (could be also an older version in that case).
  23. Steps you must take to upgrade a repository:
  24. 1. Upgrade all clients using this repository to borg 1.2.5.
  25. Note: it is not required to upgrade a server, except if the server-side borg
  26. is also used as a client (and not just for "borg serve").
  27. Do **not** run ``borg check`` with borg 1.2.5 before completing the upgrade steps.
  28. 2. Run ``borg info --debug <repository> 2>&1 | grep TAM | grep -i manifest``.
  29. a) If you get "TAM-verified manifest", continue with 3.
  30. b) If you get "Manifest TAM not found and not required", run
  31. ``borg upgrade --tam --force <repository>`` *on every client*.
  32. 3. Run ``borg list --format='{name} {time} tam:{tam}{NL}' <repository>``.
  33. "tam:verified" means that the archive has a valid TAM authentication.
  34. "tam:none" is expected as output for archives created by borg <1.0.9.
  35. "tam:none" could also come from archives created by an attacker.
  36. You should verify that "tam:none" archives are authentic and not malicious
  37. (== have good content, have correct timestamp, can be extracted successfully).
  38. In case you find crappy/malicious archives, you must delete them before proceeding.
  39. In low-risk, trusted environments, you may decide on your own risk to skip step 3
  40. and just trust in everything being OK.
  41. 4. If there are no tam:non archives left at this point, you can skip this step.
  42. Run ``borg upgrade --archives-tam <repository>``.
  43. This will make sure all archives are TAM authenticated (an archive TAM will be added
  44. for all archives still missing one).
  45. ``borg check`` would consider TAM-less archives as garbage or a potential attack.
  46. Optionally run the same command as in step 3 to see that all archives now are "tam:verified".
  47. Vulnerability time line:
  48. * 2023-06-13: Vulnerability discovered during code review by Thomas Waldmann
  49. * 2023-06-13...: Work on fixing the issue, upgrade procedure, docs.
  50. * 2023-06-30: CVE was assigned via Github CNA
  51. * 2023-06-30 .. 2023-08-29: Fixed issue, code review, docs, testing.
  52. * 2023-08-30: Released fixed version 1.2.5
  53. .. _hashindex_set_bug:
  54. Pre-1.1.11 potential index corruption / data loss issue
  55. -------------------------------------------------------
  56. A bug was discovered in our hashtable code, see issue #4829.
  57. The code is used for the client-side chunks cache and the server-side repo index.
  58. Although borg uses the hashtables very heavily, the index corruption did not
  59. happen too frequently, because it needed specific conditions to happen.
  60. Data loss required even more specific conditions, so it should be rare (and
  61. also detectable via borg check).
  62. You might be affected if borg crashed with / complained about:
  63. - AssertionError: Corrupted segment reference count - corrupted index or hints
  64. - ObjectNotFound: Object with key ... not found in repository ...
  65. - Index mismatch for key b'...'. (..., ...) != (-1, -1)
  66. - ValueError: stats_against: key contained in self but not in master_index.
  67. Advised procedure to fix any related issue in your indexes/caches:
  68. - install fixed borg code (on client AND server)
  69. - for all of your clients and repos remove the cache by:
  70. borg delete --cache-only YOURREPO
  71. (later, the cache will be re-built automatically)
  72. - for all your repos, rebuild the repo index by:
  73. borg check --repair YOURREPO
  74. This will also check all archives and detect if there is any data-loss issue.
  75. Affected branches / releases:
  76. - fd06497 introduced the bug into 1.1-maint branch - it affects all borg 1.1.x since 1.1.0b4.
  77. - fd06497 introduced the bug into master branch - it affects all borg 1.2.0 alpha releases.
  78. - c5cd882 introduced the bug into 1.0-maint branch - it affects all borg 1.0.x since 1.0.11rc1.
  79. The bug was fixed by:
  80. - 701159a fixes the bug in 1.1-maint branch - will be released with borg 1.1.11.
  81. - fa63150 fixes the bug in master branch - will be released with borg 1.2.0a8.
  82. - 7bb90b6 fixes the bug in 1.0-maint branch. Branch is EOL, no new release is planned as of now.
  83. .. _broken_validator:
  84. Pre-1.1.4 potential data corruption issue
  85. -----------------------------------------
  86. A data corruption bug was discovered in borg check --repair, see issue #3444.
  87. This is a 1.1.x regression, releases < 1.1 (e.g. 1.0.x) are not affected.
  88. To avoid data loss, you must not run borg check --repair using an unfixed version
  89. of borg 1.1.x. The first official release that has the fix is 1.1.4.
  90. Package maintainers may have applied the fix to updated packages of 1.1.x (x<4)
  91. though, see the package maintainer's package changelog to make sure.
  92. If you never had missing item metadata chunks, the bug has not affected you
  93. even if you did run borg check --repair with an unfixed version.
  94. When borg check --repair tried to repair corrupt archives that miss item metadata
  95. chunks, the resync to valid metadata in still present item metadata chunks
  96. malfunctioned. This was due to a broken validator that considered all (even valid)
  97. item metadata as invalid. As they were considered invalid, borg discarded them.
  98. Practically, that means the affected files, directories or other fs objects were
  99. discarded from the archive.
  100. Due to the malfunction, the process was extremely slow, but if you let it
  101. complete, borg would have created a "repaired" archive that has lost a lot of items.
  102. If you interrupted borg check --repair because it was so strangely slow (killing
  103. borg somehow, e.g. Ctrl-C) the transaction was rolled back and no corruption occurred.
  104. The log message indicating the precondition for the bug triggering looks like:
  105. item metadata chunk missing [chunk: 001056_bdee87d...a3e50d]
  106. If you never had that in your borg check --repair runs, you're not affected.
  107. But if you're unsure or you actually have seen that, better check your archives.
  108. By just using "borg list repo::archive" you can see if all expected filesystem
  109. items are listed.
  110. .. _tam_vuln:
  111. Pre-1.0.9 manifest spoofing vulnerability (CVE-2016-10099)
  112. ----------------------------------------------------------
  113. A flaw in the cryptographic authentication scheme in Borg allowed an attacker
  114. to spoof the manifest. The attack requires an attacker to be able to
  115. 1. insert files (with no additional headers) into backups
  116. 2. gain write access to the repository
  117. This vulnerability does not disclose plaintext to the attacker, nor does it
  118. affect the authenticity of existing archives.
  119. The vulnerability allows an attacker to create a spoofed manifest (the list of archives).
  120. Creating plausible fake archives may be feasible for small archives, but is unlikely
  121. for large archives.
  122. The fix adds a separate authentication tag to the manifest. For compatibility
  123. with prior versions this authentication tag is *not* required by default
  124. for existing repositories. Repositories created with 1.0.9 and later require it.
  125. Steps you should take:
  126. 1. Upgrade all clients to 1.0.9 or later.
  127. 2. Run ``borg upgrade --tam <repository>`` *on every client* for *each* repository.
  128. 3. This will list all archives, including archive IDs, for easy comparison with your logs.
  129. 4. Done.
  130. Prior versions can access and modify repositories with this measure enabled, however,
  131. to 1.0.9 or later their modifications are indiscernible from an attack and will
  132. raise an error until the below procedure is followed. We are aware that this can
  133. be annoying in some circumstances, but don't see a way to fix the vulnerability
  134. otherwise.
  135. In case a version prior to 1.0.9 is used to modify a repository where above procedure
  136. was completed, and now you get an error message from other clients:
  137. 1. ``borg upgrade --tam --force <repository>`` once with *any* client suffices.
  138. This attack is mitigated by:
  139. - Noting/logging ``borg list``, ``borg info``, or ``borg create --stats``, which
  140. contain the archive IDs.
  141. We are not aware of others having discovered, disclosed or exploited this vulnerability.
  142. Vulnerability time line:
  143. * 2016-11-14: Vulnerability and fix discovered during review of cryptography by Marian Beermann (@enkore)
  144. * 2016-11-20: First patch
  145. * 2016-12-20: Released fixed version 1.0.9
  146. * 2017-01-02: CVE was assigned
  147. * 2017-01-15: Released fixed version 1.1.0b3 (fix was previously only available from source)
  148. .. _attic013_check_corruption:
  149. Pre-1.0.9 potential data loss
  150. -----------------------------
  151. If you have archives in your repository that were made with attic <= 0.13
  152. (and later migrated to borg), running borg check would report errors in these
  153. archives. See issue #1837.
  154. The reason for this is a invalid (and useless) metadata key that was
  155. always added due to a bug in these old attic versions.
  156. If you run borg check --repair, things escalate quickly: all archive items
  157. with invalid metadata will be killed. Due to that attic bug, that means all
  158. items in all archives made with these old attic versions.
  159. Pre-1.0.4 potential repo corruption
  160. -----------------------------------
  161. Some external errors (like network or disk I/O errors) could lead to
  162. corruption of the backup repository due to issue #1138.
  163. A sign that this happened is if "E" status was reported for a file that can
  164. not be explained by problems with the source file. If you still have logs from
  165. "borg create -v --list", you can check for "E" status.
  166. Here is what could cause corruption and what you can do now:
  167. 1) I/O errors (e.g. repo disk errors) while writing data to repo.
  168. This could lead to corrupted segment files.
  169. Fix::
  170. # check for corrupt chunks / segments:
  171. borg check -v --repository-only REPO
  172. # repair the repo:
  173. borg check -v --repository-only --repair REPO
  174. # make sure everything is fixed:
  175. borg check -v --repository-only REPO
  176. 2) Unreliable network / unreliable connection to the repo.
  177. This could lead to archive metadata corruption.
  178. Fix::
  179. # check for corrupt archives:
  180. borg check -v --archives-only REPO
  181. # delete the corrupt archives:
  182. borg delete --force REPO::CORRUPT_ARCHIVE
  183. # make sure everything is fixed:
  184. borg check -v --archives-only REPO
  185. 3) In case you want to do more intensive checking.
  186. The best check that everything is ok is to run a dry-run extraction::
  187. borg extract -v --dry-run REPO::ARCHIVE
  188. .. _changelog_1x:
  189. Change Log 1.x
  190. ==============
  191. Version 1.3.0a1 (2022-04-15)
  192. ----------------------------
  193. Please note:
  194. This is an alpha release, only for testing - do not use this with production repos.
  195. New features:
  196. - init: new --encryption=(repokey|keyfile)-[blake2-](aes-ocb|chacha20-poly1305)
  197. - New, better, faster crypto (see encryption-aead diagram in the docs), #6463.
  198. - New AEAD cipher suites: AES-OCB and CHACHA20-POLY1305.
  199. - Session keys are derived via HKDF from random session id and master key.
  200. - Nonces/MessageIVs are counters starting from 0 for each session.
  201. - AAD: chunk id, key type, messageIV, sessionID are now authenticated also.
  202. - Solves the potential AES-CTR mode counter management issues of the legacy crypto.
  203. - init: --key-algorithm=argon2 (new default KDF, older pbkdf2 also still available)
  204. borg key change-passphrase / change-location keeps the key algorithm unchanged.
  205. - key change-algorithm: to upgrade existing keys to argon2 or downgrade to pbkdf2.
  206. We recommend you to upgrade unless you have to keep the key compatible with older versions of borg.
  207. - key change-location: usable for repokey <-> keyfile location change
  208. - benchmark cpu: display benchmarks of cpu bound stuff
  209. - export-tar: new --tar-format=PAX (default: GNU)
  210. - import-tar/export-tar: can use PAX format for ctime and atime support
  211. - import-tar/export-tar: --tar-format=BORG: roundtrip ALL item metadata, #5830
  212. - repository: create and use version 2 repos only for now
  213. - repository: implement PUT2: header crc32, overall xxh64, #1704
  214. Other changes:
  215. - require python >= 3.9, #6315
  216. - simplify libs setup, #6482
  217. - unbundle most bundled 3rd party code, use libs, #6316
  218. - use libdeflate.crc32 (Linux and all others) or zlib.crc32 (macOS)
  219. - repository: code cleanups / simplifications
  220. - internal crypto api: speedups / cleanups / refactorings / modernisation
  221. - remove "borg upgrade" support for "attic backup" repos
  222. - remove PassphraseKey code and borg key migrate-to-repokey command
  223. - OpenBSD: build borg with OpenSSL (not: LibreSSL), #6474
  224. - remove support for LibreSSL, #6474
  225. - remove support for OpenSSL < 1.1.1
  226. Version 1.2.0 (2022-02-22 22:02:22 :-)
  227. --------------------------------------
  228. Please note:
  229. This is the first borg 1.2 release, so be careful and read the notes below.
  230. Upgrade notes:
  231. Strictly taken, nothing special is required for upgrading to 1.2, but some
  232. things can be recommended:
  233. - do you already want to upgrade? 1.1.x also will get fixes for a while.
  234. - be careful, first upgrade your less critical / smaller repos.
  235. - first upgrade to a recent 1.1.x release - especially if you run some older
  236. 1.1.* or even 1.0.* borg release.
  237. - using that, run at least one `borg create` (your normal backup), `prune`
  238. and especially a `check` to see everything is in a good state.
  239. - check the output of `borg check` - if there is anything special, consider
  240. a `borg check --repair` followed by another `borg check`.
  241. - if everything is fine so far (borg check reports no issues), you can consider
  242. upgrading to 1.2.0. if not, please first fix any already existing issue.
  243. - if you want to play safer, first **create a backup of your borg repository**.
  244. - upgrade to latest borg 1.2.x release (you could use the fat binary from
  245. github releases page)
  246. - run `borg compact --cleanup-commits` to clean up a ton of 17 bytes long files
  247. in your repo caused by a borg 1.1 bug
  248. - run `borg check` again (now with borg 1.2.x) and check if there is anything
  249. special.
  250. - run `borg info` (with borg 1.2.x) to build the local pre12-meta cache (can
  251. take significant time, but after that it will be fast) - for more details
  252. see below.
  253. - check the compatibility notes (see below) and adapt your scripts, if needed.
  254. - if you run into any issues, please check the github issue tracker before
  255. posting new issues there or elsewhere.
  256. If you follow this procedure, you can help avoiding that we get a lot of
  257. "borg 1.2" issue reports that are not really 1.2 issues, but existed before
  258. and maybe just were not noticed.
  259. Compatibility notes:
  260. - matching of path patterns has been aligned with borg storing relative paths.
  261. Borg archives file paths without leading slashes. Previously, include/exclude
  262. patterns could contain leading slashes. You should check your patterns and
  263. remove leading slashes.
  264. - dropped support / testing for older Pythons, minimum requirement is 3.8.
  265. In case your OS does not provide Python >= 3.8, consider using our binary,
  266. which does not need an external Python interpreter. Or continue using
  267. borg 1.1.x, which is still supported.
  268. - freeing repository space only happens when "borg compact" is invoked.
  269. - mount: the default for --numeric-ids is False now (same as borg extract)
  270. - borg create --noatime is deprecated. Not storing atime is the default behaviour
  271. now (use --atime if you want to store the atime).
  272. - list: corrected mix-up of "isomtime" and "mtime" formats.
  273. Previously, "isomtime" was the default but produced a verbose human format,
  274. while "mtime" produced a ISO-8601-like format.
  275. The behaviours have been swapped (so "mtime" is human, "isomtime" is ISO-like),
  276. and the default is now "mtime".
  277. "isomtime" is now a real ISO-8601 format ("T" between date and time, not a space).
  278. - create/recreate --list: file status for all files used to get announced *AFTER*
  279. the file (with borg < 1.2). Now, file status is announced *BEFORE* the file
  280. contents are processed. If the file status changes later (e.g. due to an error
  281. or a content change), the updated/final file status will be printed again.
  282. - removed deprecated-since-long stuff (deprecated since):
  283. - command "borg change-passphrase" (2017-02), use "borg key ..."
  284. - option "--keep-tag-files" (2017-01), use "--keep-exclude-tags"
  285. - option "--list-format" (2017-10), use "--format"
  286. - option "--ignore-inode" (2017-09), use "--files-cache" w/o "inode"
  287. - option "--no-files-cache" (2017-09), use "--files-cache=disabled"
  288. - removed BORG_HOSTNAME_IS_UNIQUE env var.
  289. to use borg you must implement one of these 2 scenarios:
  290. - 1) the combination of FQDN and result of uuid.getnode() must be unique
  291. and stable (this should be the case for almost everybody, except when
  292. having duplicate FQDN *and* MAC address or all-zero MAC address)
  293. - 2) if you are aware that 1) is not the case for you, you must set
  294. BORG_HOST_ID env var to something unique.
  295. - exit with 128 + signal number, #5161.
  296. if you have scripts expecting rc == 2 for a signal exit, you need to update
  297. them to check for >= 128.
  298. Fixes:
  299. - diff: reduce memory consumption, fix is_hardlink_master, #6295
  300. - compact: fix / improve freeable / freed space log output
  301. - derive really freed space from quota use before/after, #5679
  302. - do not say "freeable", but "maybe freeable" (based on hint, unsure)
  303. - fix race conditions in internal SaveFile function, #6306 #6028
  304. - implement internal safe_unlink (was: truncate_and_unlink) function more safely:
  305. usually it does not truncate any more, only under "disk full" circumstances
  306. and only if there is only one hardlink.
  307. see: https://github.com/borgbackup/borg/discussions/6286
  308. Other changes:
  309. - info: use a pre12-meta cache to accelerate stats for borg < 1.2 archives.
  310. the first time borg info is invoked on a borg 1.1 repo, it can take a
  311. rather long time computing and caching some stats values for 1.1 archives,
  312. which borg 1.2 archives have in their archive metadata structure.
  313. be patient, esp. if you have lots of old archives.
  314. following invocations are much faster due to the cache.
  315. related change: add archive name to calc_stats progress display.
  316. - docs:
  317. - add borg 1.2 upgrade notes, #6217
  318. - link to borg placeholders and borg patterns help
  319. - init: explain the encryption modes better
  320. - clarify usage of patternfile roots
  321. - put import-tar docs into same file as export-tar docs
  322. - explain the difference between a path that ends with or without a slash,
  323. #6297
  324. Version 1.2.0rc1 (2022-02-05)
  325. -----------------------------
  326. Fixes:
  327. - repo::archive location placeholder expansion fixes, #5826, #5998
  328. - repository: fix intermediate commits, shall be at end of current segment
  329. - delete: don't commit if nothing was deleted, avoid cache sync, #6060
  330. - argument parsing: accept some options only once, #6026
  331. - disallow overwriting of existing keyfiles on init, #6036
  332. - if ensure_dir() fails, give more informative error message, #5952
  333. New features:
  334. - delete --force: do not ask when deleting a repo, #5941
  335. Other changes:
  336. - requirements: exclude broken or incompatible-with-pyinstaller setuptools
  337. - add a requirements.d/development.lock.txt and use it for vagrant
  338. - tests:
  339. - added nonce-related tests
  340. - refactor: remove assert_true
  341. - vagrant: macos box tuning, netbsd box fixes, #5370, #5922
  342. - docs:
  343. - update install docs / requirements docs, #6180
  344. - borg mount / FUSE "versions" view is not experimental any more
  345. - --pattern* is not experimental any more, #6134
  346. - impact of deleting path/to/repo/nonce, #5858
  347. - key export: add examples, #6204
  348. - ~/.config/borg/keys is not used for repokey keys, #6107
  349. - excluded parent dir's metadata can't restore
  350. Version 1.2.0b4 (2022-01-23)
  351. ----------------------------
  352. Fixes:
  353. - create: fix passing device nodes and symlinks to --paths-from-stdin, #6009
  354. - create --dry-run: fix display of kept tagfile, #5834
  355. - check --repair: fix missing parameter in "did not consistently fail" msg, #5822
  356. - fix hardlinkable file type check, #6037
  357. - list: remove placeholders for shake_* hashes, #6082
  358. - prune: handle case of calling prune_split when there are no archives, #6015
  359. - benchmark crud: make sure cleanup of borg-test-data files/dir happens, #5630
  360. - do not show archive name in repository-related error msgs, #6014
  361. - prettier error msg (no stacktrace) if exclude file is missing, #5734
  362. - do not require BORG_CONFIG_DIR if BORG_{SECURITY,KEYS}_DIR are set, #5979
  363. - fix pyinstaller detection for dir-mode, #5897
  364. - atomically create the CACHE_TAG file, #6028
  365. - deal with the SaveFile/SyncFile race, docs, see #6056 708a5853
  366. - avoid expanding path into LHS of formatting operation + tests, #6064 #6063
  367. - repository: quota / compactable computation fixes
  368. - info: emit repo info even if repo has 0 archives + test, #6120
  369. New features:
  370. - check --repair: significantly speed up search for next valid object in segment, #6022
  371. - check: add progress indicator for archive check, #5809
  372. - create: add retry_erofs workaround for O_NOATIME issue on volume shadow copies in WSL1, #6024
  373. - create: allow --files-cache=size (this is potentially dangerous, use on your own risk), #5686
  374. - import-tar: implement import-tar to complement export-tar, #2233
  375. - implement BORG_SELFTEST env variable (can be carefully used to speedup borg hosting), #5871
  376. - key export: print key if path is '-' or not given, #6092
  377. - list --format: Add command_line to format keys
  378. Other changes:
  379. - pypi metadata: alpha -> beta
  380. - require python 3.8+, #5975
  381. - use pyinstaller 4.7
  382. - allow msgpack 1.0.3
  383. - upgrade to bundled xxhash to 0.8.1
  384. - import-tar / export-tar: tar file related changes:
  385. - check for short tarfile extensions
  386. - add .lz4 and .zstd
  387. - fix docs about extensions and decompression commands
  388. - add github codeql analysis, #6148
  389. - vagrant:
  390. - box updates / add new boxes / remove outdated and broken boxes
  391. - use Python 3.9.10 (incl. binary builds) and 3.10.0
  392. - fix pyenv initialisation, #5798
  393. - fix vagrant scp on macOS, #5921
  394. - use macfuse instead of osxfuse
  395. - shell completions:
  396. - update shell completions to 1.1.17, #5923
  397. - remove BORG_LIBC completion, since 9914968 borg no longer uses find_library().
  398. - docs:
  399. - fixed readme.rst irc webchat link (we use libera chat now, not freenode)
  400. - fix exceptions thrown by `setup.py build_man`
  401. - check --repair: recommend checking hw before check --repair, #5855
  402. - check --verify-data: clarify and document conflict with --repository-only, #5808
  403. - serve: improve ssh forced commands docs, #6083
  404. - list: improve docs for `borg list` --format, #6061
  405. - list: remove --list-format from borg list
  406. - FAQ: fix manifest-timestamp path (inside security dir)
  407. - fix the broken link to .nix file
  408. - document behavior for filesystems with inconsistent inodes, #5770
  409. - clarify user_id vs uid for fuse, #5723
  410. - clarify pattern usage with commands, #5176
  411. - clarify pp vs. pf pattern type, #5300
  412. - update referenced freebsd/macOS versions used for binary build, #5942
  413. - pull mode: add some warnings, #5827
  414. - clarify "you will need key and passphrase" borg init warning, #4622
  415. - add missing leading slashes in help patterns, #5857
  416. - add info on renaming repositories, #5240
  417. - check: add notice about defective hardware, #5753
  418. - mention tar --compare (compare archive to fs files), #5880
  419. - add note about grandfather-father-son backup retention policy / rotation scheme, #6006
  420. - permissions note rewritten to make it less confusing
  421. - create github security policy
  422. - remove leftovers of BORG_HOSTNAME_IS_UNIQUE
  423. - excluded parent dir's metadata can't restore. (#6062)
  424. - if parent dir is not extracted, we do not have its metadata
  425. - clarify who starts the remote agent
  426. Version 1.2.0b3 (2021-05-12)
  427. ----------------------------
  428. Fixes:
  429. - create: fix --progress --log-json, #4360#issuecomment-774580052
  430. - do not load files cache for commands not using it, #5673
  431. - fix repeated cache tag file writing bug
  432. New features:
  433. - create/recreate: print preliminary file status early, #5417
  434. - create/extract: add --noxattrs and --noacls options, #3955
  435. - create: verbose files cache logging via --debug-topic=files_cache, #5659
  436. - mount: implement --numeric-ids (default: False!), #2377
  437. - diff: add --json-lines option
  438. - info / create --stats: add --iec option to print sizes in powers of 1024.
  439. Other changes:
  440. - create: add --upload-(ratelimit|buffer), deprecate --remote-* options, #5611
  441. - create/extract/mount: add --numeric-ids, deprecate --numeric-owner option, #5724
  442. - config: accept non-int value for max_segment_size / storage_quota
  443. - use PyInstaller v4.3, #5671
  444. - vagrant: use Python 3.9.5 to build binaries
  445. - tox.ini: modernize and enable execution without preinstalling deps
  446. - cleanup code style checks
  447. - get rid of distutils, use setuptools+packaging
  448. - github CI: test on Python 3.10-dev
  449. - check: missing / healed chunks: always tell chunk ID, #5704
  450. - docs:
  451. - remove bad /var/cache exclusion in example commands, #5625
  452. - misc. fixes and improvements, esp. for macOS
  453. - add unsafe workaround to use an old repo copy, #5722
  454. Version 1.2.0b2 (2021-02-06)
  455. ----------------------------
  456. Fixes:
  457. - create: do not recurse into duplicate roots, #5603
  458. - create: only print stats if not ctrl-c'ed, fixes traceback, #5668
  459. - extract:
  460. improve exception handling when setting xattrs, #5092.
  461. emit a warning message giving the path, xattr key and error message.
  462. continue trying to restore other xattrs and bsdflags of the same file
  463. after an exception with xattr-setting happened.
  464. - export-tar:
  465. fix memory leak with ssh: remote repository, #5568.
  466. fix potential memory leak with ssh: remote repository with partial extraction.
  467. - remove empty shadowed_segments lists, #5275
  468. - fix bad default: manifest.archives.list(consider_checkpoints=False),
  469. fixes tracebacks / KeyErros for missing objects in ChunkIndex, #5668
  470. New features:
  471. - create: improve sparse file support
  472. - create --sparse (detect sparse file holes) and file map support,
  473. only for the "fixed" chunker, #14
  474. - detect all-zero chunks in read data in "buzhash" and "fixed" chunkers
  475. - cached_hash: use a small LRU cache to accelerate all-zero chunks hashing
  476. - use cached_hash also to generate all-zero replacement chunks
  477. - create --remote-buffer, add a upload buffer for remote repos, #5574
  478. - prune: keep oldest archive when retention target not met
  479. Other changes:
  480. - use blake2 from python 3.6+ hashlib
  481. (this removes the requirement for libb2 and the bundled blake2 code)
  482. - also accept msgpack up to 1.0.2.
  483. exclude 1.0.1 though, which had some issues (not sure they affect borg).
  484. - create: add repository location to --stats output, #5491
  485. - check: debug log the segment filename
  486. - delete: add a --list switch to borg delete, #5116
  487. - borg debug dump-hints - implemented to e.g. to look at shadow_index
  488. - Tab completion support for additional archives for 'borg delete'
  489. - refactor: have one borg.constants.zero all-zero bytes object
  490. - refactor shadow_index updating repo.put/delete, #5661, #5636.
  491. - docs:
  492. - add another case of attempted hardlink usage
  493. - fix description of borg upgrade hardlink usage, #5518
  494. - use HTTPS everywhere
  495. - add examples for --paths-from-stdin, --paths-from-command, --paths-separator, #5644
  496. - fix typos/grammar
  497. - update docs for dev environment installation instructions
  498. - recommend running tests only on installed versions for setup
  499. - add badge with current status of package
  500. - vagrant:
  501. - use brew install --cask ..., #5557
  502. - use Python 3.9.1 and PyInstaller 4.1 to build the borg binary
  503. Version 1.2.0b1 (2020-12-06)
  504. ----------------------------
  505. Fixes:
  506. - BORG_CACHE_DIR crashing borg if empty, atomic handling of
  507. recursive directory creation, #5216
  508. - fix --dry-run and --stats coexistence, #5415
  509. - allow EIO with warning when trying to hardlink, #4336
  510. - export-tar: set tar format to GNU_FORMAT explicitly, #5274
  511. - use --timestamp for {utcnow} and {now} if given, #5189
  512. - make timestamp helper timezone-aware
  513. New features:
  514. - create: implement --paths-from-stdin and --paths-from-command, see #5492.
  515. These switches read paths to archive from stdin. Delimiter can specified
  516. by --paths-delimiter=DELIM. Paths read will be added honoring every
  517. option but exclusion options and --one-file-system. borg won't recurse
  518. into directories.
  519. - 'obfuscate' pseudo compressor obfuscates compressed chunk size in repo
  520. - add pyfuse3 (successor of llfuse) as an alternative lowlevel fuse
  521. implementation to llfuse (deprecated), #5407.
  522. FUSE implementation can be switched via env var BORG_FUSE_IMPL.
  523. - allow appending to the files cache filename with BORG_FILES_CACHE_SUFFIX
  524. - create: implement --stdin-mode, --stdin-user and --stdin-group, #5333
  525. Other changes:
  526. - split recursive directory walking/processing into directory walking and
  527. item processing.
  528. - fix warning by importing setuptools before distutils.
  529. - debug info: include infos about FUSE implementation, #5546
  530. - testing:
  531. - add a test for the hashindex corruption bug, #5531 #4829
  532. - move away from travis-ci, use github actions, #5528 #5467
  533. - test both on fuse2 and fuse3
  534. - upload coverage reports to codecov
  535. - fix spurious failure in test_cache_files, #5438
  536. - add tests for Location.with_timestamp
  537. - tox: add a non-fuse env to the envlist
  538. - vagrant:
  539. - use python 3.7.latest and pyinstaller 4.0 for binary creation
  540. - pyinstaller: compute basepath from spec file location
  541. - vagrant: updates/fixes for archlinux box, #5543
  542. - docs:
  543. - "filename with spaces" example added to exclude file, #5236
  544. - add a hint about sleeping computer, #5301
  545. - how to adjust macOS >= Catalina security settings, #5303
  546. - process/policy for adding new compression algorithms
  547. - updated docs about hacked backup client, #5480
  548. - improve ansible deployment docs, make it more generic
  549. - how to approach borg speed issues, give speed example, #5371
  550. - fix mathematical inaccuracy about chunk size, #5336
  551. - add example for excluding content using --pattern cli option
  552. - clarify borg create's '--one-file-system' option, #4009
  553. - improve docs/FAQ about append-only remote repos, #5497
  554. - fix reST markup issues, labels
  555. - add infos about contributor retirement status
  556. Version 1.2.0a9 (2020-10-05)
  557. ----------------------------
  558. Fixes:
  559. - fix memory leak related to preloading, #5202
  560. - check --repair: fix potential data loss, #5325
  561. - persist shadow_index in between borg runs, #4830
  562. - fix hardlinked CACHEDIR.TAG processing, #4911
  563. - --read-special: .part files also should be regular files, #5217
  564. - allow server side enforcing of umask, --umask is for the local borg
  565. process only (see docs), #4947
  566. - exit with 128 + signal number, #5161
  567. - borg config --list does not show last_segment_checked, #5159
  568. - locking:
  569. - fix ExclusiveLock race condition bug, #4923
  570. - fix race condition in lock migration, #4953
  571. - fix locking on openindiana, #5271
  572. New features:
  573. - --content-from-command: create archive using stdout of given command, #5174
  574. - allow key-import + BORG_KEY_FILE to create key files
  575. - build directory-based binary for macOS to avoid Gatekeeper delays
  576. Other changes:
  577. - upgrade bundled zstd to 1.4.5
  578. - upgrade bundled xxhash to 0.8.0, #5362
  579. - if self test fails, also point to OS and hardware, #5334
  580. - misc. shell completions fixes/updates, rewrite zsh completion
  581. - prettier error message when archive gets too big, #5307
  582. - stop relying on `false` exiting with status code 1
  583. - rephrase some warnings, #5164
  584. - parseformat: unnecessary calls removed, #5169
  585. - testing:
  586. - enable Python3.9 env for test suite and VMs, #5373
  587. - drop python 3.5, #5344
  588. - misc. vagrant fixes/updates
  589. - misc. testing fixes, #5196
  590. - docs:
  591. - add ssh-agent pull backup method to doc, #5288
  592. - mention double --force in prune docs
  593. - update Homebrew install instructions, #5185
  594. - better description of how cache and rebuilds of it work
  595. and how the workaround applies to that
  596. - point to borg create --list item flags in recreate usage, #5165
  597. - add a note to create from stdin regarding files cache, #5180
  598. - add security faq explaining AES-CTR crypto issues, #5254
  599. - clarify --exclude-if-present in recreate, #5193
  600. - add socat pull mode, #5150, #900
  601. - move content of resources doc page to community project, #2088
  602. - explain hash collision, #4884
  603. - clarify --recompress option, #5154
  604. Version 1.2.0a8 (2020-04-22)
  605. ----------------------------
  606. Fixes:
  607. - fixed potential index corruption / data loss issue due to bug in hashindex_set, #4829.
  608. Please read and follow the more detailed notes close to the top of this document.
  609. - fix crash when upgrading erroneous hints file, #4922
  610. - commit-time free space calc: ignore bad compact map entries, #4796
  611. - info: if the archive doesn't exist, print a pretty message, #4793
  612. - --prefix / -P: fix processing, avoid argparse issue, #4769
  613. - ignore EACCES (errno 13) when hardlinking, #4730
  614. - add a try catch when formatting the info string, #4818
  615. - check: do not stumble over invalid item key, #4845
  616. - update prevalence of env vars to set config and cache paths
  617. - mount: fix FUSE low linear read speed on large files, #5032
  618. - extract: fix confusing output of borg extract --list --strip-components, #4934
  619. - recreate: support --timestamp option, #4745
  620. - fix ProgressIndicator msgids (JSON output), #4935
  621. - fuse: set f_namemax in statfs result, #2684
  622. - accept absolute paths on windows
  623. - pyinstaller: work around issue with setuptools > 44
  624. New features:
  625. - chunker speedup (plus regression test)
  626. - added --consider-checkpoints and related test, #4788
  627. - added --noflags option, deprecate --nobsdflags option, #4489
  628. - compact: add --threshold option, #4674
  629. - mount: add birthtime to FUSE entries
  630. - support platforms with no os.link, #4901 - if we don't have os.link,
  631. we just extract another copy instead of making a hardlink.
  632. - move sync_file_range to its own extension for better platform compatibility.
  633. - new --bypass-lock option to bypass locking, e.g. for read-only repos
  634. - accept absolute paths by removing leading slashes in patterns of all
  635. sorts but re: style, #4029
  636. - delete: new --keep-security-info option
  637. Other changes:
  638. - support msgpack 0.6.2 and 1.0.0, #5065
  639. - upgrade bundled zstd to 1.4.4
  640. - upgrade bundled lz4 to 1.9.2
  641. - upgrade xxhash to 0.7.3
  642. - require recent enough llfuse for birthtime support, #5064
  643. - only store compressed data if the result actually is smaller, #4516
  644. - check: improve error output for matching index size, see #4829
  645. - ignore --stats when given with --dry-run, but continue, #4373
  646. - replaced usage of os.statvfs with shutil.disk_usage (better cross-platform support).
  647. - fuse: remove unneeded version check and compat code, micro opts
  648. - docs:
  649. - improve description of path variables
  650. - document how to delete data completely, #2929
  651. - add FAQ about Borg config dir, #4941
  652. - add docs about errors not printed as JSON, #4073
  653. - update usage_general.rst.inc
  654. - added "Will move with BORG_CONFIG_DIR variable unless specified." to BORG_SECURITY_DIR info.
  655. - put BORG_SECURITY_DIR immediately below BORG_CONFIG_DIR (and moved BORG_CACHE_DIR up before them).
  656. - add paragraph regarding cache security assumptions, #4900
  657. - tell about borg cache security precautions
  658. - add FAQ describing difference between a local repo vs. repo on a server.
  659. - document how to test exclusion patterns without performing an actual backup
  660. - create: tell that "Calculating size" time and space needs are caused by --progress
  661. - fix/improve documentation for @api decorator, #4674
  662. - add a pull backup / push restore how-to, #1552
  663. - fix man pages creation, #4752
  664. - more general FAQ for backup and retain original paths, #4532
  665. - explain difference between --exclude and --pattern, #4118
  666. - add FAQ for preventing SSH timeout in extract, #3866
  667. - improve password FAQ (decrease pw length, add -w 0 option to base64 to prevent line wrap), #4591
  668. - add note about patterns and stored paths, #4160
  669. - add upgrade of tools to pip installation how-to, #5090
  670. - document one cause of orphaned chunks in check command, #2295
  671. - clean up the whole check usage paragraph
  672. - FAQ: linked recommended restrictions to ssh public keys on borg servers, #4946
  673. - fixed "doc downplays severity of Nonce reuse issue", #4883
  674. - borg repo restore instructions needed, #3428
  675. - new FAQ: A repo is corrupt and must be replaced with an older repo.
  676. - clarify borg init's encryption modes
  677. - native windows port:
  678. - update README_WINDOWS.rst
  679. - updated pyinstaller spec file to support windows builds
  680. - testing / CI:
  681. - improved travis config / install script, improved macOS builds
  682. - allow osx builds to fail, #4955
  683. - Windows 10 build on Appveyor CI
  684. - vagrant:
  685. - upgrade pyinstaller to v3.5 + patch
  686. - use py369 for binary build, add py380 for tests
  687. - fix issue in stretch VM hanging at grub installation
  688. - add a debian buster and a ubuntu focal VM
  689. - update darwin box to 10.12
  690. - upgrade FreeBSD box to 12.1
  691. - fix debianoid virtualenv packages
  692. - use pyenv in freebsd64 VM
  693. - remove the flake8 test
  694. - darwin: avoid error if pkg is already installed
  695. - debianoid: don't interactively ask questions
  696. Version 1.2.0a7 (2019-09-07)
  697. ----------------------------
  698. Fixes:
  699. - slave hardlinks extraction issue, see #4350
  700. - extract: fix KeyError for "partial" extraction, #4607
  701. - preload chunks for hardlink slaves w/o preloaded master, #4350
  702. - fix preloading for old remote servers, #4652
  703. - fix partial extract for hardlinked contentless file types, #4725
  704. - Repository.open: use stat() to check for repo dir, #4695
  705. - Repository.check_can_create_repository: use stat() to check, ~ #4695.
  706. - SecurityManager.known(): check all files, #4614
  707. - after double-force delete, warn about necessary repair, #4704
  708. - cope with ANY error when importing pytest into borg.testsuite, #4652
  709. - fix invalid archive error message
  710. - setup.py: fix detection of missing Cython
  711. - filter out selinux xattrs, #4574
  712. - location arg - should it be optional? #4541
  713. - enable placeholder usage in --comment, #4559
  714. - use whitelist approach for borg serve, #4097
  715. New features:
  716. - minimal native Windows support, see windows readme (work in progress)
  717. - create: first ctrl-c (SIGINT) triggers checkpoint and abort, #4606
  718. - new BORG_WORKAROUNDS mechanism, basesyncfile, #4710
  719. - remove WSL autodetection. if WSL still has this problem, you need to
  720. set BORG_WORKAROUNDS=basesyncfile in the borg process environment to
  721. work around it.
  722. - support xxh64 checksum in addition to the hashlib hashes in borg list
  723. - enable placeholder usage in all extra archive arguments
  724. - enable placeholder usage in --comment, #4559
  725. - enable placeholder usage in --glob-archives, #4495
  726. - ability to use a system-provided version of "xxhash"
  727. - create:
  728. - changed the default behaviour not to store the atime of fs items. atime is
  729. often rather not interesting and fragile - it easily changes even if nothing
  730. else has changed and, if stored into the archive, spoils deduplication of
  731. the archive metadata stream.
  732. - if you give the --noatime option, borg will output a deprecation warning
  733. because it is currently ignored / does nothing.
  734. Please remove the --noatime option when using borg 1.2.
  735. - added a --atime option for storing files' atime into an archive
  736. Other changes:
  737. - argparser: always use REPOSITORY in metavar
  738. - do not check python/libc for borg serve, #4483
  739. - small borg compact improvements, #4522
  740. - compact: log freed space at INFO level
  741. - tests:
  742. - tox / travis: add testing on py38-dev
  743. - fix broken test that relied on improper zlib assumptions
  744. - pure-py msgpack warning shall not make a lot of tests fail, #4558
  745. - rename test_mount_hardlinks to test_fuse_mount_hardlinks (master)
  746. - vagrant: add up-to-date openindiana box (py35, openssl10)
  747. - get rid of confusing coverage warning, #2069
  748. - docs:
  749. - reiterate that 'file cache names are absolute' in FAQ,
  750. mention bind mount solution, #4738
  751. - add restore docs, #4670
  752. - updated docs to cover use of temp directory on remote, #4545
  753. - add a push-style example to borg-create(1), #4613
  754. - timestamps in the files cache are now usually ctime, #4583
  755. - benchmark crud: clarify that space is used until compact
  756. - update documentation of borg create,
  757. corrects a mention of borg 1.1 as a future version.
  758. - fix osxfuse github link in installation docs
  759. - how to supply a passphrase, use crypto devices, #4549
  760. - extract: document limitation "needs empty destination", #4598
  761. - update macOS Brew link
  762. - add note about software for automating backup
  763. - compact: improve docs,
  764. - README: new URL for funding options
  765. Version 1.2.0a6 (2019-04-22)
  766. ----------------------------
  767. Fixes:
  768. - delete / prune: consider part files correctly for stats, #4507
  769. - fix "all archives" stats considering part files, #4329
  770. - create: only run stat_simple_attrs() once
  771. - create: --stats does not work with --dry-run, exit with error msg, #4373
  772. - give "invalid repo" error msg if repo config not found, #4411
  773. New features:
  774. - display msgpack version as part of sysinfo (e.g. in tracebacks)
  775. Other changes:
  776. - docs:
  777. - sdd "SSH Configuration" section, #4493, #3988, #636, #4485
  778. - better document borg check --max-duration, #4473
  779. - sorted commands help in multiple steps, #4471
  780. - testing:
  781. - travis: use py 3.5.3 and 3.6.7 on macOS to get a pyenv-based python
  782. build with openssl 1.1
  783. - vagrant: use py 3.5.3 and 3.6.8 on darwin64 VM to build python and
  784. borg with openssl 1.1
  785. - pytest: -v and default XDISTN to 1, #4481
  786. Version 1.2.0a5 (2019-03-21)
  787. ----------------------------
  788. Fixes:
  789. - warn if a file has changed while being backed up, #1750
  790. - lrucache: regularly remove old FDs, #4427
  791. - borg command shall terminate with rc 2 for ImportErrors, #4424
  792. - make freebsd xattr platform code api compatible with linux, #3952
  793. Other changes:
  794. - major setup code refactoring (especially how libraries like openssl, liblz4,
  795. libzstd, libb2 are discovered and how it falls back to code bundled with
  796. borg), new: uses pkg-config now (and needs python "pkgconfig" package
  797. installed), #1925
  798. if you are a borg package maintainer, please try packaging this
  799. (see comments in setup.py).
  800. - Vagrantfile: add zstd, reorder, build env vars, #4444
  801. - travis: install script improvements
  802. - update shell completions
  803. - docs:
  804. - add a sample logging.conf in docs/misc, #4380
  805. - fix spelling errors
  806. - update requirements / install docs, #4374
  807. Version 1.2.0a4 (2019-03-11)
  808. ----------------------------
  809. Fixes:
  810. - do not use O_NONBLOCK for special files, like FIFOs, block and char devices
  811. when using --read-special. fixes backing up FIFOs. fixes to test. #4394
  812. - more LibreSSL build fixes: LibreSSL has HMAC_CTX_free and HMAC_CTX_new
  813. New features:
  814. - check: incremental repo check (only checks crc32 for segment entries), #1657
  815. borg check --repository-only --max-duration SECONDS ...
  816. - delete: timestamp for borg delete --info added, #4359
  817. Other changes:
  818. - redo stale lock handling, #3986
  819. drop BORG_HOSTNAME_IS_UNIQUE (please use BORG_HOST_ID if needed).
  820. borg now always assumes it has a unique host id - either automatically
  821. from fqdn plus uuid.getnode() or overridden via BORG_HOST_ID.
  822. - docs:
  823. - added Alpine Linux to distribution list
  824. - elaborate on append-only mode docs
  825. - vagrant:
  826. - darwin: new 10.12 box
  827. - freebsd: new 12.0 box
  828. - openbsd: new 6.4 box
  829. - misc. updates / fixes
  830. Version 1.2.0a3 (2019-02-26)
  831. ----------------------------
  832. Fixes:
  833. - LibreSSL build fixes, #4403
  834. - dummy ACL/xattr code fixes (used by OpenBSD and others), #4403
  835. - create: fix openat/statat issues for root directory, #4405
  836. Version 1.2.0a2 and earlier (2019-02-24)
  837. ----------------------------------------
  838. New features:
  839. - compact: "borg compact" needs to be used to free repository space by
  840. compacting the segments (reading sparse segments, rewriting still needed
  841. data to new segments, deleting the sparse segments).
  842. Borg < 1.2 invoked compaction automatically at the end of each repository
  843. writing command.
  844. Borg >= 1.2 does not do that any more to give better speed, more control,
  845. more segment file stability (== less stuff moving to newer segments) and
  846. more robustness.
  847. See the docs about "borg compact" for more details.
  848. - "borg compact --cleanup-commits" is to cleanup the tons of 17byte long
  849. commit-only segment files caused by borg 1.1.x issue #2850.
  850. Invoke this once after upgrading (the server side) borg to 1.2.
  851. Compaction now automatically removes unneeded commit-only segment files.
  852. - prune: Show which rule was applied to keep archive, #2886
  853. - add fixed blocksize chunker (see --chunker-params docs), #1086
  854. Fixes:
  855. - avoid stale filehandle issues, #3265
  856. - use more FDs, avoid race conditions on active fs, #906, #908, #1038
  857. - add O_NOFOLLOW to base flags, #908
  858. - compact:
  859. - require >10% freeable space in a segment, #2985
  860. - repository compaction now automatically removes unneeded 17byte
  861. commit-only segments, #2850
  862. - make swidth available on all posix platforms, #2667
  863. Other changes:
  864. - repository: better speed and less stuff moving around by using separate
  865. segment files for manifest DELETEs and PUTs, #3947
  866. - use pyinstaller v3.3.1 to build binaries
  867. - update bundled zstd code to 1.3.8, #4210
  868. - update bundled lz4 code to 1.8.3, #4209
  869. - msgpack:
  870. - switch to recent "msgpack" pypi pkg name, #3890
  871. - wrap msgpack to avoid future compat complications, #3632, #2738
  872. - support msgpack 0.6.0 and 0.6.1, #4220, #4308
  873. - llfuse: modernize / simplify llfuse version requirements
  874. - code refactorings / internal improvements:
  875. - include size/csize/nfiles[_parts] stats into archive, #3241
  876. - calc_stats: use archive stats metadata, if available
  877. - crypto: refactored crypto to use an AEAD style API
  878. - crypto: new AES-OCB, CHACHA20-POLY1305
  879. - create: use less syscalls by not using a python file obj, #906, #3962
  880. - diff: refactor the diff functionality to new ItemDiff class, #2475
  881. - archive: create FilesystemObjectProcessors class
  882. - helpers: make a package, split into smaller modules
  883. - xattrs: move to platform package, use cython instead ctypes, #2495
  884. - xattrs/acls/bsdflags: misc. code/api optimizations
  885. - FUSE: separate creation of filesystem from implementation of llfuse funcs, #3042
  886. - FUSE: use unpacker.tell() instead of deprecated write_bytes, #3899
  887. - setup.py: move build_man / build_usage code to setup_docs.py
  888. - setup.py: update to use a newer Cython/setuptools API for compiling .pyx -> .c, #3788
  889. - use python 3.5's os.scandir / os.set_blocking
  890. - multithreading preparations (not used yet):
  891. - item.to_optr(), Item.from_optr()
  892. - fix chunker holding the GIL during blocking I/O
  893. - C code portability / basic MSC compatibility, #4147, #2677
  894. - testing:
  895. - vagrant: new VMs for linux/bsd/darwin, most with OpenSSL 1.1 and py36
  896. Version 1.1.18 (2022-06-05)
  897. ---------------------------
  898. Compatibility notes:
  899. - When upgrading from borg 1.0.x to 1.1.x, please note:
  900. - read all the compatibility notes for 1.1.0*, starting from 1.1.0b1.
  901. - borg upgrade: you do not need to and you also should not run it.
  902. - borg might ask some security-related questions once after upgrading.
  903. You can answer them either manually or via environment variable.
  904. One known case is if you use unencrypted repositories, then it will ask
  905. about a unknown unencrypted repository one time.
  906. - your first backup with 1.1.x might be significantly slower (it might
  907. completely read, chunk, hash a lot files) - this is due to the
  908. --files-cache mode change (and happens every time you change mode).
  909. You can avoid the one-time slowdown by using the pre-1.1.0rc4-compatible
  910. mode (but that is less safe for detecting changed files than the default).
  911. See the --files-cache docs for details.
  912. - 1.1.11 removes WSL autodetection (Windows 10 Subsystem for Linux).
  913. If WSL still has a problem with sync_file_range, you need to set
  914. BORG_WORKAROUNDS=basesyncfile in the borg process environment to
  915. work around the WSL issue.
  916. - 1.1.14 changes return codes due to a bug fix:
  917. In case you have scripts expecting rc == 2 for a signal exit, you need to
  918. update them to check for >= 128 (as documented since long).
  919. - 1.1.15 drops python 3.4 support, minimum requirement is 3.5 now.
  920. - 1.1.17 install_requires the "packaging" pypi package now.
  921. New features:
  922. - check --repair: significantly speed up search for next valid object in segment, #6022
  923. - create: add retry_erofs workaround for O_NOATIME issue on volume shadow copies in WSL1, #6024
  924. - key export: display key if path is '-' or not given, #6092
  925. - list --format: add command_line to format keys, #6108
  926. Fixes:
  927. - check: improve error handling for corrupt archive metadata block,
  928. make robust_iterator more robust, #4777
  929. - diff: support presence change for blkdev, chrdev and fifo items, #6483
  930. - diff: reduce memory consumption, fix is_hardlink_master
  931. - init: disallow overwriting of existing keyfiles
  932. - info: fix authenticated mode repo to show "Encrypted: No", #6462
  933. - info: emit repo info even if repo has 0 archives, #6120
  934. - list: remove placeholders for shake_* hashes, #6082
  935. - mount -o versions: give clear error msg instead of crashing
  936. - show_progress: add finished=true/false to archive_progress json, #6570
  937. - fix hardlinkable file type check, #6037
  938. - do not show archive name in error msgs referring to the repository, #6023
  939. - prettier error msg (no stacktrace) if exclude file is missing, #5734
  940. - do not require BORG_CONFIG_DIR if BORG_{SECURITY,KEYS}_DIR are set, #5979
  941. - atomically create the CACHE_TAG file, #6028
  942. - deal with the SaveFile/SyncFile race, docs, see #6176 5c5b59bc9
  943. - avoid expanding path into LHS of formatting operation + tests, #6064 #6063
  944. - repository: quota / compactable computation fixes, #6119.
  945. This is mainly to keep the repo code in sync with borg 1.2. As borg 1.1
  946. compacts immediately, there was not really an issue with this in 1.1.
  947. - fix transaction rollback: use files cache filename as found in txn.active, #6353
  948. - do not load files cache for commands not using it, fixes #5673
  949. - fix scp repo url parsing for ip v6 addrs, #6526
  950. - repo::archive location placeholder expansion fixes, #5826, #5998
  951. - use expanded location for log output
  952. - support placeholder expansion for BORG_REPO env var
  953. - respect umask for created directory and file modes, #6400
  954. - safer truncate_and_unlink implementation
  955. Other changes:
  956. - upgrade bundled xxhash code to 0.8.1
  957. - fix xxh64 related build (setup.py and post-0.8.1 patch for static_assert).
  958. The patch was required to build the bundled xxhash code on FreeBSD, see
  959. https://github.com/Cyan4973/xxHash/pull/670
  960. - msgpack build: remove endianness macro, #6105
  961. - update and fix shell completions
  962. - fuse: remove unneeded version check and compat code
  963. - delete --force: do not ask when deleting a repo, #5941
  964. - delete: don't commit if nothing was deleted, avoid cache sync, #6060
  965. - delete: add repository id and location to prompt
  966. - compact segments: improve freeable / freed space log output, #5679
  967. - if ensure_dir() fails, give more informative error message, #5952
  968. - load_key: no key is same as empty key, #6441
  969. - better error msg for defect or unsupported repo configs, #6566
  970. - use hmac.compare_digest instead of ==, #6470
  971. - implement more standard hashindex.setdefault behaviour
  972. - remove stray punctuation from secure-erase message
  973. - add development.lock.txt, use a real python 3.5 to generate frozen reqs
  974. - setuptools 60.7.0 breaks pyinstaller, #6246
  975. - setup.py clean2 was added to work around some setuptools customizability limitation.
  976. - allow extra compiler flags for every extension build
  977. - C code: make switch fallthrough explicit
  978. - Cython code: fix "useless trailing comma" cython warnings
  979. - requirements.lock.txt: use the latest cython 0.29.30
  980. - fix compilation warnings: ‘PyUnicode_AsUnicode’ is deprecated
  981. - docs:
  982. - ~/.config/borg/keys is not used for repokey keys, #6107
  983. - excluded parent dir's metadata can't restore, #6062
  984. - permissions note rewritten to make it less confusing, #5490
  985. - add note about grandfather-father-son backup retention policy / rotation scheme
  986. - clarify who starts the remote agent (borg serve)
  987. - test/improve pull backup docs, #5903
  988. - document the socat pull mode described in #900 #515ß
  989. - borg serve: improve ssh forced commands docs, #6083
  990. - improve docs for borg list --format, #6080
  991. - fix the broken link to .nix file
  992. - clarify pattern usage with commands, #5176
  993. - clarify user_id vs uid for fuse, #5723
  994. - fix binary build freebsd/macOS version, #5942
  995. - FAQ: fix manifest-timestamp path, #6016
  996. - remove duplicate faq entries, #5926
  997. - fix sphinx warnings, #5919
  998. - virtualisation speed tips
  999. - fix values of TAG bytes, #6515
  1000. - recommend umask for passphrase file perms
  1001. - update link to ubuntu packages, #6485
  1002. - clarify on-disk order and size of log entry fields, #6357
  1003. - do not transform --/--- to unicode dashes
  1004. - improve linking inside docs, link to borg_placeholders, link to borg_patterns
  1005. - use same phrasing in misc. help texts
  1006. - borg init: explain the encryption modes better
  1007. - explain the difference between a path that ends with or without a slash, #6297
  1008. - clarify usage of patternfile roots, #6242
  1009. - borg key export: add examples
  1010. - updates about features not experimental any more: FUSE "versions" view, --pattern*, #6134
  1011. - fix/update cygwin package requirements
  1012. - impact of deleting path/to/repo/nonce, #5858
  1013. - warn about tampered server nonce
  1014. - mention BORG_FILES_CACHE_SUFFIX as alternative to BORG_FILES_CACHE_TTL, #5602
  1015. - add a troubleshooting note about "is not a valid repository" to the FAQ
  1016. - vagrant / CI / testing:
  1017. - misc. fixes and updates, new python versions
  1018. - macOS on github: re-enable fuse2 testing by downgrading to older macOS, #6099
  1019. - fix OpenBSD symlink mode test failure, #2055
  1020. - use the generic/openbsd6 box
  1021. - strengthen the test: we can read data w/o nonces
  1022. - add tests for path/to/repo/nonce deletion
  1023. - darwin64: backport some tunings from master
  1024. - darwin64: remove fakeroot, #6314
  1025. - darwin64: fix vagrant scp, #5921
  1026. - darwin64: use macfuse instead of osxfuse
  1027. - add ubuntu "jammy" 22.04 LTS VM
  1028. - adapt memory for openindiana64 and darwin64
  1029. Version 1.1.17 (2021-07-12)
  1030. ---------------------------
  1031. Compatibility notes:
  1032. - When upgrading from borg 1.0.x to 1.1.x, please note:
  1033. - read all the compatibility notes for 1.1.0*, starting from 1.1.0b1.
  1034. - borg upgrade: you do not need to and you also should not run it.
  1035. - borg might ask some security-related questions once after upgrading.
  1036. You can answer them either manually or via environment variable.
  1037. One known case is if you use unencrypted repositories, then it will ask
  1038. about a unknown unencrypted repository one time.
  1039. - your first backup with 1.1.x might be significantly slower (it might
  1040. completely read, chunk, hash a lot files) - this is due to the
  1041. --files-cache mode change (and happens every time you change mode).
  1042. You can avoid the one-time slowdown by using the pre-1.1.0rc4-compatible
  1043. mode (but that is less safe for detecting changed files than the default).
  1044. See the --files-cache docs for details.
  1045. - 1.1.11 removes WSL autodetection (Windows 10 Subsystem for Linux).
  1046. If WSL still has a problem with sync_file_range, you need to set
  1047. BORG_WORKAROUNDS=basesyncfile in the borg process environment to
  1048. work around the WSL issue.
  1049. - 1.1.14 changes return codes due to a bug fix:
  1050. In case you have scripts expecting rc == 2 for a signal exit, you need to
  1051. update them to check for >= 128 (as documented since long).
  1052. - 1.1.15 drops python 3.4 support, minimum requirement is 3.5 now.
  1053. - 1.1.17 install_requires the "packaging" pypi package now.
  1054. Fixes:
  1055. - pyinstaller dir-mode: fix pyi detection / LIBPATH treatment, #5897
  1056. - handle crash due to kill stale lock race, #5828
  1057. - fix BORG_CACHE_DIR crashing borg if empty, #5216
  1058. - create --dry-run: fix display of kept tagfile, #5834
  1059. - fix missing parameter in "did not consistently fail" msg, #5822
  1060. - missing / healed chunks: always tell chunk ID, #5704
  1061. - benchmark: make sure cleanup happens even on exceptions, #5630
  1062. New features:
  1063. - implement BORG_SELFTEST env variable, #5871.
  1064. this can be used to accelerate borg startup a bit. not recommended for
  1065. normal usage, but borg mass hosters with a lot of borg invocations can
  1066. save some resources with this. on my laptop, this saved ~100ms cpu time
  1067. (sys+user) per borg command invocation.
  1068. - implement BORG_LIBC env variable to give the libc filename, #5870.
  1069. you can use this if a borg does not find your libc.
  1070. - check: add progress indicator for archive check.
  1071. - allow --files-cache=size (not recommended, make sure you know what you do)
  1072. Other changes:
  1073. - Python 3.10 now officially supported!
  1074. we test on py310-dev on github CI since a while and now also on the vagrant
  1075. machines, so it should work ok.
  1076. - github CI: test on py310 (again)
  1077. - get rid of distutils, use packaging and setuptools.
  1078. distutils is deprecated and gives warnings on py 3.10.
  1079. - setup.py: rename "clean" to "clean2" to avoid shadowing the "clean" command.
  1080. - remove libc filename fallback for the BSDs (there is no "usual" name)
  1081. - cleanup flake8 checks, fix some pep8 violations.
  1082. - docs building: replace deprecated function ".add_stylesheet()" for Sphinx 4 compatibility
  1083. - docs:
  1084. - add a hint on sleeping computer and ssh connections, #5301
  1085. - update the documentation on hacked backup client, #5480
  1086. - improve docs/FAQ about append-only remote repos, #5497
  1087. - complement the documentation for pattern files and exclude files, #5520
  1088. - "filename with spaces" example added to exclude file, #5236
  1089. note: no whitespace escaping needed, processed by borg.
  1090. - add info on renaming repositories, #5240
  1091. - clarify borg check --verify-data, #5808
  1092. - add notice about defective hardware to check documentation, #5753
  1093. - add paragraph added in #5855 to utility documentation source
  1094. - add missing leading slashes in help patterns, #5857
  1095. - clarify "you will need key and passphrase" borg init warning, #4622
  1096. - pull mode: add some warnings, #5827
  1097. - mention tar --compare (compare archive to fs files), #5880
  1098. - fix typos, backport of #5597
  1099. - vagrant:
  1100. - add py3.7.11 for binary build, also add 3.10-dev.
  1101. - use latest Cython 0.29.23 for py310 compat fixes.
  1102. - more RAM for openindiana upgrade plan resolver, it just hangs (swaps?) if
  1103. there is too little RAM.
  1104. - fix install_pyenv to adapt to recent changes in pyenv (same as in master now).
  1105. - use generic/netbsd9 box, copied from master branch.
  1106. Version 1.1.16 (2021-03-23)
  1107. ---------------------------
  1108. Fixes:
  1109. - setup.py: add special openssl prefix for Apple M1 compatibility
  1110. - do not recurse into duplicate roots, #5603
  1111. - remove empty shadowed_segments lists, #5275, #5614
  1112. - fix libpython load error when borg fat binary / dir-based binary is invoked
  1113. via a symlink by upgrading pyinstaller to v4.2, #5688
  1114. - config: accept non-int value (like 500M or 100G) for max_segment_size or
  1115. storage_quota, #5639.
  1116. please note: when setting a non-int value for this in a repo config,
  1117. using the repo will require borg >= 1.1.16.
  1118. New features:
  1119. - bundled msgpack: drop support for old buffer protocol to support Python 3.10
  1120. - verbose files cache logging via --debug-topic=files_cache, #5659.
  1121. Use this if you suspect that borg does not detect unmodified files as expected.
  1122. - create/extract: add --noxattrs and --noacls option, #3955.
  1123. when given with borg create, borg will not get xattrs / ACLs from input files
  1124. (and thus, it will not archive xattrs / ACLs). when given with borg extract,
  1125. borg will not read xattrs / ACLs from archive and will not set xattrs / ACLs
  1126. on extracted files.
  1127. - diff: add --json-lines option, #3765
  1128. - check: debug log segment filename
  1129. - borg debug dump-hints
  1130. Other changes:
  1131. - Tab completion support for additional archives for 'borg delete'
  1132. - repository: deduplicate code of put and delete, no functional change
  1133. - tests: fix result order issue (sporadic test failure on openindiana)
  1134. - vagrant:
  1135. - upgrade pyinstaller to v4.2, #5671
  1136. - avoid grub-install asking interactively for device
  1137. - remove the xenial box
  1138. - update freebsd box to 12.1
  1139. - docs:
  1140. - update macOS install instructions, #5677
  1141. - use macFUSE (not osxfuse) for Apple M1 compatibility
  1142. - update docs for dev environment installation instructions, #5643
  1143. - fix grammar in faq
  1144. - recommend running tests only on installed versions for setup
  1145. - add link back to git-installation
  1146. - remove /var/cache exclusion in example commands, #5625.
  1147. This is generally a poor idea and shouldn't be promoted through examples.
  1148. - add repology.org badge with current packaging status
  1149. - explain hash collision
  1150. - add unsafe workaround to use an old repo copy, #5722
  1151. Version 1.1.15 (2020-12-25)
  1152. ---------------------------
  1153. Fixes:
  1154. - extract:
  1155. - improve exception handling when setting xattrs, #5092.
  1156. - emit a warning message giving the path, xattr key and error message.
  1157. - continue trying to restore other xattrs and bsdflags of the same file
  1158. after an exception with xattr-setting happened.
  1159. - export-tar:
  1160. - set tar format to GNU_FORMAT explicitly, #5274
  1161. - fix memory leak with ssh: remote repository, #5568
  1162. - fix potential memory leak with ssh: remote repository with partial extraction
  1163. - create: fix --dry-run and --stats coexistence, #5415
  1164. - use --timestamp for {utcnow} and {now} if given, #5189
  1165. New features:
  1166. - create: implement --stdin-mode, --stdin-user and --stdin-group, #5333
  1167. - allow appending the files cache filename with BORG_FILES_CACHE_SUFFIX env var
  1168. Other changes:
  1169. - drop python 3.4 support, minimum requirement is 3.5 now.
  1170. - enable using libxxhash instead of bundled xxh64 code
  1171. - update llfuse requirements (1.3.8)
  1172. - set cython language_level in some files to fix warnings
  1173. - allow EIO with warning when trying to hardlink
  1174. - PropDict: fail early if internal_dict is not a dict
  1175. - update shell completions
  1176. - tests / CI
  1177. - add a test for the hashindex corruption bug, #5531 #4829
  1178. - fix spurious failure in test_cache_files, #5438
  1179. - added a github ci workflow
  1180. - reduce testing on travis, no macOS, no py3x-dev, #5467
  1181. - travis: use newer dists, native py on dist
  1182. - vagrant:
  1183. - remove jessie and trusty boxes, #5348 #5383
  1184. - pyinstaller 4.0, build on py379
  1185. - binary build on stretch64, #5348
  1186. - remove easy_install based pip installation
  1187. - docs:
  1188. - clarify '--one-file-system' for btrfs, #5391
  1189. - add example for excluding content using the --pattern cmd line arg
  1190. - complement the documentation for pattern files and exclude files, #5524
  1191. - made ansible playbook more generic, use package instead of pacman. also
  1192. change state from "latest" to "present".
  1193. - complete documentation on append-only remote repos, #5497
  1194. - internals: rather talk about target size than statistics, #5336
  1195. - new compression algorithm policy, #1633 #5505
  1196. - faq: add a hint on sleeping computer, #5301
  1197. - note requirements for full disk access on macOS Catalina, #5303
  1198. - fix/improve description of borg upgrade hardlink usage, #5518
  1199. - modernize 1.1 code:
  1200. - drop code/workarounds only needed to support Python 3.4
  1201. - remove workaround for pre-release py37 argparse bug
  1202. - removed some outdated comments/docstrings
  1203. - requirements: remove some restrictions, lock on current versions
  1204. Version 1.1.14 (2020-10-07)
  1205. ---------------------------
  1206. Fixes:
  1207. - check --repair: fix potential data loss when interrupting it, #5325
  1208. - exit with 128 + signal number (as documented) when borg is killed by a signal, #5161
  1209. - fix hardlinked CACHEDIR.TAG processing, #4911
  1210. - create --read-special: .part files also should be regular files, #5217
  1211. - llfuse dependency: choose least broken 1.3.6/1.3.7.
  1212. 1.3.6 is broken on python 3.9, 1.3.7 is broken on FreeBSD.
  1213. Other changes:
  1214. - upgrade bundled xxhash to 0.7.4
  1215. - self test: if it fails, also point to OS and hardware, #5334
  1216. - pyinstaller: compute basepath from spec file location
  1217. - prettier error message when archive gets too big, #5307
  1218. - check/recreate are not "experimental" any more (but still potentially dangerous):
  1219. - recreate: remove extra confirmation
  1220. - rephrase some warnings, update docs, #5164
  1221. - shell completions:
  1222. - misc. updates / fixes
  1223. - support repositories in fish tab completion, #5256
  1224. - complete $BORG_RECREATE_I_KNOW_WHAT_I_AM_DOING
  1225. - rewrite zsh completion:
  1226. - completion for almost all optional and positional arguments
  1227. - completion for Borg environment variables (parameters)
  1228. - use "allow/deny list" instead of "white/black list" wording
  1229. - declare "allow_cache_wipe" marker in setup.cfg to avoid pytest warning
  1230. - vagrant / tests:
  1231. - misc. fixes / updates
  1232. - use python 3.5.10 for binary build
  1233. - build directory-based binaries additionally to the single file binaries
  1234. - add libffi-dev, required to build python
  1235. - use cryptography<3.0, more recent versions break the jessie box
  1236. - test on python 3.9
  1237. - do brew update with /dev/null redirect to avoid "too much log output" on travis-ci
  1238. - docs:
  1239. - add ssh-agent pull backup method docs, #5288
  1240. - how to approach borg speed issues, #5371
  1241. - mention double --force in prune docs
  1242. - update Homebrew install instructions, #5185
  1243. - better description of how cache and rebuilds of it work
  1244. - point to borg create --list item flags in recreate usage, #5165
  1245. - add security faq explaining AES-CTR crypto issues, #5254
  1246. - add a note to create from stdin regarding files cache, #5180
  1247. - fix borg.1 manpage generation regression, #5211
  1248. - clarify how exclude options work in recreate, #5193
  1249. - add section for retired contributors
  1250. - hint about not misusing private email addresses of contributors for borg support
  1251. Version 1.1.13 (2020-06-06)
  1252. ---------------------------
  1253. Compatibility notes:
  1254. - When upgrading from borg 1.0.x to 1.1.x, please note:
  1255. - read all the compatibility notes for 1.1.0*, starting from 1.1.0b1.
  1256. - borg upgrade: you do not need to and you also should not run it.
  1257. - borg might ask some security-related questions once after upgrading.
  1258. You can answer them either manually or via environment variable.
  1259. One known case is if you use unencrypted repositories, then it will ask
  1260. about a unknown unencrypted repository one time.
  1261. - your first backup with 1.1.x might be significantly slower (it might
  1262. completely read, chunk, hash a lot files) - this is due to the
  1263. --files-cache mode change (and happens every time you change mode).
  1264. You can avoid the one-time slowdown by using the pre-1.1.0rc4-compatible
  1265. mode (but that is less safe for detecting changed files than the default).
  1266. See the --files-cache docs for details.
  1267. - 1.1.11 removes WSL autodetection (Windows 10 Subsystem for Linux).
  1268. If WSL still has a problem with sync_file_range, you need to set
  1269. BORG_WORKAROUNDS=basesyncfile in the borg process environment to
  1270. work around the WSL issue.
  1271. Fixes:
  1272. - rebuilt using a current Cython version, compatible with python 3.8, #5214
  1273. Version 1.1.12 (2020-06-06)
  1274. ---------------------------
  1275. Fixes:
  1276. - fix preload-related memory leak, #5202.
  1277. - mount / borgfs (FUSE filesystem):
  1278. - fix FUSE low linear read speed on large files, #5067
  1279. - fix crash on old llfuse without birthtime attrs, #5064 - accidentally
  1280. we required llfuse >= 1.3. Now also old llfuse works again.
  1281. - set f_namemax in statfs result, #2684
  1282. - update precedence of env vars to set config and cache paths, #4894
  1283. - correctly calculate compression ratio, taking header size into account, too
  1284. New features:
  1285. - --bypass-lock option to bypass locking with read-only repositories
  1286. Other changes:
  1287. - upgrade bundled zstd to 1.4.5
  1288. - travis: adding comments and explanations to Travis config / install script,
  1289. improve macOS builds.
  1290. - tests: test_delete_force: avoid sporadic test setup issues, #5196
  1291. - misc. vagrant fixes
  1292. - the binary for macOS is now built on macOS 10.12
  1293. - the binaries for Linux are now built on Debian 8 "Jessie", #3761
  1294. - docs:
  1295. - PlaceholderError not printed as JSON, #4073
  1296. - "How important is Borg config?", #4941
  1297. - make Sphinx warnings break docs build, #4587
  1298. - some markup / warning fixes
  1299. - add "updating borgbackup.org/releases" to release checklist, #4999
  1300. - add "rendering docs" to release checklist, #5000
  1301. - clarify borg init's encryption modes
  1302. - add note about patterns and stored paths, #4160
  1303. - add upgrade of tools to pip installation how-to
  1304. - document one cause of orphaned chunks in check command, #2295
  1305. - linked recommended restrictions to ssh public keys on borg servers in faq, #4946
  1306. Version 1.1.11 (2020-03-08)
  1307. ---------------------------
  1308. Compatibility notes:
  1309. - When upgrading from borg 1.0.x to 1.1.x, please note:
  1310. - read all the compatibility notes for 1.1.0*, starting from 1.1.0b1.
  1311. - borg upgrade: you do not need to and you also should not run it.
  1312. - borg might ask some security-related questions once after upgrading.
  1313. You can answer them either manually or via environment variable.
  1314. One known case is if you use unencrypted repositories, then it will ask
  1315. about a unknown unencrypted repository one time.
  1316. - your first backup with 1.1.x might be significantly slower (it might
  1317. completely read, chunk, hash a lot files) - this is due to the
  1318. --files-cache mode change (and happens every time you change mode).
  1319. You can avoid the one-time slowdown by using the pre-1.1.0rc4-compatible
  1320. mode (but that is less safe for detecting changed files than the default).
  1321. See the --files-cache docs for details.
  1322. - 1.1.11 removes WSL autodetection (Windows 10 Subsystem for Linux).
  1323. If WSL still has a problem with sync_file_range, you need to set
  1324. BORG_WORKAROUNDS=basesyncfile in the borg process environment to
  1325. work around the WSL issue.
  1326. Fixes:
  1327. - fixed potential index corruption / data loss issue due to bug in hashindex_set, #4829.
  1328. Please read and follow the more detailed notes close to the top of this document.
  1329. - upgrade bundled xxhash to 0.7.3, #4891.
  1330. 0.7.2 is the minimum requirement for correct operations on ARMv6 in non-fixup
  1331. mode, where unaligned memory accesses cause bus errors.
  1332. 0.7.3 adds some speedups and libxxhash 0.7.3 even has a pkg-config file now.
  1333. - upgrade bundled lz4 to 1.9.2
  1334. - upgrade bundled zstd to 1.4.4
  1335. - fix crash when upgrading erroneous hints file, #4922
  1336. - extract:
  1337. - fix KeyError for "partial" extraction, #4607
  1338. - fix "partial" extract for hardlinked contentless file types, #4725
  1339. - fix preloading for old (0.xx) remote servers, #4652
  1340. - fix confusing output of borg extract --list --strip-components, #4934
  1341. - delete: after double-force delete, warn about necessary repair, #4704
  1342. - create: give invalid repo error msg if repo config not found, #4411
  1343. - mount: fix FUSE mount missing st_birthtime, #4763 #4767
  1344. - check: do not stumble over invalid item key, #4845
  1345. - info: if the archive doesn't exist, print a pretty message, #4793
  1346. - SecurityManager.known(): check all files, #4614
  1347. - Repository.open: use stat() to check for repo dir, #4695
  1348. - Repository.check_can_create_repository: use stat() to check, #4695
  1349. - fix invalid archive error message
  1350. - fix optional/non-optional location arg, #4541
  1351. - commit-time free space calc: ignore bad compact map entries, #4796
  1352. - ignore EACCES (errno 13) when hardlinking the old config, #4730
  1353. - --prefix / -P: fix processing, avoid argparse issue, #4769
  1354. New features:
  1355. - enable placeholder usage in all extra archive arguments
  1356. - new BORG_WORKAROUNDS mechanism, basesyncfile, #4710
  1357. - recreate: support --timestamp option, #4745
  1358. - support platforms without os.link (e.g. Android with Termux), #4901.
  1359. if we don't have os.link, we just extract another copy instead of making a hardlink.
  1360. - support linux platforms without sync_file_range (e.g. Android 7 with Termux), #4905
  1361. Other:
  1362. - ignore --stats when given with --dry-run, but continue, #4373
  1363. - add some ProgressIndicator msgids to code / fix docs, #4935
  1364. - elaborate on "Calculating size" message
  1365. - argparser: always use REPOSITORY in metavar, also use more consistent help phrasing.
  1366. - check: improve error output for matching index size, see #4829
  1367. - docs:
  1368. - changelog: add advisory about hashindex_set bug #4829
  1369. - better describe BORG_SECURITY_DIR, BORG_CACHE_DIR, #4919
  1370. - infos about cache security assumptions, #4900
  1371. - add FAQ describing difference between a local repo vs. repo on a server.
  1372. - document how to test exclusion patterns without performing an actual backup
  1373. - timestamps in the files cache are now usually ctime, #4583
  1374. - fix bad reference to borg compact (does not exist in 1.1), #4660
  1375. - create: borg 1.1 is not future any more
  1376. - extract: document limitation "needs empty destination", #4598
  1377. - how to supply a passphrase, use crypto devices, #4549
  1378. - fix osxfuse github link in installation docs
  1379. - add example of exclude-norecurse rule in help patterns
  1380. - update macOS Brew link
  1381. - add note about software for automating backups, #4581
  1382. - AUTHORS: mention copyright+license for bundled msgpack
  1383. - fix various code blocks in the docs, #4708
  1384. - updated docs to cover use of temp directory on remote, #4545
  1385. - add restore docs, #4670
  1386. - add a pull backup / push restore how-to, #1552
  1387. - add FAQ how to retain original paths, #4532
  1388. - explain difference between --exclude and --pattern, #4118
  1389. - add FAQs for SSH connection issues, #3866
  1390. - improve password FAQ, #4591
  1391. - reiterate that 'file cache names are absolute' in FAQ
  1392. - tests:
  1393. - cope with ANY error when importing pytest into borg.testsuite, #4652
  1394. - fix broken test that relied on improper zlib assumptions
  1395. - test_fuse: filter out selinux xattrs, #4574
  1396. - travis / vagrant:
  1397. - misc python versions removed / changed (due to openssl 1.1 compatibility)
  1398. or added (3.7 and 3.8, for better borg compatibility testing)
  1399. - binary building is on python 3.5.9 now
  1400. - vagrant:
  1401. - add new boxes: ubuntu 18.04 and 20.04, debian 10
  1402. - update boxes: openindiana, darwin, netbsd
  1403. - remove old boxes: centos 6
  1404. - darwin: updated osxfuse to 3.10.4
  1405. - use debian/ubuntu pip/virtualenv packages
  1406. - rather use python 3.6.2 than 3.6.0, fixes coverage/sqlite3 issue
  1407. - use requirements.d/development.lock.txt to avoid compat issues
  1408. - travis:
  1409. - darwin: backport some install code / order from master
  1410. - remove deprecated keyword "sudo" from travis config
  1411. - allow osx builds to fail, #4955
  1412. this is due to travis-ci frequently being so slow that the OS X builds
  1413. just fail because they exceed 50 minutes and get killed by travis.
  1414. Version 1.1.10 (2019-05-16)
  1415. ---------------------------
  1416. Fixes:
  1417. - extract: hang on partial extraction with ssh: repo, when hardlink master
  1418. is not matched/extracted and borg hangs on related slave hardlink, #4350
  1419. - lrucache: regularly remove old FDs, #4427
  1420. - avoid stale filehandle issues, #3265
  1421. - freebsd: make xattr platform code api compatible with linux, #3952
  1422. - use whitelist approach for borg serve, #4097
  1423. - borg command shall terminate with rc 2 for ImportErrors, #4424
  1424. - create: only run stat_simple_attrs() once, this increases
  1425. backup with lots of unchanged files performance by ~ 5%.
  1426. - prune: fix incorrect borg prune --stats output with --dry-run, #4373
  1427. - key export: emit user-friendly error if repo key is exported to a directory,
  1428. #4348
  1429. New features:
  1430. - bundle latest supported msgpack-python release (0.5.6), remove msgpack-python
  1431. from setup.py install_requires - by default we use the bundled code now.
  1432. optionally, we still support using an external msgpack (see hints in
  1433. setup.py), but this requires solid requirements management within
  1434. distributions and is not recommended.
  1435. borgbackup will break if you upgrade msgpack to an unsupported version.
  1436. - display msgpack version as part of sysinfo (e.g. in tracebacks)
  1437. - timestamp for borg delete --info added, #4359
  1438. - enable placeholder usage in --comment and --glob-archives, #4559, #4495
  1439. Other:
  1440. - serve: do not check python/libc for borg serve, #4483
  1441. - shell completions: borg diff second archive
  1442. - release scripts: signing binaries with Qubes OS support
  1443. - testing:
  1444. - vagrant: upgrade openbsd box to 6.4
  1445. - travis-ci: lock test env to py 3.4 compatible versions, #4343
  1446. - get rid of confusing coverage warning, #2069
  1447. - rename test_mount_hardlinks to test_fuse_mount_hardlinks,
  1448. so both can be excluded by "not test_fuse".
  1449. - pure-py msgpack warning shall not make a lot of tests fail, #4558
  1450. - docs:
  1451. - add "SSH Configuration" section to "borg serve", #3988, #636, #4485
  1452. - README: new URL for funding options
  1453. - add a sample logging.conf in docs/misc, #4380
  1454. - elaborate on append-only mode docs, #3504
  1455. - installation: added Alpine Linux to distribution list, #4415
  1456. - usage.html: only modify window.location when redirecting, #4133
  1457. - add msgpack license to docs/3rd_party/msgpack
  1458. - vagrant / binary builds:
  1459. - use python 3.5.7 for builds
  1460. - use osxfuse 3.8.3
  1461. Version 1.1.9 (2019-02-10)
  1462. --------------------------
  1463. Compatibility notes:
  1464. - When upgrading from borg 1.0.x to 1.1.x, please note:
  1465. - read all the compatibility notes for 1.1.0*, starting from 1.1.0b1.
  1466. - borg upgrade: you do not need to and you also should not run it.
  1467. - borg might ask some security-related questions once after upgrading.
  1468. You can answer them either manually or via environment variable.
  1469. One known case is if you use unencrypted repositories, then it will ask
  1470. about a unknown unencrypted repository one time.
  1471. - your first backup with 1.1.x might be significantly slower (it might
  1472. completely read, chunk, hash a lot files) - this is due to the
  1473. --files-cache mode change (and happens every time you change mode).
  1474. You can avoid the one-time slowdown by using the pre-1.1.0rc4-compatible
  1475. mode (but that is less safe for detecting changed files than the default).
  1476. See the --files-cache docs for details.
  1477. Fixes:
  1478. - security fix: configure FUSE with "default_permissions", #3903
  1479. "default_permissions" is now enforced by borg by default to let the
  1480. kernel check uid/gid/mode based permissions.
  1481. "ignore_permissions" can be given not to enforce "default_permissions".
  1482. - make "hostname" short, even on misconfigured systems, #4262
  1483. - fix free space calculation on macOS (and others?), #4289
  1484. - config: quit with error message when no key is provided, #4223
  1485. - recover_segment: handle too small segment files correctly, #4272
  1486. - correctly release memoryview, #4243
  1487. - avoid diaper pattern in configparser by opening files, #4263
  1488. - add "# cython: language_level=3" directive to .pyx files, #4214
  1489. - info: consider part files for "This archive" stats, #3522
  1490. - work around Microsoft WSL issue #645 (sync_file_range), #1961
  1491. New features:
  1492. - add --rsh command line option to complement BORG_RSH env var, #1701
  1493. - init: --make-parent-dirs parent1/parent2/repo_dir, #4235
  1494. Other:
  1495. - add archive name to check --repair output, #3447
  1496. - check for unsupported msgpack versions
  1497. - shell completions:
  1498. - new shell completions for borg 1.1.9
  1499. - more complete shell completions for borg mount -o
  1500. - added shell completions for borg help
  1501. - option arguments for zsh tab completion
  1502. - docs:
  1503. - add FAQ regarding free disk space check, #3905
  1504. - update BORG_PASSCOMMAND example and clarify variable expansion, #4249
  1505. - FAQ regarding change of compression settings, #4222
  1506. - add note about BSD flags to changelog, #4246
  1507. - improve logging in example automation script
  1508. - add note about files changing during backup, #4081
  1509. - work around the backslash issue, #4280
  1510. - update release workflow using twine (docs, scripts), #4213
  1511. - add warnings on repository copies to avoid future problems, #4272
  1512. - tests:
  1513. - fix the homebrew 1.9 issues on travis-ci, #4254
  1514. - fix duplicate test method name, #4311
  1515. Version 1.1.8 (2018-12-09)
  1516. --------------------------
  1517. Fixes:
  1518. - enforce storage quota if set by serve-command, #4093
  1519. - invalid locations: give err msg containing parsed location, #4179
  1520. - list repo: add placeholders for hostname and username, #4130
  1521. - on linux, symlinks can't have ACLs, so don't try to set any, #4044
  1522. New features:
  1523. - create: added PATH::archive output on INFO log level
  1524. - read a passphrase from a file descriptor specified in the
  1525. BORG_PASSPHRASE_FD environment variable.
  1526. Other:
  1527. - docs:
  1528. - option --format is required for some expensive-to-compute values for json
  1529. borg list by default does not compute expensive values except when
  1530. they are needed. whether they are needed is determined by the format,
  1531. in standard mode as well as in --json mode.
  1532. - tell that our binaries are x86/x64 amd/intel, bauerj has ARM
  1533. - fixed wrong archive name pattern in CRUD benchmark help
  1534. - fixed link to cachedir spec in docs, #4140
  1535. - tests:
  1536. - stop using fakeroot on travis, avoids sporadic EISDIR errors, #2482
  1537. - xattr key names must start with "user." on linux
  1538. - fix code so flake8 3.6 does not complain
  1539. - explicitly convert environment variable to str, #4136
  1540. - fix DeprecationWarning: Flags not at the start of the expression, #4137
  1541. - support pytest4, #4172
  1542. - vagrant:
  1543. - use python 3.5.6 for builds
  1544. Version 1.1.7 (2018-08-11)
  1545. --------------------------
  1546. Compatibility notes:
  1547. - added support for Python 3.7
  1548. Fixes:
  1549. - cache lock: use lock_wait everywhere to fix infinite wait, see #3968
  1550. - don't archive tagged dir when recursing an excluded dir, #3991
  1551. - py37 argparse: work around bad default in py 3.7.0a/b/rc, #3996
  1552. - py37 remove loggerDict.clear() from tearDown method, #3805
  1553. - some fixes for bugs which likely did not result in problems in practice:
  1554. - fixed logic bug in platform module API version check
  1555. - fixed xattr/acl function prototypes, added missing ones
  1556. New features:
  1557. - init: add warning to store both key and passphrase at safe place(s)
  1558. - BORG_HOST_ID env var to work around all-zero MAC address issue, #3985
  1559. - borg debug dump-repo-objs --ghost (dump everything from segment files,
  1560. including deleted or superseded objects or commit tags)
  1561. - borg debug search-repo-objs (search in repo objects for hex bytes or strings)
  1562. Other changes:
  1563. - add Python 3.7 support
  1564. - updated shell completions
  1565. - call socket.gethostname only once
  1566. - locking: better logging, add some asserts
  1567. - borg debug dump-repo-objs:
  1568. - filename layout improvements
  1569. - use repository.scan() to get on-disk order
  1570. - docs:
  1571. - update installation instructions for macOS
  1572. - added instructions to install fuse via homebrew
  1573. - improve diff docs
  1574. - added note that checkpoints inside files requires 1.1+
  1575. - add link to tempfile module
  1576. - remove row/column-spanning from docs source, #4000 #3990
  1577. - tests:
  1578. - fetch less data via os.urandom
  1579. - add py37 env for tox
  1580. - travis: add 3.7, remove 3.6-dev (we test with -dev in master)
  1581. - vagrant / binary builds:
  1582. - use osxfuse 3.8.2
  1583. - use own (uptodate) openindiana box
  1584. Version 1.1.6 (2018-06-11)
  1585. --------------------------
  1586. Compatibility notes:
  1587. - 1.1.6 changes:
  1588. - also allow msgpack-python 0.5.6.
  1589. Fixes:
  1590. - fix borg exception handling on ENOSPC error with xattrs, #3808
  1591. - prune: fix/improve overall progress display
  1592. - borg config repo ... does not need cache/manifest/key, #3802
  1593. - debug dump-repo-objs should not depend on a manifest obj
  1594. - pypi package:
  1595. - include .coveragerc, needed by tox.ini
  1596. - fix package long description, #3854
  1597. New features:
  1598. - mount: add uid, gid, umask mount options
  1599. - delete:
  1600. - only commit once, #3823
  1601. - implement --dry-run, #3822
  1602. - check:
  1603. - show progress while rebuilding missing manifest, #3787
  1604. - more --repair output
  1605. - borg config --list <repo>, #3612
  1606. Other changes:
  1607. - update msgpack requirement, #3753
  1608. - update bundled zstd to 1.3.4, #3745
  1609. - update bundled lz4 code to 1.8.2, #3870
  1610. - docs:
  1611. - describe what BORG_LIBZSTD_PREFIX does
  1612. - fix and deduplicate encryption quickstart docs, #3776
  1613. - vagrant:
  1614. - FUSE for macOS: upgrade 3.7.1 to 3.8.0
  1615. - exclude macOS High Sierra upgrade on the darwin64 machine
  1616. - remove borgbackup.egg-info dir in fs_init (after rsync)
  1617. - use pyenv-based build/test on jessie32/62
  1618. - use local 32 and 64bit debian jessie boxes
  1619. - use "vagrant" as username for new xenial box
  1620. - travis OS X: use xcode 8.3 (not broken)
  1621. Version 1.1.5 (2018-04-01)
  1622. --------------------------
  1623. Compatibility notes:
  1624. - 1.1.5 changes:
  1625. - require msgpack-python >= 0.4.6 and < 0.5.0.
  1626. 0.5.0+ dropped python 3.4 testing and also caused some other issues because
  1627. the python package was renamed to msgpack and emitted some FutureWarning.
  1628. Fixes:
  1629. - create --list: fix that it was never showing M status, #3492
  1630. - create: fix timing for first checkpoint (read files cache early, init
  1631. checkpoint timer after that), see #3394
  1632. - extract: set rc=1 when extracting damaged files with all-zero replacement
  1633. chunks or with size inconsistencies, #3448
  1634. - diff: consider an empty file as different to a non-existing file, #3688
  1635. - files cache: improve exception handling, #3553
  1636. - ignore exceptions in scandir_inorder() caused by an implicit stat(),
  1637. also remove unneeded sort, #3545
  1638. - fixed tab completion problem where a space is always added after path even
  1639. when it shouldn't
  1640. - build: do .h file content checks in binary mode, fixes build issue for
  1641. non-ascii header files on pure-ascii locale platforms, #3544 #3639
  1642. - borgfs: fix patterns/paths processing, #3551
  1643. - config: add some validation, #3566
  1644. - repository config: add validation for max_segment_size, #3592
  1645. - set cache previous_location on load instead of save
  1646. - remove platform.uname() call which caused library mismatch issues, #3732
  1647. - add exception handler around deprecated platform.linux_distribution() call
  1648. - use same datetime object for {now} and {utcnow}, #3548
  1649. New features:
  1650. - create: implement --stdin-name, #3533
  1651. - add chunker_params to borg archive info (--json)
  1652. - BORG_SHOW_SYSINFO=no to hide system information from exceptions
  1653. Other changes:
  1654. - updated zsh completions for borg 1.1.4
  1655. - files cache related code cleanups
  1656. - be more helpful when parsing invalid --pattern values, #3575
  1657. - be more clear in secure-erase warning message, #3591
  1658. - improve getpass user experience, #3689
  1659. - docs build: unicode problem fixed when using a py27-based sphinx
  1660. - docs:
  1661. - security: explicitly note what happens OUTSIDE the attack model
  1662. - security: add note about combining compression and encryption
  1663. - security: describe chunk size / proximity issue, #3687
  1664. - quickstart: add note about permissions, borg@localhost, #3452
  1665. - quickstart: add introduction to repositories & archives, #3620
  1666. - recreate --recompress: add missing metavar, clarify description, #3617
  1667. - improve logging docs, #3549
  1668. - add an example for --pattern usage, #3661
  1669. - clarify path semantics when matching, #3598
  1670. - link to offline documentation from README, #3502
  1671. - add docs on how to verify a signed release with GPG, #3634
  1672. - chunk seed is generated per repository (not: archive)
  1673. - better formatting of CPU usage documentation, #3554
  1674. - extend append-only repo rollback docs, #3579
  1675. - tests:
  1676. - fix erroneously skipped zstd compressor tests, #3606
  1677. - skip a test if argparse is broken, #3705
  1678. - vagrant:
  1679. - xenial64 box now uses username 'vagrant', #3707
  1680. - move cleanup steps to fs_init, #3706
  1681. - the boxcutter wheezy boxes are 404, use local ones
  1682. - update to Python 3.5.5 (for binary builds)
  1683. Version 1.1.4 (2017-12-31)
  1684. --------------------------
  1685. Compatibility notes:
  1686. - When upgrading from borg 1.0.x to 1.1.x, please note:
  1687. - read all the compatibility notes for 1.1.0*, starting from 1.1.0b1.
  1688. - borg upgrade: you do not need to and you also should not run it.
  1689. - borg might ask some security-related questions once after upgrading.
  1690. You can answer them either manually or via environment variable.
  1691. One known case is if you use unencrypted repositories, then it will ask
  1692. about a unknown unencrypted repository one time.
  1693. - your first backup with 1.1.x might be significantly slower (it might
  1694. completely read, chunk, hash a lot files) - this is due to the
  1695. --files-cache mode change (and happens every time you change mode).
  1696. You can avoid the one-time slowdown by using the pre-1.1.0rc4-compatible
  1697. mode (but that is less safe for detecting changed files than the default).
  1698. See the --files-cache docs for details.
  1699. - borg 1.1.4 changes:
  1700. - zstd compression is new in borg 1.1.4, older borg can't handle it.
  1701. - new minimum requirements for the compression libraries - if the required
  1702. versions (header and lib) can't be found at build time, bundled code will
  1703. be used:
  1704. - added requirement: libzstd >= 1.3.0 (bundled: 1.3.2)
  1705. - updated requirement: liblz4 >= 1.7.0 / r129 (bundled: 1.8.0)
  1706. Fixes:
  1707. - check: data corruption fix: fix for borg check --repair malfunction, #3444.
  1708. See the more detailed notes close to the top of this document.
  1709. - delete: also delete security dir when deleting a repo, #3427
  1710. - prune: fix building the "borg prune" man page, #3398
  1711. - init: use given --storage-quota for local repo, #3470
  1712. - init: properly quote repo path in output
  1713. - fix startup delay with dns-only own fqdn resolving, #3471
  1714. New features:
  1715. - added zstd compression. try it!
  1716. - added placeholder {reverse-fqdn} for fqdn in reverse notation
  1717. - added BORG_BASE_DIR environment variable, #3338
  1718. Other changes:
  1719. - list help topics when invalid topic is requested
  1720. - fix lz4 deprecation warning, requires lz4 >= 1.7.0 (r129)
  1721. - add parens for C preprocessor macro argument usages (did not cause malfunction)
  1722. - exclude broken pytest 3.3.0 release
  1723. - updated fish/bash completions
  1724. - init: more clear exception messages for borg create, #3465
  1725. - docs:
  1726. - add auto-generated docs for borg config
  1727. - don't generate HTML docs page for borgfs, #3404
  1728. - docs update for lz4 b2 zstd changes
  1729. - add zstd to compression help, readme, docs
  1730. - update requirements and install docs about bundled lz4 and zstd
  1731. - refactored build of the compress and crypto.low_level extensions, #3415:
  1732. - move some lib/build related code to setup_{zstd,lz4,b2}.py
  1733. - bundle lz4 1.8.0 (requirement: >= 1.7.0 / r129)
  1734. - bundle zstd 1.3.2 (requirement: >= 1.3.0)
  1735. - blake2 was already bundled
  1736. - rename BORG_LZ4_PREFIX env var to BORG_LIBLZ4_PREFIX for better consistency:
  1737. we also have BORG_LIBB2_PREFIX and BORG_LIBZSTD_PREFIX now.
  1738. - add prefer_system_lib* = True settings to setup.py - by default the build
  1739. will prefer a shared library over the bundled code, if library and headers
  1740. can be found and meet the minimum requirements.
  1741. Version 1.1.3 (2017-11-27)
  1742. --------------------------
  1743. Fixes:
  1744. - Security Fix for CVE-2017-15914: Incorrect implementation of access controls
  1745. allows remote users to override repository restrictions in Borg servers.
  1746. A user able to access a remote Borg SSH server is able to circumvent access
  1747. controls post-authentication.
  1748. Affected releases: 1.1.0, 1.1.1, 1.1.2. Releases 1.0.x are NOT affected.
  1749. - crc32: deal with unaligned buffer, add tests - this broke borg on older ARM
  1750. CPUs that can not deal with unaligned 32bit memory accesses and raise a bus
  1751. error in such cases. the fix might also improve performance on some CPUs as
  1752. all 32bit memory accesses by the crc32 code are properly aligned now. #3317
  1753. - mount: fixed support of --consider-part-files and do not show .borg_part_N
  1754. files by default in the mounted FUSE filesystem. #3347
  1755. - fixed cache/repo timestamp inconsistency message, highlight that information
  1756. is obtained from security dir (deleting the cache will not bypass this error
  1757. in case the user knows this is a legitimate repo).
  1758. - borgfs: don't show sub-command in borgfs help, #3287
  1759. - create: show an error when --dry-run and --stats are used together, #3298
  1760. New features:
  1761. - mount: added exclusion group options and paths, #2138
  1762. Reused some code to support similar options/paths as borg extract offers -
  1763. making good use of these to mount only a smaller subset of dirs/files can
  1764. speed up mounting a lot and also will consume way less memory.
  1765. borg mount [options] repo_or_archive mountpoint path [paths...]
  1766. paths: you can just give some "root paths" (like for borg extract) to
  1767. only partially populate the FUSE filesystem.
  1768. new options: --exclude[-from], --pattern[s-from], --strip-components
  1769. - create/extract: support st_birthtime on platforms supporting it, #3272
  1770. - add "borg config" command for querying/setting/deleting config values, #3304
  1771. Other changes:
  1772. - clean up and simplify packaging (only package committed files, do not install
  1773. .c/.h/.pyx files)
  1774. - docs:
  1775. - point out tuning options for borg create, #3239
  1776. - add instructions for using ntfsclone, zerofree, #81
  1777. - move image backup-related FAQ entries to a new page
  1778. - clarify key aliases for borg list --format, #3111
  1779. - mention break-lock in checkpointing FAQ entry, #3328
  1780. - document sshfs rename workaround, #3315
  1781. - add FAQ about removing files from existing archives
  1782. - add FAQ about different prune policies
  1783. - usage and man page for borgfs, #3216
  1784. - clarify create --stats duration vs. wall time, #3301
  1785. - clarify encrypted key format for borg key export, #3296
  1786. - update release checklist about security fixes
  1787. - document good and problematic option placements, fix examples, #3356
  1788. - add note about using --nobsdflags to avoid speed penalty related to
  1789. bsdflags, #3239
  1790. - move most of support section to www.borgbackup.org
  1791. Version 1.1.2 (2017-11-05)
  1792. --------------------------
  1793. Fixes:
  1794. - fix KeyError crash when talking to borg server < 1.0.7, #3244
  1795. - extract: set bsdflags last (include immutable flag), #3263
  1796. - create: don't do stat() call on excluded-norecurse directory, fix exception
  1797. handling for stat() call, #3209
  1798. - create --stats: do not count data volume twice when checkpointing, #3224
  1799. - recreate: move chunks_healthy when excluding hardlink master, #3228
  1800. - recreate: get rid of chunks_healthy when rechunking (does not match), #3218
  1801. - check: get rid of already existing not matching chunks_healthy metadata, #3218
  1802. - list: fix stdout broken pipe handling, #3245
  1803. - list/diff: remove tag-file options (not used), #3226
  1804. New features:
  1805. - bash, zsh and fish shell auto-completions, see scripts/shell_completions/
  1806. - added BORG_CONFIG_DIR env var, #3083
  1807. Other changes:
  1808. - docs:
  1809. - clarify using a blank passphrase in keyfile mode
  1810. - mention "!" (exclude-norecurse) type in "patterns" help
  1811. - document to first heal before running borg recreate to re-chunk stuff,
  1812. because that will have to get rid of chunks_healthy metadata.
  1813. - more than 23 is not supported for CHUNK_MAX_EXP, #3115
  1814. - borg does not respect nodump flag by default any more
  1815. - clarify same-filesystem requirement for borg upgrade, #2083
  1816. - update / rephrase cygwin / WSL status, #3174
  1817. - improve docs about --stats, #3260
  1818. - vagrant: openindiana new clang package
  1819. Already contained in 1.1.1 (last minute fix):
  1820. - arg parsing: fix fallback function, refactor, #3205. This is a fixup
  1821. for #3155, which was broken on at least python <= 3.4.2.
  1822. Version 1.1.1 (2017-10-22)
  1823. --------------------------
  1824. Compatibility notes:
  1825. - The deprecated --no-files-cache is not a global/common option any more,
  1826. but only available for borg create (it is not needed for anything else).
  1827. Use --files-cache=disabled instead of --no-files-cache.
  1828. - The nodump flag ("do not back up this file") is not honoured any more by
  1829. default because this functionality (esp. if it happened by error or
  1830. unexpected) was rather confusing and unexplainable at first to users.
  1831. If you want that "do not back up NODUMP-flagged files" behaviour, use:
  1832. borg create --exclude-nodump ...
  1833. - If you are on Linux and do not need bsdflags archived, consider using
  1834. ``--nobsdflags`` with ``borg create`` to avoid additional syscalls and
  1835. speed up backup creation.
  1836. Fixes:
  1837. - borg recreate: correctly compute part file sizes. fixes cosmetic, but
  1838. annoying issue as borg check complains about size inconsistencies of part
  1839. files in affected archives. you can solve that by running borg recreate on
  1840. these archives, see also #3157.
  1841. - bsdflags support: do not open BLK/CHR/LNK files, avoid crashes and
  1842. slowness, #3130
  1843. - recreate: don't crash on attic archives w/o time_end, #3109
  1844. - don't crash on repository filesystems w/o hardlink support, #3107
  1845. - don't crash in first part of truncate_and_unlink, #3117
  1846. - fix server-side IndexError crash with clients < 1.0.7, #3192
  1847. - don't show traceback if only a global option is given, show help, #3142
  1848. - cache: use SaveFile for more safety, #3158
  1849. - init: fix wrong encryption choices in command line parser, fix missing
  1850. "authenticated-blake2", #3103
  1851. - move --no-files-cache from common to borg create options, #3146
  1852. - fix detection of non-local path (failed on ..filename), #3108
  1853. - logging with fileConfig: set json attr on "borg" logger, #3114
  1854. - fix crash with relative BORG_KEY_FILE, #3197
  1855. - show excluded dir with "x" for tagged dirs / caches, #3189
  1856. New features:
  1857. - create: --nobsdflags and --exclude-nodump options, #3160
  1858. - extract: --nobsdflags option, #3160
  1859. Other changes:
  1860. - remove annoying hardlinked symlinks warning, #3175
  1861. - vagrant: use self-made FreeBSD 10.3 box, #3022
  1862. - travis: don't brew update, hopefully fixes #2532
  1863. - docs:
  1864. - readme: -e option is required in borg 1.1
  1865. - add example showing --show-version --show-rc
  1866. - use --format rather than --list-format (deprecated) in example
  1867. - update docs about hardlinked symlinks limitation
  1868. Version 1.1.0 (2017-10-07)
  1869. --------------------------
  1870. Compatibility notes:
  1871. - borg command line: do not put options in between positional arguments
  1872. This sometimes works (e.g. it worked in borg 1.0.x), but can easily stop
  1873. working if we make positional arguments optional (like it happened for
  1874. borg create's "paths" argument in 1.1). There are also places in borg 1.0
  1875. where we do that, so it doesn't work there in general either. #3356
  1876. Good: borg create -v --stats repo::archive path
  1877. Good: borg create repo::archive path -v --stats
  1878. Bad: borg create repo::archive -v --stats path
  1879. Fixes:
  1880. - fix LD_LIBRARY_PATH restoration for subprocesses, #3077
  1881. - "auto" compression: make sure expensive compression is actually better,
  1882. otherwise store lz4 compressed data we already computed.
  1883. Other changes:
  1884. - docs:
  1885. - FAQ: we do not implement futile attempts of ETA / progress displays
  1886. - manpage: fix typos, update homepage
  1887. - implement simple "issue" role for manpage generation, #3075
  1888. Version 1.1.0rc4 (2017-10-01)
  1889. -----------------------------
  1890. Compatibility notes:
  1891. - A borg server >= 1.1.0rc4 does not support borg clients 1.1.0b3-b5. #3033
  1892. - The files cache is now controlled differently and has a new default mode:
  1893. - the files cache now uses ctime by default for improved file change
  1894. detection safety. You can still use mtime for more speed and less safety.
  1895. - --ignore-inode is deprecated (use --files-cache=... without "inode")
  1896. - --no-files-cache is deprecated (use --files-cache=disabled)
  1897. New features:
  1898. - --files-cache - implement files cache mode control, #911
  1899. You can now control the files cache mode using this option:
  1900. --files-cache={ctime,mtime,size,inode,rechunk,disabled}
  1901. (only some combinations are supported). See the docs for details.
  1902. Fixes:
  1903. - remote progress/logging: deal with partial lines, #2637
  1904. - remote progress: flush json mode output
  1905. - fix subprocess environments, #3050 (and more)
  1906. Other changes:
  1907. - remove client_supports_log_v3 flag, #3033
  1908. - exclude broken Cython 0.27(.0) in requirements, #3066
  1909. - vagrant:
  1910. - upgrade to FUSE for macOS 3.7.1
  1911. - use Python 3.5.4 to build the binaries
  1912. - docs:
  1913. - security: change-passphrase only changes the passphrase, #2990
  1914. - fixed/improved borg create --compression examples, #3034
  1915. - add note about metadata dedup and --no[ac]time, #2518
  1916. - twitter account @borgbackup now, better visible, #2948
  1917. - simplified rate limiting wrapper in FAQ
  1918. Version 1.1.0rc3 (2017-09-10)
  1919. -----------------------------
  1920. New features:
  1921. - delete: support naming multiple archives, #2958
  1922. Fixes:
  1923. - repo cleanup/write: invalidate cached FDs, #2982
  1924. - fix datetime.isoformat() microseconds issues, #2994
  1925. - recover_segment: use mmap(), lower memory needs, #2987
  1926. Other changes:
  1927. - with-lock: close segment file before invoking subprocess
  1928. - keymanager: don't depend on optional readline module, #2976
  1929. - docs:
  1930. - fix macOS keychain integration command
  1931. - show/link new screencasts in README, #2936
  1932. - document utf-8 locale requirement for json mode, #2273
  1933. - vagrant: clean up shell profile init, user name, #2977
  1934. - test_detect_attic_repo: don't test mount, #2975
  1935. - add debug logging for repository cleanup
  1936. Version 1.1.0rc2 (2017-08-28)
  1937. -----------------------------
  1938. Compatibility notes:
  1939. - list: corrected mix-up of "isomtime" and "mtime" formats. Previously,
  1940. "isomtime" was the default but produced a verbose human format,
  1941. while "mtime" produced a ISO-8601-like format.
  1942. The behaviours have been swapped (so "mtime" is human, "isomtime" is ISO-like),
  1943. and the default is now "mtime".
  1944. "isomtime" is now a real ISO-8601 format ("T" between date and time, not a space).
  1945. New features:
  1946. - None.
  1947. Fixes:
  1948. - list: fix weird mixup of mtime/isomtime
  1949. - create --timestamp: set start time, #2957
  1950. - ignore corrupt files cache, #2939
  1951. - migrate locks to child PID when daemonize is used
  1952. - fix exitcode of borg serve, #2910
  1953. - only compare contents when chunker params match, #2899
  1954. - umount: try fusermount, then try umount, #2863
  1955. Other changes:
  1956. - JSON: use a more standard ISO 8601 datetime format, #2376
  1957. - cache: write_archive_index: truncate_and_unlink on error, #2628
  1958. - detect non-upgraded Attic repositories, #1933
  1959. - delete various nogil and threading related lines
  1960. - coala / pylint related improvements
  1961. - docs:
  1962. - renew asciinema/screencasts, #669
  1963. - create: document exclusion through nodump, #2949
  1964. - minor formatting fixes
  1965. - tar: tarpipe example
  1966. - improve "with-lock" and "info" docs, #2869
  1967. - detail how to use macOS/GNOME/KDE keyrings for repo passwords, #392
  1968. - travis: only short-circuit docs-only changes for pull requests
  1969. - vagrant:
  1970. - netbsd: bash is already installed
  1971. - fix netbsd version in PKG_PATH
  1972. - add exe location to PATH when we build an exe
  1973. Version 1.1.0rc1 (2017-07-24)
  1974. -----------------------------
  1975. Compatibility notes:
  1976. - delete: removed short option for --cache-only
  1977. New features:
  1978. - support borg list repo --format {comment} {bcomment} {end}, #2081
  1979. - key import: allow reading from stdin, #2760
  1980. Fixes:
  1981. - with-lock: avoid creating segment files that might be overwritten later, #1867
  1982. - prune: fix checkpoints processing with --glob-archives
  1983. - FUSE: versions view: keep original file extension at end, #2769
  1984. - fix --last, --first: do not accept values <= 0,
  1985. fix reversed archive ordering with --last
  1986. - include testsuite data (attic.tar.gz) when installing the package
  1987. - use limited unpacker for outer key, for manifest (both security precautions),
  1988. #2174 #2175
  1989. - fix bashism in shell scripts, #2820, #2816
  1990. - cleanup endianness detection, create _endian.h,
  1991. fixes build on alpine linux, #2809
  1992. - fix crash with --no-cache-sync (give known chunk size to chunk_incref), #2853
  1993. Other changes:
  1994. - FUSE: versions view: linear numbering by archive time
  1995. - split up interval parsing from filtering for --keep-within, #2610
  1996. - add a basic .editorconfig, #2734
  1997. - use archive creation time as mtime for FUSE mount, #2834
  1998. - upgrade FUSE for macOS (osxfuse) from 3.5.8 to 3.6.3, #2706
  1999. - hashindex: speed up by replacing modulo with "if" to check for wraparound
  2000. - coala checker / pylint: fixed requirements and .coafile, more ignores
  2001. - borg upgrade: name backup directories as 'before-upgrade', #2811
  2002. - add .mailmap
  2003. - some minor changes suggested by lgtm.com
  2004. - docs:
  2005. - better explanation of the --ignore-inode option relevance, #2800
  2006. - fix openSUSE command and add openSUSE section
  2007. - simplify ssh authorized_keys file using "restrict", add legacy note, #2121
  2008. - mount: show usage of archive filters
  2009. - mount: add repository example, #2462
  2010. - info: update and add examples, #2765
  2011. - prune: include example
  2012. - improved style / formatting
  2013. - improved/fixed segments_per_dir docs
  2014. - recreate: fix wrong "remove unwanted files" example
  2015. - reference list of status chars in borg recreate --filter description
  2016. - update source-install docs about doc build dependencies, #2795
  2017. - cleanup installation docs
  2018. - file system requirements, update segs per dir
  2019. - fix checkpoints/parts reference in FAQ, #2859
  2020. - code:
  2021. - hashindex: don't pass side effect into macro
  2022. - crypto low_level: don't mutate local bytes()
  2023. - use dash_open function to open file or "-" for stdin/stdout
  2024. - archiver: argparse cleanup / refactoring
  2025. - shellpattern: add match_end arg
  2026. - tests: added some additional unit tests, some fixes, #2700 #2710
  2027. - vagrant: fix setup of cygwin, add Debian 9 "stretch"
  2028. - travis: don't perform full travis build on docs-only changes, #2531
  2029. Version 1.1.0b6 (2017-06-18)
  2030. ----------------------------
  2031. Compatibility notes:
  2032. - Running "borg init" via a "borg serve --append-only" server will *not* create
  2033. an append-only repository anymore. Use "borg init --append-only" to initialize
  2034. an append-only repository.
  2035. - Repositories in the "repokey" and "repokey-blake2" modes with an empty passphrase
  2036. are now treated as unencrypted repositories for security checks (e.g.
  2037. BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK).
  2038. Previously there would be no prompts nor messages if an unknown repository
  2039. in one of these modes with an empty passphrase was encountered. This would
  2040. allow an attacker to swap a repository, if one assumed that the lack of
  2041. password prompts was due to a set BORG_PASSPHRASE.
  2042. Since the "trick" does not work if BORG_PASSPHRASE is set, this does generally
  2043. not affect scripts.
  2044. - Repositories in the "authenticated" mode are now treated as the unencrypted
  2045. repositories they are.
  2046. - The client-side temporary repository cache now holds unencrypted data for better speed.
  2047. - borg init: removed the short form of --append-only (-a).
  2048. - borg upgrade: removed the short form of --inplace (-i).
  2049. New features:
  2050. - reimplemented the RepositoryCache, size-limited caching of decrypted repo
  2051. contents, integrity checked via xxh64. #2515
  2052. - reduced space usage of chunks.archive.d. Existing caches are migrated during
  2053. a cache sync. #235 #2638
  2054. - integrity checking using xxh64 for important files used by borg, #1101:
  2055. - repository: index and hints files
  2056. - cache: chunks and files caches, chunks.archive.d
  2057. - improve cache sync speed, #1729
  2058. - create: new --no-cache-sync option
  2059. - add repository mandatory feature flags infrastructure, #1806
  2060. - Verify most operations against SecurityManager. Location, manifest timestamp
  2061. and key types are now checked for almost all non-debug commands. #2487
  2062. - implement storage quotas, #2517
  2063. - serve: add --restrict-to-repository, #2589
  2064. - BORG_PASSCOMMAND: use external tool providing the key passphrase, #2573
  2065. - borg export-tar, #2519
  2066. - list: --json-lines instead of --json for archive contents, #2439
  2067. - add --debug-profile option (and also "borg debug convert-profile"), #2473
  2068. - implement --glob-archives/-a, #2448
  2069. - normalize authenticated key modes for better naming consistency:
  2070. - rename "authenticated" to "authenticated-blake2" (uses blake2b)
  2071. - implement "authenticated" mode (uses hmac-sha256)
  2072. Fixes:
  2073. - hashindex: read/write indices >2 GiB on 32bit systems, better error
  2074. reporting, #2496
  2075. - repository URLs: implement IPv6 address support and also more informative
  2076. error message when parsing fails.
  2077. - mount: check whether llfuse is installed before asking for passphrase, #2540
  2078. - mount: do pre-mount checks before opening repository, #2541
  2079. - FUSE:
  2080. - fix crash if empty (None) xattr is read, #2534
  2081. - fix read(2) caching data in metadata cache
  2082. - fix negative uid/gid crash (fix crash when mounting archives
  2083. of external drives made on cygwin), #2674
  2084. - redo ItemCache, on top of object cache
  2085. - use decrypted cache
  2086. - remove unnecessary normpaths
  2087. - serve: ignore --append-only when initializing a repository (borg init), #2501
  2088. - serve: fix incorrect type of exception_short for Errors, #2513
  2089. - fix --exclude and --exclude-from recursing into directories, #2469
  2090. - init: don't allow creating nested repositories, #2563
  2091. - --json: fix encryption[mode] not being the cmdline name
  2092. - remote: propagate Error.traceback correctly
  2093. - fix remote logging and progress, #2241
  2094. - implement --debug-topic for remote servers
  2095. - remote: restore "Remote:" prefix (as used in 1.0.x)
  2096. - rpc negotiate: enable v3 log protocol only for supported clients
  2097. - fix --progress and logging in general for remote
  2098. - fix parse_version, add tests, #2556
  2099. - repository: truncate segments (and also some other files) before unlinking, #2557
  2100. - recreate: keep timestamps as in original archive, #2384
  2101. - recreate: if single archive is not processed, exit 2
  2102. - patterns: don't recurse with ! / --exclude for pf:, #2509
  2103. - cache sync: fix n^2 behaviour in lookup_name
  2104. - extract: don't write to disk with --stdout (affected non-regular-file items), #2645
  2105. - hashindex: implement KeyError, more tests
  2106. Other changes:
  2107. - remote: show path in PathNotAllowed
  2108. - consider repokey w/o passphrase == unencrypted, #2169
  2109. - consider authenticated mode == unencrypted, #2503
  2110. - restrict key file names, #2560
  2111. - document follow_symlinks requirements, check libc, use stat and chown
  2112. with follow_symlinks=False, #2507
  2113. - support common options on the main command, #2508
  2114. - support common options on mid-level commands (e.g. borg *key* export)
  2115. - make --progress a common option
  2116. - increase DEFAULT_SEGMENTS_PER_DIR to 1000
  2117. - chunker: fix invalid use of types (function only used by tests)
  2118. - chunker: don't do uint32_t >> 32
  2119. - FUSE:
  2120. - add instrumentation (--debug and SIGUSR1/SIGINFO)
  2121. - reduced memory usage for repository mounts by lazily instantiating archives
  2122. - improved archive load times
  2123. - info: use CacheSynchronizer & HashIndex.stats_against (better performance)
  2124. - docs:
  2125. - init: document --encryption as required
  2126. - security: OpenSSL usage
  2127. - security: used implementations; note python libraries
  2128. - security: security track record of OpenSSL and msgpack
  2129. - patterns: document denial of service (regex, wildcards)
  2130. - init: note possible denial of service with "none" mode
  2131. - init: document SHA extension is supported in OpenSSL and thus SHA is
  2132. faster on AMD Ryzen than blake2b.
  2133. - book: use A4 format, new builder option format.
  2134. - book: create appendices
  2135. - data structures: explain repository compaction
  2136. - data structures: add chunk layout diagram
  2137. - data structures: integrity checking
  2138. - data structures: demingle cache and repo index
  2139. - Attic FAQ: separate section for attic stuff
  2140. - FAQ: I get an IntegrityError or similar - what now?
  2141. - FAQ: Can I use Borg on SMR hard drives?, #2252
  2142. - FAQ: specify "using inline shell scripts"
  2143. - add systemd warning regarding placeholders, #2543
  2144. - xattr: document API
  2145. - add docs/misc/borg-data-flow data flow chart
  2146. - debugging facilities
  2147. - README: how to help the project, #2550
  2148. - README: add bountysource badge, #2558
  2149. - fresh new theme + tweaking
  2150. - logo: vectorized (PDF and SVG) versions
  2151. - frontends: use headlines - you can link to them
  2152. - mark --pattern, --patterns-from as experimental
  2153. - highlight experimental features in online docs
  2154. - remove regex based pattern examples, #2458
  2155. - nanorst for "borg help TOPIC" and --help
  2156. - split deployment
  2157. - deployment: hosting repositories
  2158. - deployment: automated backups to a local hard drive
  2159. - development: vagrant, windows10 requirements
  2160. - development: update docs remarks
  2161. - split usage docs, #2627
  2162. - usage: avoid bash highlight, [options] instead of <options>
  2163. - usage: add benchmark page
  2164. - helpers: truncate_and_unlink doc
  2165. - don't suggest to leak BORG_PASSPHRASE
  2166. - internals: columnize rather long ToC [webkit fixup]
  2167. internals: manifest & feature flags
  2168. - internals: more HashIndex details
  2169. - internals: fix ASCII art equations
  2170. - internals: edited obj graph related sections a bit
  2171. - internals: layers image + description
  2172. - fix way too small figures in pdf
  2173. - index: disable syntax highlight (bash)
  2174. - improve options formatting, fix accidental block quotes
  2175. - testing / checking:
  2176. - add support for using coala, #1366
  2177. - testsuite: add ArchiverCorruptionTestCase
  2178. - do not test logger name, #2504
  2179. - call setup_logging after destroying logging config
  2180. - testsuite.archiver: normalise pytest.raises vs. assert_raises
  2181. - add test for preserved intermediate folder permissions, #2477
  2182. - key: add round-trip test
  2183. - remove attic dependency of the tests, #2505
  2184. - enable remote tests on cygwin
  2185. - tests: suppress tar's future timestamp warning
  2186. - cache sync: add more refcount tests
  2187. - repository: add tests, including corruption tests
  2188. - vagrant:
  2189. - control VM cpus and pytest workers via env vars VMCPUS and XDISTN
  2190. - update cleaning workdir
  2191. - fix openbsd shell
  2192. - add OpenIndiana
  2193. - packaging:
  2194. - binaries: don't bundle libssl
  2195. - setup.py clean to remove compiled files
  2196. - fail in borg package if version metadata is very broken (setuptools_scm)
  2197. - repo / code structure:
  2198. - create borg.algorithms and borg.crypto packages
  2199. - algorithms: rename crc32 to checksums
  2200. - move patterns to module, #2469
  2201. - gitignore: complete paths for src/ excludes
  2202. - cache: extract CacheConfig class
  2203. - implement IntegrityCheckedFile + Detached variant, #2502 #1688
  2204. - introduce popen_with_error_handling to handle common user errors
  2205. Version 1.1.0b5 (2017-04-30)
  2206. ----------------------------
  2207. Compatibility notes:
  2208. - BORG_HOSTNAME_IS_UNIQUE is now on by default.
  2209. - removed --compression-from feature
  2210. - recreate: add --recompress flag, unify --always-recompress and
  2211. --recompress
  2212. Fixes:
  2213. - catch exception for os.link when hardlinks are not supported, #2405
  2214. - borg rename / recreate: expand placeholders, #2386
  2215. - generic support for hardlinks (files, devices, FIFOs), #2324
  2216. - extract: also create parent dir for device files, if needed, #2358
  2217. - extract: if a hardlink master is not in the to-be-extracted subset,
  2218. the "x" status was not displayed for it, #2351
  2219. - embrace y2038 issue to support 32bit platforms: clamp timestamps to int32,
  2220. #2347
  2221. - verify_data: fix IntegrityError handling for defect chunks, #2442
  2222. - allow excluding parent and including child, #2314
  2223. Other changes:
  2224. - refactor compression decision stuff
  2225. - change global compression default to lz4 as well, to be consistent
  2226. with --compression defaults.
  2227. - placeholders: deny access to internals and other unspecified stuff
  2228. - clearer error message for unrecognized placeholder
  2229. - more clear exception if borg check does not help, #2427
  2230. - vagrant: upgrade FUSE for macOS to 3.5.8, #2346
  2231. - linux binary builds: get rid of glibc 2.13 dependency, #2430
  2232. - docs:
  2233. - placeholders: document escaping
  2234. - serve: env vars in original commands are ignored
  2235. - tell what kind of hardlinks we support
  2236. - more docs about compression
  2237. - LICENSE: use canonical formulation
  2238. ("copyright holders and contributors" instead of "author")
  2239. - document borg init behaviour via append-only borg serve, #2440
  2240. - be clear about what buzhash is used for, #2390
  2241. - add hint about chunker params, #2421
  2242. - clarify borg upgrade docs, #2436
  2243. - FAQ to explain warning when running borg check --repair, #2341
  2244. - repository file system requirements, #2080
  2245. - pre-install considerations
  2246. - misc. formatting / crossref fixes
  2247. - tests:
  2248. - enhance travis setuptools_scm situation
  2249. - add extra test for the hashindex
  2250. - fix invalid param issue in benchmarks
  2251. These belong to 1.1.0b4 release, but did not make it into changelog by then:
  2252. - vagrant: increase memory for parallel testing
  2253. - lz4 compress: lower max. buffer size, exception handling
  2254. - add docstring to do_benchmark_crud
  2255. - patterns help: mention path full-match in intro
  2256. Version 1.1.0b4 (2017-03-27)
  2257. ----------------------------
  2258. Compatibility notes:
  2259. - init: the --encryption argument is mandatory now (there are several choices)
  2260. - moved "borg migrate-to-repokey" to "borg key migrate-to-repokey".
  2261. - "borg change-passphrase" is deprecated, use "borg key change-passphrase"
  2262. instead.
  2263. - the --exclude-if-present option now supports tagging a folder with any
  2264. filesystem object type (file, folder, etc), instead of expecting only files
  2265. as tags, #1999
  2266. - the --keep-tag-files option has been deprecated in favor of the new
  2267. --keep-exclude-tags, to account for the change mentioned above.
  2268. - use lz4 compression by default, #2179
  2269. New features:
  2270. - JSON API to make developing frontends and automation easier
  2271. (see :ref:`json_output`)
  2272. - add JSON output to commands: `borg create/list/info --json ...`.
  2273. - add --log-json option for structured logging output.
  2274. - add JSON progress information, JSON support for confirmations (yes()).
  2275. - add two new options --pattern and --patterns-from as discussed in #1406
  2276. - new path full match pattern style (pf:) for very fast matching, #2334
  2277. - add 'debug dump-manifest' and 'debug dump-archive' commands
  2278. - add 'borg benchmark crud' command, #1788
  2279. - new 'borg delete --force --force' to delete severely corrupted archives, #1975
  2280. - info: show utilization of maximum archive size, #1452
  2281. - list: add dsize and dcsize keys, #2164
  2282. - paperkey.html: Add interactive html template for printing key backups.
  2283. - key export: add qr html export mode
  2284. - securely erase config file (which might have old encryption key), #2257
  2285. - archived file items: add size to metadata, 'borg extract' and 'borg check' do
  2286. check the file size for consistency, FUSE uses precomputed size from Item.
  2287. Fixes:
  2288. - fix remote speed regression introduced in 1.1.0b3, #2185
  2289. - fix regression handling timestamps beyond 2262 (revert bigint removal),
  2290. introduced in 1.1.0b3, #2321
  2291. - clamp (nano)second values to unproblematic range, #2304
  2292. - hashindex: rebuild hashtable if we have too little empty buckets
  2293. (performance fix), #2246
  2294. - Location regex: fix bad parsing of wrong syntax
  2295. - ignore posix_fadvise errors in repository.py, #2095
  2296. - borg rpc: use limited msgpack.Unpacker (security precaution), #2139
  2297. - Manifest: Make sure manifest timestamp is strictly monotonically increasing.
  2298. - create: handle BackupOSError on a per-path level in one spot
  2299. - create: clarify -x option / meaning of "same filesystem"
  2300. - create: don't create hard link refs to failed files
  2301. - archive check: detect and fix missing all-zero replacement chunks, #2180
  2302. - files cache: update inode number when --ignore-inode is used, #2226
  2303. - fix decompression exceptions crashing ``check --verify-data`` and others
  2304. instead of reporting integrity error, #2224 #2221
  2305. - extract: warning for unextracted big extended attributes, #2258, #2161
  2306. - mount: umount on SIGINT/^C when in foreground
  2307. - mount: handle invalid hard link refs
  2308. - mount: fix huge RAM consumption when mounting a repository (saves number of
  2309. archives * 8 MiB), #2308
  2310. - hashindex: detect mingw byte order #2073
  2311. - hashindex: fix wrong skip_hint on hashindex_set when encountering tombstones,
  2312. the regression was introduced in #1748
  2313. - fix ChunkIndex.__contains__ assertion for big-endian archs
  2314. - fix borg key/debug/benchmark crashing without subcommand, #2240
  2315. - Location: accept //servername/share/path
  2316. - correct/refactor calculation of unique/non-unique chunks
  2317. - extract: fix missing call to ProgressIndicator.finish
  2318. - prune: fix error msg, it is --keep-within, not --within
  2319. - fix "auto" compression mode bug (not compressing), #2331
  2320. - fix symlink item fs size computation, #2344
  2321. Other changes:
  2322. - remote repository: improved async exception processing, #2255 #2225
  2323. - with --compression auto,C, only use C if lz4 achieves at least 3% compression
  2324. - PatternMatcher: only normalize path once, #2338
  2325. - hashindex: separate endian-dependent defs from endian detection
  2326. - migrate-to-repokey: ask using canonical_path() as we do everywhere else.
  2327. - SyncFile: fix use of fd object after close
  2328. - make LoggedIO.close_segment reentrant
  2329. - creating a new segment: use "xb" mode, #2099
  2330. - redo key_creator, key_factory, centralise key knowledge, #2272
  2331. - add return code functions, #2199
  2332. - list: only load cache if needed
  2333. - list: files->items, clarifications
  2334. - list: add "name" key for consistency with info cmd
  2335. - ArchiveFormatter: add "start" key for compatibility with "info"
  2336. - RemoteRepository: account rx/tx bytes
  2337. - setup.py build_usage/build_man/build_api fixes
  2338. - Manifest.in: simplify, exclude .so, .dll and .orig, #2066
  2339. - FUSE: get rid of chunk accounting, st_blocks = ceil(size / blocksize).
  2340. - tests:
  2341. - help python development by testing 3.6-dev
  2342. - test for borg delete --force
  2343. - vagrant:
  2344. - freebsd: some fixes, #2067
  2345. - darwin64: use osxfuse 3.5.4 for tests / to build binaries
  2346. - darwin64: improve VM settings
  2347. - use python 3.5.3 to build binaries, #2078
  2348. - upgrade pyinstaller from 3.1.1+ to 3.2.1
  2349. - pyinstaller: use fixed AND freshly compiled bootloader, #2002
  2350. - pyinstaller: automatically builds bootloader if missing
  2351. - docs:
  2352. - create really nice man pages
  2353. - faq: mention --remote-ratelimit in bandwidth limit question
  2354. - fix caskroom link, #2299
  2355. - docs/security: reiterate that RPC in Borg does no networking
  2356. - docs/security: counter tracking, #2266
  2357. - docs/development: update merge remarks
  2358. - address SSH batch mode in docs, #2202 #2270
  2359. - add warning about running build_usage on Python >3.4, #2123
  2360. - one link per distro in the installation page
  2361. - improve --exclude-if-present and --keep-exclude-tags, #2268
  2362. - improve automated backup script in doc, #2214
  2363. - improve remote-path description
  2364. - update docs for create -C default change (lz4)
  2365. - document relative path usage, #1868
  2366. - document snapshot usage, #2178
  2367. - corrected some stuff in internals+security
  2368. - internals: move toctree to after the introduction text
  2369. - clarify metadata kind, manifest ops
  2370. - key enc: correct / clarify some stuff, link to internals/security
  2371. - datas: enc: 1.1.x mas different MACs
  2372. - datas: enc: correct factual error -- no nonce involved there.
  2373. - make internals.rst an index page and edit it a bit
  2374. - add "Cryptography in Borg" and "Remote RPC protocol security" sections
  2375. - document BORG_HOSTNAME_IS_UNIQUE, #2087
  2376. - FAQ by categories as proposed by @anarcat in #1802
  2377. - FAQ: update Which file types, attributes, etc. are *not* preserved?
  2378. - development: new branching model for git repository
  2379. - development: define "ours" merge strategy for auto-generated files
  2380. - create: move --exclude note to main doc
  2381. - create: move item flags to main doc
  2382. - fix examples using borg init without -e/--encryption
  2383. - list: don't print key listings in fat (html + man)
  2384. - remove Python API docs (were very incomplete, build problems on RTFD)
  2385. - added FAQ section about backing up root partition
  2386. Version 1.1.0b3 (2017-01-15)
  2387. ----------------------------
  2388. Compatibility notes:
  2389. - borg init: removed the default of "--encryption/-e", #1979
  2390. This was done so users do a informed decision about -e mode.
  2391. Bug fixes:
  2392. - borg recreate: don't rechunkify unless explicitly told so
  2393. - borg info: fixed bug when called without arguments, #1914
  2394. - borg init: fix free space check crashing if disk is full, #1821
  2395. - borg debug delete/get obj: fix wrong reference to exception
  2396. - fix processing of remote ~/ and ~user/ paths (regressed since 1.1.0b1), #1759
  2397. - posix platform module: only build / import on non-win32 platforms, #2041
  2398. New features:
  2399. - new CRC32 implementations that are much faster than the zlib one used previously, #1970
  2400. - add blake2b key modes (use blake2b as MAC). This links against system libb2,
  2401. if possible, otherwise uses bundled code
  2402. - automatically remove stale locks - set BORG_HOSTNAME_IS_UNIQUE env var
  2403. to enable stale lock killing. If set, stale locks in both cache and
  2404. repository are deleted. #562 #1253
  2405. - borg info <repo>: print general repo information, #1680
  2406. - borg check --first / --last / --sort / --prefix, #1663
  2407. - borg mount --first / --last / --sort / --prefix, #1542
  2408. - implement "health" item formatter key, #1749
  2409. - BORG_SECURITY_DIR to remember security related infos outside the cache.
  2410. Key type, location and manifest timestamp checks now survive cache
  2411. deletion. This also means that you can now delete your cache and avoid
  2412. previous warnings, since Borg can still tell it's safe.
  2413. - implement BORG_NEW_PASSPHRASE, #1768
  2414. Other changes:
  2415. - borg recreate:
  2416. - remove special-cased --dry-run
  2417. - update --help
  2418. - remove bloat: interruption blah, autocommit blah, resuming blah
  2419. - re-use existing checkpoint functionality
  2420. - archiver tests: add check_cache tool - lints refcounts
  2421. - fixed cache sync performance regression from 1.1.0b1 onwards, #1940
  2422. - syncing the cache without chunks.archive.d (see :ref:`disable_archive_chunks`)
  2423. now avoids any merges and is thus faster, #1940
  2424. - borg check --verify-data: faster due to linear on-disk-order scan
  2425. - borg debug-xxx commands removed, we use "debug xxx" subcommands now, #1627
  2426. - improve metadata handling speed
  2427. - shortcut hashindex_set by having hashindex_lookup hint about address
  2428. - improve / add progress displays, #1721
  2429. - check for index vs. segment files object count mismatch
  2430. - make RPC protocol more extensible: use named parameters.
  2431. - RemoteRepository: misc. code cleanups / refactors
  2432. - clarify cache/repository README file
  2433. - docs:
  2434. - quickstart: add a comment about other (remote) filesystems
  2435. - quickstart: only give one possible ssh url syntax, all others are
  2436. documented in usage chapter.
  2437. - mention file://
  2438. - document repo URLs / archive location
  2439. - clarify borg diff help, #980
  2440. - deployment: synthesize alternative --restrict-to-path example
  2441. - improve cache / index docs, esp. files cache docs, #1825
  2442. - document using "git merge 1.0-maint -s recursive -X rename-threshold=20%"
  2443. for avoiding troubles when merging the 1.0-maint branch into master.
  2444. - tests:
  2445. - FUSE tests: catch ENOTSUP on freebsd
  2446. - FUSE tests: test troublesome xattrs last
  2447. - fix byte range error in test, #1740
  2448. - use monkeypatch to set env vars, but only on pytest based tests.
  2449. - point XDG_*_HOME to temp dirs for tests, #1714
  2450. - remove all BORG_* env vars from the outer environment
  2451. Version 1.1.0b2 (2016-10-01)
  2452. ----------------------------
  2453. Bug fixes:
  2454. - fix incorrect preservation of delete tags, leading to "object count mismatch"
  2455. on borg check, #1598. This only occurred with 1.1.0b1 (not with 1.0.x) and is
  2456. normally fixed by running another borg create/delete/prune.
  2457. - fix broken --progress for double-cell paths (e.g. CJK), #1624
  2458. - borg recreate: also catch SIGHUP
  2459. - FUSE:
  2460. - fix hardlinks in versions view, #1599
  2461. - add parameter check to ItemCache.get to make potential failures more clear
  2462. New features:
  2463. - Archiver, RemoteRepository: add --remote-ratelimit (send data)
  2464. - borg help compression, #1582
  2465. - borg check: delete chunks with integrity errors, #1575, so they can be
  2466. "repaired" immediately and maybe healed later.
  2467. - archives filters concept (refactoring/unifying older code)
  2468. - covers --first/--last/--prefix/--sort-by options
  2469. - currently used for borg list/info/delete
  2470. Other changes:
  2471. - borg check --verify-data slightly tuned (use get_many())
  2472. - change {utcnow} and {now} to ISO-8601 format ("T" date/time separator)
  2473. - repo check: log transaction IDs, improve object count mismatch diagnostic
  2474. - Vagrantfile: use TW's fresh-bootloader pyinstaller branch
  2475. - fix module names in api.rst
  2476. - hashindex: bump api_version
  2477. Version 1.1.0b1 (2016-08-28)
  2478. ----------------------------
  2479. New features:
  2480. - new commands:
  2481. - borg recreate: re-create existing archives, #787 #686 #630 #70, also see
  2482. #757, #770.
  2483. - selectively remove files/dirs from old archives
  2484. - re-compress data
  2485. - re-chunkify data, e.g. to have upgraded Attic / Borg 0.xx archives
  2486. deduplicate with Borg 1.x archives or to experiment with chunker-params.
  2487. - borg diff: show differences between archives
  2488. - borg with-lock: execute a command with the repository locked, #990
  2489. - borg create:
  2490. - Flexible compression with pattern matching on path/filename,
  2491. and LZ4 heuristic for deciding compressibility, #810, #1007
  2492. - visit files in inode order (better speed, esp. for large directories and rotating disks)
  2493. - in-file checkpoints, #1217
  2494. - increased default checkpoint interval to 30 minutes (was 5 minutes), #896
  2495. - added uuid archive format tag, #1151
  2496. - save mountpoint directories with --one-file-system, makes system restore easier, #1033
  2497. - Linux: added support for some BSD flags, #1050
  2498. - add 'x' status for excluded paths, #814
  2499. - also means files excluded via UF_NODUMP, #1080
  2500. - borg check:
  2501. - will not produce the "Checking segments" output unless new --progress option is passed, #824.
  2502. - --verify-data to verify data cryptographically on the client, #975
  2503. - borg list, #751, #1179
  2504. - removed {formatkeys}, see "borg list --help"
  2505. - --list-format is deprecated, use --format instead
  2506. - --format now also applies to listing archives, not only archive contents, #1179
  2507. - now supports the usual [PATH [PATHS…]] syntax and excludes
  2508. - new keys: csize, num_chunks, unique_chunks, NUL
  2509. - supports guaranteed_available hashlib hashes
  2510. (to avoid varying functionality depending on environment),
  2511. which includes the SHA1 and SHA2 family as well as MD5
  2512. - borg prune:
  2513. - to visualize the "thinning out" better, we now list all archives in
  2514. reverse time order. rephrase and reorder help text.
  2515. - implement --keep-last N via --keep-secondly N, also --keep-minutely.
  2516. assuming that there is not more than 1 backup archive made in 1s,
  2517. --keep-last N and --keep-secondly N are equivalent, #537
  2518. - cleanup checkpoints except the latest, #1008
  2519. - borg extract:
  2520. - added --progress, #1449
  2521. - Linux: limited support for BSD flags, #1050
  2522. - borg info:
  2523. - output is now more similar to borg create --stats, #977
  2524. - borg mount:
  2525. - provide "borgfs" wrapper for borg mount, enables usage via fstab, #743
  2526. - "versions" mount option - when used with a repository mount, this gives
  2527. a merged, versioned view of the files in all archives, #729
  2528. - repository:
  2529. - added progress information to commit/compaction phase (often takes some time when deleting/pruning), #1519
  2530. - automatic recovery for some forms of repository inconsistency, #858
  2531. - check free space before going forward with a commit, #1336
  2532. - improved write performance (esp. for rotating media), #985
  2533. - new IO code for Linux
  2534. - raised default segment size to approx 512 MiB
  2535. - improved compaction performance, #1041
  2536. - reduced client CPU load and improved performance for remote repositories, #940
  2537. - options that imply output (--show-rc, --show-version, --list, --stats,
  2538. --progress) don't need -v/--info to have that output displayed, #865
  2539. - add archive comments (via borg (re)create --comment), #842
  2540. - borg list/prune/delete: also output archive id, #731
  2541. - --show-version: shows/logs the borg version, #725
  2542. - added --debug-topic for granular debug logging, #1447
  2543. - use atomic file writing/updating for configuration and key files, #1377
  2544. - BORG_KEY_FILE environment variable, #1001
  2545. - self-testing module, #970
  2546. Bug fixes:
  2547. - list: fixed default output being produced if --format is given with empty parameter, #1489
  2548. - create: fixed overflowing progress line with CJK and similar characters, #1051
  2549. - prune: fixed crash if --prefix resulted in no matches, #1029
  2550. - init: clean up partial repo if passphrase input is aborted, #850
  2551. - info: quote cmdline arguments that have spaces in them
  2552. - fix hardlinks failing in some cases for extracting subtrees, #761
  2553. Other changes:
  2554. - replace stdlib hmac with OpenSSL, zero-copy decrypt (10-15% increase in
  2555. performance of hash-lists and extract).
  2556. - improved chunker performance, #1021
  2557. - open repository segment files in exclusive mode (fail-safe), #1134
  2558. - improved error logging, #1440
  2559. - Source:
  2560. - pass meta-data around, #765
  2561. - move some constants to new constants module
  2562. - better readability and fewer errors with namedtuples, #823
  2563. - moved source tree into src/ subdirectory, #1016
  2564. - made borg.platform a package, #1113
  2565. - removed dead crypto code, #1032
  2566. - improved and ported parts of the test suite to py.test, #912
  2567. - created data classes instead of passing dictionaries around, #981, #1158, #1161
  2568. - cleaned up imports, #1112
  2569. - Docs:
  2570. - better help texts and sphinx reproduction of usage help:
  2571. - Group options
  2572. - Nicer list of options in Sphinx
  2573. - Deduplicate 'Common options' (including --help)
  2574. - chunker: added some insights by "Voltara", #903
  2575. - clarify what "deduplicated size" means
  2576. - fix / update / add package list entries
  2577. - added a SaltStack usage example, #956
  2578. - expanded FAQ
  2579. - new contributors in AUTHORS!
  2580. - Tests:
  2581. - vagrant: add ubuntu/xenial 64bit - this box has still some issues
  2582. - ChunkBuffer: add test for leaving partial chunk in buffer, fixes #945
  2583. Version 1.0.13 (2019-02-15)
  2584. ---------------------------
  2585. Please note: this is very likely the last 1.0.x release, please upgrade to 1.1.x.
  2586. Bug fixes:
  2587. - security fix: configure FUSE with "default_permissions", #3903.
  2588. "default_permissions" is now enforced by borg by default to let the
  2589. kernel check uid/gid/mode based permissions.
  2590. "ignore_permissions" can be given not to enforce "default_permissions".
  2591. - xattrs: fix borg exception handling on ENOSPC error, #3808.
  2592. New features:
  2593. - Read a passphrase from a file descriptor specified in the
  2594. BORG_PASSPHRASE_FD environment variable.
  2595. Other changes:
  2596. - acl platform code: fix acl set return type
  2597. - xattr:
  2598. - add linux {list,get,set}xattr ctypes prototypes
  2599. - fix darwin flistxattr ctypes prototype
  2600. - testing / travis-ci:
  2601. - fix the homebrew 1.9 issues on travis-ci, #4254
  2602. - travis OS X: use xcode 8.3 (not broken)
  2603. - tox.ini: lock requirements
  2604. - unbreak 1.0-maint on travis, fixes #4123
  2605. - vagrant:
  2606. - misc. fixes
  2607. - FUSE for macOS: upgrade 3.7.1 to 3.8.3
  2608. - Python: upgrade 3.5.5 to 3.5.6
  2609. - docs:
  2610. - Update installation instructions for macOS
  2611. - update release workflow using twine (docs, scripts), #4213
  2612. Version 1.0.12 (2018-04-08)
  2613. ---------------------------
  2614. Bug fixes:
  2615. - repository: cleanup/write: invalidate cached FDs, tests
  2616. - serve: fix exitcode, #2910
  2617. - extract: set bsdflags last (include immutable flag), #3263
  2618. - create --timestamp: set start time, #2957
  2619. - create: show excluded dir with "x" for tagged dirs / caches, #3189
  2620. - migrate locks to child PID when daemonize is used
  2621. - Buffer: fix wrong thread-local storage use, #2951
  2622. - fix detection of non-local path, #3108
  2623. - fix LDLP restoration for subprocesses, #3077
  2624. - fix subprocess environments (xattr module's fakeroot version check,
  2625. borg umount, BORG_PASSCOMMAND), #3050
  2626. - remote: deal with partial lines, #2637
  2627. - get rid of datetime.isoformat, use safe parse_timestamp to parse
  2628. timestamps, #2994
  2629. - build: do .h file content checks in binary mode, fixes build issue for
  2630. non-ascii header files on pure-ascii locale platforms, #3544 #3639
  2631. - remove platform.uname() call which caused library mismatch issues, #3732
  2632. - add exception handler around deprecated platform.linux_distribution() call
  2633. Other changes:
  2634. - require msgpack-python >= 0.4.6 and < 0.5.0, see #3753
  2635. - add parens for C preprocessor macro argument usages (did not cause
  2636. malfunction)
  2637. - ignore corrupt files cache, #2939
  2638. - replace "modulo" with "if" to check for wraparound in hashmap
  2639. - keymanager: don't depend on optional readline module, #2980
  2640. - exclude broken pytest 3.3.0 release
  2641. - exclude broken Cython 0.27(.0) release, #3066
  2642. - flake8: add some ignores
  2643. - docs:
  2644. - create: document exclusion through nodump
  2645. - document good and problematic option placements, fix examples, #3356
  2646. - update docs about hardlinked symlinks limitation
  2647. - faq: we do not implement futile attempts of ETA / progress displays
  2648. - simplified rate limiting wrapper in FAQ
  2649. - twitter account @borgbackup, #2948
  2650. - add note about metadata dedup and --no[ac]time, #2518
  2651. - change-passphrase only changes the passphrase, #2990
  2652. - clarify encrypted key format for borg key export, #3296
  2653. - document sshfs rename workaround, #3315
  2654. - update release checklist about security fixes
  2655. - docs about how to verify a signed release, #3634
  2656. - chunk seed is generated per /repository/
  2657. - vagrant:
  2658. - use FUSE for macOS 3.7.1 to build the macOS binary
  2659. - use python 3.5.5 to build the binaries
  2660. - add exe location to PATH when we build an exe
  2661. - use https pypi url for wheezy
  2662. - netbsd: bash is already installed
  2663. - netbsd: fix netbsd version in PKG_PATH
  2664. - use self-made FreeBSD 10.3 box, #3022
  2665. - backport fs_init (including related updates) from 1.1
  2666. - the boxcutter wheezy boxes are 404, use local ones
  2667. - travis:
  2668. - don't perform full Travis build on docs-only changes, #2531
  2669. - only short-circuit docs-only changes for pull requests
  2670. Version 1.0.11 (2017-07-21)
  2671. ---------------------------
  2672. Bug fixes:
  2673. - use limited unpacker for outer key (security precaution), #2174
  2674. - fix paperkey import bug
  2675. Other changes:
  2676. - change --checkpoint-interval default from 600s to 1800s, #2841.
  2677. this improves efficiency for big repositories a lot.
  2678. - docs: fix OpenSUSE command and add OpenSUSE section
  2679. - tests: add tests for split_lstring and paperkey
  2680. - vagrant:
  2681. - fix openbsd shell
  2682. - backport cpu/ram setup from master
  2683. - add stretch64 VM
  2684. Version 1.0.11rc1 (2017-06-27)
  2685. ------------------------------
  2686. Bug fixes:
  2687. - performance: rebuild hashtable if we have too few empty buckets, #2246.
  2688. this fixes some sporadic, but severe performance breakdowns.
  2689. - Archive: allocate zeros when needed, #2308
  2690. fixes huge memory usage of mount (8 MiB × number of archives)
  2691. - IPv6 address support
  2692. also: Location: more informative exception when parsing fails
  2693. - borg single-file binary: use pyinstaller v3.2.1, #2396
  2694. this fixes that the prelink cronjob on some distros kills the
  2695. borg binary by stripping away parts of it.
  2696. - extract:
  2697. - warning for unextracted big extended attributes, #2258
  2698. - also create parent dir for device files, if needed.
  2699. - don't write to disk with --stdout, #2645
  2700. - archive check: detect and fix missing all-zero replacement chunks, #2180
  2701. - fix (de)compression exceptions, #2224 #2221
  2702. - files cache: update inode number, #2226
  2703. - borg rpc: use limited msgpack.Unpacker (security precaution), #2139
  2704. - Manifest: use limited msgpack.Unpacker (security precaution), #2175
  2705. - Location: accept //servername/share/path
  2706. - fix ChunkIndex.__contains__ assertion for big-endian archs (harmless)
  2707. - create: handle BackupOSError on a per-path level in one spot
  2708. - fix error msg, there is no --keep-last in borg 1.0.x, #2282
  2709. - clamp (nano)second values to unproblematic range, #2304
  2710. - fuse / borg mount:
  2711. - fix st_blocks to be an integer (not float) value
  2712. - fix negative uid/gid crash (they could come into archives e.g. when
  2713. backing up external drives under cygwin), #2674
  2714. - fix crash if empty (None) xattr is read
  2715. - do pre-mount checks before opening repository
  2716. - check llfuse is installed before asking for passphrase
  2717. - borg rename: expand placeholders, #2386
  2718. - borg serve: fix forced command lines containing BORG_* env vars
  2719. - fix error msg, it is --keep-within, not --within
  2720. - fix borg key/debug/benchmark crashing without subcommand, #2240
  2721. - chunker: fix invalid use of types, don't do uint32_t >> 32
  2722. - document follow_symlinks requirements, check libc, #2507
  2723. New features:
  2724. - added BORG_PASSCOMMAND environment variable, #2573
  2725. - add minimal version of in repository mandatory feature flags, #2134
  2726. This should allow us to make sure older borg versions can be cleanly
  2727. prevented from doing operations that are no longer safe because of
  2728. repository format evolution. This allows more fine grained control than
  2729. just incrementing the manifest version. So for example a change that
  2730. still allows new archives to be created but would corrupt the repository
  2731. when an old version tries to delete an archive or check the repository
  2732. would add the new feature to the check and delete set but leave it out
  2733. of the write set.
  2734. - borg delete --force --force to delete severely corrupted archives, #1975
  2735. Other changes:
  2736. - embrace y2038 issue to support 32bit platforms
  2737. - be more clear that this is a "beyond repair" case, #2427
  2738. - key file names: limit to 100 characters and remove colons from host name
  2739. - upgrade FUSE for macOS to 3.5.8, #2346
  2740. - split up parsing and filtering for --keep-within, better error message, #2610
  2741. - docs:
  2742. - fix caskroom link, #2299
  2743. - address SSH batch mode, #2202 #2270
  2744. - improve remote-path description
  2745. - document snapshot usage, #2178
  2746. - document relative path usage, #1868
  2747. - one link per distro in the installation page
  2748. - development: new branching model in git repository
  2749. - kill api page
  2750. - added FAQ section about backing up root partition
  2751. - add bountysource badge, #2558
  2752. - create empty docs.txt requirements, #2694
  2753. - README: how to help the project
  2754. - note -v/--verbose requirement on affected options, #2542
  2755. - document borg init behaviour via append-only borg serve, #2440
  2756. - be clear about what buzhash is used for (chunking) and want it is not
  2757. used for (deduplication)- also say already in the readme that we use a
  2758. cryptohash for dedupe, so people don't worry, #2390
  2759. - add hint about chunker params to borg upgrade docs, #2421
  2760. - clarify borg upgrade docs, #2436
  2761. - quickstart: delete problematic BORG_PASSPHRASE use, #2623
  2762. - faq: specify "using inline shell scripts"
  2763. - document pattern denial of service, #2624
  2764. - tests:
  2765. - remove attic dependency of the tests, #2505
  2766. - travis:
  2767. - enhance travis setuptools_scm situation
  2768. - install fakeroot for Linux
  2769. - add test for borg delete --force
  2770. - enable remote tests on cygwin (the cygwin issue that caused these tests
  2771. to break was fixed in cygwin at least since cygwin 2.8, maybe even since
  2772. 2.7.0).
  2773. - remove skipping the noatime tests on GNU/Hurd, #2710
  2774. - fix borg import issue, add comment, #2718
  2775. - include attic.tar.gz when installing the package
  2776. also: add include_package_data=True
  2777. Version 1.0.10 (2017-02-13)
  2778. ---------------------------
  2779. Bug fixes:
  2780. - Manifest timestamps are now monotonically increasing,
  2781. this fixes issues when the system clock jumps backwards
  2782. or is set inconsistently across computers accessing the same repository, #2115
  2783. - Fixed testing regression in 1.0.10rc1 that lead to a hard dependency on
  2784. py.test >= 3.0, #2112
  2785. New features:
  2786. - "key export" can now generate a printable HTML page with both a QR code and
  2787. a human-readable "paperkey" representation (and custom text) through the
  2788. ``--qr-html`` option.
  2789. The same functionality is also available through `paperkey.html <paperkey.html>`_,
  2790. which is the same HTML page generated by ``--qr-html``. It works with existing
  2791. "key export" files and key files.
  2792. Other changes:
  2793. - docs:
  2794. - language clarification - "borg create --one-file-system" option does not respect
  2795. mount points, but considers different file systems instead, #2141
  2796. - setup.py: build_api: sort file list for determinism
  2797. Version 1.0.10rc1 (2017-01-29)
  2798. ------------------------------
  2799. Bug fixes:
  2800. - borg serve: fix transmission data loss of pipe writes, #1268
  2801. This affects only the cygwin platform (not Linux, BSD, OS X).
  2802. - Avoid triggering an ObjectiveFS bug in xattr retrieval, #1992
  2803. - When running out of buffer memory when reading xattrs, only skip the
  2804. current file, #1993
  2805. - Fixed "borg upgrade --tam" crashing with unencrypted repositories. Since
  2806. :ref:`the issue <tam_vuln>` is not relevant for unencrypted repositories,
  2807. it now does nothing and prints an error, #1981.
  2808. - Fixed change-passphrase crashing with unencrypted repositories, #1978
  2809. - Fixed "borg check repo::archive" indicating success if "archive" does not exist, #1997
  2810. - borg check: print non-exit-code warning if --last or --prefix aren't fulfilled
  2811. - fix bad parsing of wrong repo location syntax
  2812. - create: don't create hard link refs to failed files,
  2813. mount: handle invalid hard link refs, #2092
  2814. - detect mingw byte order, #2073
  2815. - creating a new segment: use "xb" mode, #2099
  2816. - mount: umount on SIGINT/^C when in foreground, #2082
  2817. Other changes:
  2818. - binary: use fixed AND freshly compiled pyinstaller bootloader, #2002
  2819. - xattr: ignore empty names returned by llistxattr(2) et al
  2820. - Enable the fault handler: install handlers for the SIGSEGV, SIGFPE, SIGABRT,
  2821. SIGBUS and SIGILL signals to dump the Python traceback.
  2822. - Also print a traceback on SIGUSR2.
  2823. - borg change-passphrase: print key location (simplify making a backup of it)
  2824. - officially support Python 3.6 (setup.py: add Python 3.6 qualifier)
  2825. - tests:
  2826. - vagrant / travis / tox: add Python 3.6 based testing
  2827. - vagrant: fix openbsd repo, #2042
  2828. - vagrant: fix the freebsd64 machine, #2037 #2067
  2829. - vagrant: use python 3.5.3 to build binaries, #2078
  2830. - vagrant: use osxfuse 3.5.4 for tests / to build binaries
  2831. vagrant: improve darwin64 VM settings
  2832. - travis: fix osxfuse install (fixes OS X testing on Travis CI)
  2833. - travis: require succeeding OS X tests, #2028
  2834. - travis: use latest pythons for OS X based testing
  2835. - use pytest-xdist to parallelize testing
  2836. - fix xattr test race condition, #2047
  2837. - setup.cfg: fix pytest deprecation warning, #2050
  2838. - docs:
  2839. - language clarification - VM backup FAQ
  2840. - borg create: document how to back up stdin, #2013
  2841. - borg upgrade: fix incorrect title levels
  2842. - add CVE numbers for issues fixed in 1.0.9, #2106
  2843. - fix typos (taken from Debian package patch)
  2844. - remote: include data hexdump in "unexpected RPC data" error message
  2845. - remote: log SSH command line at debug level
  2846. - API_VERSION: use numberspaces, #2023
  2847. - remove .github from pypi package, #2051
  2848. - add pip and setuptools to requirements file, #2030
  2849. - SyncFile: fix use of fd object after close (cosmetic)
  2850. - Manifest.in: simplify, exclude \*.{so,dll,orig}, #2066
  2851. - ignore posix_fadvise errors in repository.py, #2095
  2852. (works around issues with docker on ARM)
  2853. - make LoggedIO.close_segment reentrant, avoid reentrance
  2854. Version 1.0.9 (2016-12-20)
  2855. --------------------------
  2856. Security fixes:
  2857. - A flaw in the cryptographic authentication scheme in Borg allowed an attacker
  2858. to spoof the manifest. See :ref:`tam_vuln` above for the steps you should
  2859. take.
  2860. CVE-2016-10099 was assigned to this vulnerability.
  2861. - borg check: When rebuilding the manifest (which should only be needed very rarely)
  2862. duplicate archive names would be handled on a "first come first serve" basis,
  2863. potentially opening an attack vector to replace archives.
  2864. Example: were there 2 archives named "foo" in a repo (which can not happen
  2865. under normal circumstances, because borg checks if the name is already used)
  2866. and a "borg check" recreated a (previously lost) manifest, the first of the
  2867. archives it encountered would be in the manifest. The second archive is also
  2868. still in the repo, but not referenced in the manifest, in this case. If the
  2869. second archive is the "correct" one (and was previously referenced from the
  2870. manifest), it looks like it got replaced by the first one. In the manifest,
  2871. it actually got replaced. Both remain in the repo but the "correct" one is no
  2872. longer accessible via normal means - the manifest.
  2873. CVE-2016-10100 was assigned to this vulnerability.
  2874. Bug fixes:
  2875. - borg check:
  2876. - rebuild manifest if it's corrupted
  2877. - skip corrupted chunks during manifest rebuild
  2878. - fix TypeError in integrity error handler, #1903, #1894
  2879. - fix location parser for archives with @ char (regression introduced in 1.0.8), #1930
  2880. - fix wrong duration/timestamps if system clock jumped during a create
  2881. - fix progress display not updating if system clock jumps backwards
  2882. - fix checkpoint interval being incorrect if system clock jumps
  2883. Other changes:
  2884. - docs:
  2885. - add python3-devel as a dependency for cygwin-based installation
  2886. - clarify extract is relative to current directory
  2887. - FAQ: fix link to changelog
  2888. - markup fixes
  2889. - tests:
  2890. - test_get\_(cache|keys)_dir: clean env state, #1897
  2891. - get back pytest's pretty assertion failures, #1938
  2892. - setup.py build_usage:
  2893. - fixed build_usage not processing all commands
  2894. - fixed build_usage not generating includes for debug commands
  2895. Version 1.0.9rc1 (2016-11-27)
  2896. -----------------------------
  2897. Bug fixes:
  2898. - files cache: fix determination of newest mtime in backup set (which is
  2899. used in cache cleanup and led to wrong "A" [added] status for unchanged
  2900. files in next backup), #1860.
  2901. - borg check:
  2902. - fix incorrectly reporting attic 0.13 and earlier archives as corrupt
  2903. - handle repo w/o objects gracefully and also bail out early if repo is
  2904. *completely* empty, #1815.
  2905. - fix tox/pybuild in 1.0-maint
  2906. - at xattr module import time, loggers are not initialized yet
  2907. New features:
  2908. - borg umount <mountpoint>
  2909. exposed already existing umount code via the CLI api, so users can use it,
  2910. which is more consistent than using borg to mount and fusermount -u (or
  2911. umount) to un-mount, #1855.
  2912. - implement borg create --noatime --noctime, fixes #1853
  2913. Other changes:
  2914. - docs:
  2915. - display README correctly on PyPI
  2916. - improve cache / index docs, esp. files cache docs, fixes #1825
  2917. - different pattern matching for --exclude, #1779
  2918. - datetime formatting examples for {now} placeholder, #1822
  2919. - clarify passphrase mode attic repo upgrade, #1854
  2920. - clarify --umask usage, #1859
  2921. - clarify how to choose PR target branch
  2922. - clarify prune behavior for different archive contents, #1824
  2923. - fix PDF issues, add logo, fix authors, headings, TOC
  2924. - move security verification to support section
  2925. - fix links in standalone README (:ref: tags)
  2926. - add link to security contact in README
  2927. - add FAQ about security
  2928. - move fork differences to FAQ
  2929. - add more details about resource usage
  2930. - tests: skip remote tests on cygwin, #1268
  2931. - travis:
  2932. - allow OS X failures until the brew cask osxfuse issue is fixed
  2933. - caskroom osxfuse-beta gone, it's osxfuse now (3.5.3)
  2934. - vagrant:
  2935. - upgrade OSXfuse / FUSE for macOS to 3.5.3
  2936. - remove llfuse from tox.ini at a central place
  2937. - do not try to install llfuse on centos6
  2938. - fix FUSE test for darwin, #1546
  2939. - add windows virtual machine with cygwin
  2940. - Vagrantfile cleanup / code deduplication
  2941. Version 1.0.8 (2016-10-29)
  2942. --------------------------
  2943. Bug fixes:
  2944. - RemoteRepository: Fix busy wait in call_many, #940
  2945. New features:
  2946. - implement borgmajor/borgminor/borgpatch placeholders, #1694
  2947. {borgversion} was already there (full version string). With the new
  2948. placeholders you can now also get e.g. 1 or 1.0 or 1.0.8.
  2949. Other changes:
  2950. - avoid previous_location mismatch, #1741
  2951. due to the changed canonicalization for relative paths in PR #1711 / #1655
  2952. (implement /./ relpath hack), there would be a changed repo location warning
  2953. and the user would be asked if this is ok. this would break automation and
  2954. require manual intervention, which is unwanted.
  2955. thus, we automatically fix the previous_location config entry, if it only
  2956. changed in the expected way, but still means the same location.
  2957. - docs:
  2958. - deployment.rst: do not use bare variables in ansible snippet
  2959. - add clarification about append-only mode, #1689
  2960. - setup.py: add comment about requiring llfuse, #1726
  2961. - update usage.rst / api.rst
  2962. - repo url / archive location docs + typo fix
  2963. - quickstart: add a comment about other (remote) filesystems
  2964. - vagrant / tests:
  2965. - no chown when rsyncing (fixes boxes w/o vagrant group)
  2966. - fix FUSE permission issues on linux/freebsd, #1544
  2967. - skip FUSE test for borg binary + fakeroot
  2968. - ignore security.selinux xattrs, fixes tests on centos, #1735
  2969. Version 1.0.8rc1 (2016-10-17)
  2970. -----------------------------
  2971. Bug fixes:
  2972. - fix signal handling (SIGINT, SIGTERM, SIGHUP), #1620 #1593
  2973. Fixes e.g. leftover lock files for quickly repeated signals (e.g. Ctrl-C
  2974. Ctrl-C) or lost connections or systemd sending SIGHUP.
  2975. - progress display: adapt formatting to narrow screens, do not crash, #1628
  2976. - borg create --read-special - fix crash on broken symlink, #1584.
  2977. also correctly processes broken symlinks. before this regressed to a crash
  2978. (5b45385) a broken symlink would've been skipped.
  2979. - process_symlink: fix missing backup_io()
  2980. Fixes a chmod/chown/chgrp/unlink/rename/... crash race between getting
  2981. dirents and dispatching to process_symlink.
  2982. - yes(): abort on wrong answers, saying so, #1622
  2983. - fixed exception borg serve raised when connection was closed before repository
  2984. was opened. Add an error message for this.
  2985. - fix read-from-closed-FD issue, #1551
  2986. (this seems not to get triggered in 1.0.x, but was discovered in master)
  2987. - hashindex: fix iterators (always raise StopIteration when exhausted)
  2988. (this seems not to get triggered in 1.0.x, but was discovered in master)
  2989. - enable relative paths in ssh:// repo URLs, via /./relpath hack, #1655
  2990. - allow repo paths with colons, #1705
  2991. - update changed repo location immediately after acceptance, #1524
  2992. - fix debug get-obj / delete-obj crash if object not found and remote repo,
  2993. #1684
  2994. - pyinstaller: use a spec file to build borg.exe binary, exclude osxfuse dylib
  2995. on Mac OS X (avoids mismatch lib <-> driver), #1619
  2996. New features:
  2997. - add "borg key export" / "borg key import" commands, #1555, so users are able
  2998. to back up / restore their encryption keys more easily.
  2999. Supported formats are the keyfile format used by borg internally and a
  3000. special "paper" format with by line checksums for printed backups. For the
  3001. paper format, the import is an interactive process which checks each line as
  3002. soon as it is input.
  3003. - add "borg debug-refcount-obj" to determine a repo objects' referrer counts,
  3004. #1352
  3005. Other changes:
  3006. - add "borg debug ..." subcommands
  3007. (borg debug-* still works, but will be removed in borg 1.1)
  3008. - setup.py: Add subcommand support to build_usage.
  3009. - remote: change exception message for unexpected RPC data format to indicate
  3010. dataflow direction.
  3011. - improved messages / error reporting:
  3012. - IntegrityError: add placeholder for message, so that the message we give
  3013. appears not only in the traceback, but also in the (short) error message,
  3014. #1572
  3015. - borg.key: include chunk id in exception msgs, #1571
  3016. - better messages for cache newer than repo, #1700
  3017. - vagrant (testing/build VMs):
  3018. - upgrade OSXfuse / FUSE for macOS to 3.5.2
  3019. - update Debian Wheezy boxes, #1686
  3020. - openbsd / netbsd: use own boxes, fixes misc rsync installation and
  3021. FUSE/llfuse related testing issues, #1695 #1696 #1670 #1671 #1728
  3022. - docs:
  3023. - add docs for "key export" and "key import" commands, #1641
  3024. - fix inconsistency in FAQ (pv-wrapper).
  3025. - fix second block in "Easy to use" section not showing on GitHub, #1576
  3026. - add bestpractices badge
  3027. - link reference docs and faq about BORG_FILES_CACHE_TTL, #1561
  3028. - improve borg info --help, explain size infos, #1532
  3029. - add release signing key / security contact to README, #1560
  3030. - add contribution guidelines for developers
  3031. - development.rst: add sphinx_rtd_theme to the sphinx install command
  3032. - adjust border color in borg.css
  3033. - add debug-info usage help file
  3034. - internals.rst: fix typos
  3035. - setup.py: fix build_usage to always process all commands
  3036. - added docs explaining multiple --restrict-to-path flags, #1602
  3037. - add more specific warning about write-access debug commands, #1587
  3038. - clarify FAQ regarding backup of virtual machines, #1672
  3039. - tests:
  3040. - work around FUSE xattr test issue with recent fakeroot
  3041. - simplify repo/hashindex tests
  3042. - travis: test FUSE-enabled borg, use trusty to have a recent FUSE
  3043. - re-enable FUSE tests for RemoteArchiver (no deadlocks any more)
  3044. - clean env for pytest based tests, #1714
  3045. - fuse_mount contextmanager: accept any options
  3046. Version 1.0.7 (2016-08-19)
  3047. --------------------------
  3048. Security fixes:
  3049. - borg serve: fix security issue with remote repository access, #1428
  3050. If you used e.g. --restrict-to-path /path/client1/ (with or without trailing
  3051. slash does not make a difference), it acted like a path prefix match using
  3052. /path/client1 (note the missing trailing slash) - the code then also allowed
  3053. working in e.g. /path/client13 or /path/client1000.
  3054. As this could accidentally lead to major security/privacy issues depending on
  3055. the paths you use, the behaviour was changed to be a strict directory match.
  3056. That means --restrict-to-path /path/client1 (with or without trailing slash
  3057. does not make a difference) now uses /path/client1/ internally (note the
  3058. trailing slash here!) for matching and allows precisely that path AND any
  3059. path below it. So, /path/client1 is allowed, /path/client1/repo1 is allowed,
  3060. but not /path/client13 or /path/client1000.
  3061. If you willingly used the undocumented (dangerous) previous behaviour, you
  3062. may need to rearrange your --restrict-to-path paths now. We are sorry if
  3063. that causes work for you, but we did not want a potentially dangerous
  3064. behaviour in the software (not even using a for-backwards-compat option).
  3065. Bug fixes:
  3066. - fixed repeated LockTimeout exceptions when borg serve tried to write into
  3067. a already write-locked repo (e.g. by a borg mount), #502 part b)
  3068. This was solved by the fix for #1220 in 1.0.7rc1 already.
  3069. - fix cosmetics + file leftover for "not a valid borg repository", #1490
  3070. - Cache: release lock if cache is invalid, #1501
  3071. - borg extract --strip-components: fix leak of preloaded chunk contents
  3072. - Repository, when a InvalidRepository exception happens:
  3073. - fix spurious, empty lock.roster
  3074. - fix repo not closed cleanly
  3075. New features:
  3076. - implement borg debug-info, fixes #1122
  3077. (just calls already existing code via cli, same output as below tracebacks)
  3078. Other changes:
  3079. - skip the O_NOATIME test on GNU Hurd, fixes #1315
  3080. (this is a very minor issue and the GNU Hurd project knows the bug)
  3081. - document using a clean repo to test / build the release
  3082. Version 1.0.7rc2 (2016-08-13)
  3083. -----------------------------
  3084. Bug fixes:
  3085. - do not write objects to repository that are bigger than the allowed size,
  3086. borg will reject reading them, #1451.
  3087. Important: if you created archives with many millions of files or
  3088. directories, please verify if you can open them successfully,
  3089. e.g. try a "borg list REPO::ARCHIVE".
  3090. - lz4 compression: dynamically enlarge the (de)compression buffer, the static
  3091. buffer was not big enough for archives with extremely many items, #1453
  3092. - larger item metadata stream chunks, raise archive item limit by 8x, #1452
  3093. - fix untracked segments made by moved DELETEs, #1442
  3094. Impact: Previously (metadata) segments could become untracked when deleting data,
  3095. these would never be cleaned up.
  3096. - extended attributes (xattrs) related fixes:
  3097. - fixed a race condition in xattrs querying that led to the entire file not
  3098. being backed up (while logging the error, exit code = 1), #1469
  3099. - fixed a race condition in xattrs querying that led to a crash, #1462
  3100. - raise OSError including the error message derived from errno, deal with
  3101. path being a integer FD
  3102. Other changes:
  3103. - print active env var override by default, #1467
  3104. - xattr module: refactor code, deduplicate, clean up
  3105. - repository: split object size check into too small and too big
  3106. - add a transaction_id assertion, so borg init on a broken (inconsistent)
  3107. filesystem does not look like a coding error in borg, but points to the
  3108. real problem.
  3109. - explain confusing TypeError caused by compat support for old servers, #1456
  3110. - add forgotten usage help file from build_usage
  3111. - refactor/unify buffer code into helpers.Buffer class, add tests
  3112. - docs:
  3113. - document archive limitation, #1452
  3114. - improve prune examples
  3115. Version 1.0.7rc1 (2016-08-05)
  3116. -----------------------------
  3117. Bug fixes:
  3118. - fix repo lock deadlocks (related to lock upgrade), #1220
  3119. - catch unpacker exceptions, resync, #1351
  3120. - fix borg break-lock ignoring BORG_REPO env var, #1324
  3121. - files cache performance fixes (fixes unnecessary re-reading/chunking/
  3122. hashing of unmodified files for some use cases):
  3123. - fix unintended file cache eviction, #1430
  3124. - implement BORG_FILES_CACHE_TTL, update FAQ, raise default TTL from 10
  3125. to 20, #1338
  3126. - FUSE:
  3127. - cache partially read data chunks (performance), #965, #966
  3128. - always create a root dir, #1125
  3129. - use an OrderedDict for helptext, making the build reproducible, #1346
  3130. - RemoteRepository init: always call close on exceptions, #1370 (cosmetic)
  3131. - ignore stdout/stderr broken pipe errors (cosmetic), #1116
  3132. New features:
  3133. - better borg versions management support (useful esp. for borg servers
  3134. wanting to offer multiple borg versions and for clients wanting to choose
  3135. a specific server borg version), #1392:
  3136. - add BORG_VERSION environment variable before executing "borg serve" via ssh
  3137. - add new placeholder {borgversion}
  3138. - substitute placeholders in --remote-path
  3139. - borg init --append-only option (makes using the more secure append-only mode
  3140. more convenient. when used remotely, this requires 1.0.7+ also on the borg
  3141. server), #1291.
  3142. Other changes:
  3143. - Vagrantfile:
  3144. - darwin64: upgrade to FUSE for macOS 3.4.1 (aka osxfuse), #1378
  3145. - xenial64: use user "ubuntu", not "vagrant" (as usual), #1331
  3146. - tests:
  3147. - fix FUSE tests on OS X, #1433
  3148. - docs:
  3149. - FAQ: add backup using stable filesystem names recommendation
  3150. - FAQ about glibc compatibility added, #491, glibc-check improved
  3151. - FAQ: 'A' unchanged file; remove ambiguous entry age sentence.
  3152. - OS X: install pkg-config to build with FUSE support, fixes #1400
  3153. - add notes about shell/sudo pitfalls with env. vars, #1380
  3154. - added platform feature matrix
  3155. - implement borg debug-dump-repo-objs
  3156. Version 1.0.6 (2016-07-12)
  3157. --------------------------
  3158. Bug fixes:
  3159. - Linux: handle multiple LD_PRELOAD entries correctly, #1314, #1111
  3160. - Fix crash with unclear message if the libc is not found, #1314, #1111
  3161. Other changes:
  3162. - tests:
  3163. - Fixed O_NOATIME tests for Solaris and GNU Hurd, #1315
  3164. - Fixed sparse file tests for (file) systems not supporting it, #1310
  3165. - docs:
  3166. - Fixed syntax highlighting, #1313
  3167. - misc docs: added data processing overview picture
  3168. Version 1.0.6rc1 (2016-07-10)
  3169. -----------------------------
  3170. New features:
  3171. - borg check --repair: heal damaged files if missing chunks re-appear (e.g. if
  3172. the previously missing chunk was added again in a later backup archive),
  3173. #148. (*) Also improved logging.
  3174. Bug fixes:
  3175. - sync_dir: silence fsync() failing with EINVAL, #1287
  3176. Some network filesystems (like smbfs) don't support this and we use this in
  3177. repository code.
  3178. - borg mount (FUSE):
  3179. - fix directories being shadowed when contained paths were also specified,
  3180. #1295
  3181. - raise I/O Error (EIO) on damaged files (unless -o allow_damaged_files is
  3182. used), #1302. (*)
  3183. - borg extract: warn if a damaged file is extracted, #1299. (*)
  3184. - Added some missing return code checks (ChunkIndex._add, hashindex_resize).
  3185. - borg check: fix/optimize initial hash table size, avoids resize of the table.
  3186. Other changes:
  3187. - tests:
  3188. - add more FUSE tests, #1284
  3189. - deduplicate FUSE (u)mount code
  3190. - fix borg binary test issues, #862
  3191. - docs:
  3192. - changelog: added release dates to older borg releases
  3193. - fix some sphinx (docs generator) warnings, #881
  3194. Notes:
  3195. (*) Some features depend on information (chunks_healthy list) added to item
  3196. metadata when a file with missing chunks was "repaired" using all-zero
  3197. replacement chunks. The chunks_healthy list is generated since borg 1.0.4,
  3198. thus borg can't recognize such "repaired" (but content-damaged) files if the
  3199. repair was done with an older borg version.
  3200. Version 1.0.5 (2016-07-07)
  3201. --------------------------
  3202. Bug fixes:
  3203. - borg mount: fix FUSE crash in xattr code on Linux introduced in 1.0.4, #1282
  3204. Other changes:
  3205. - backport some FAQ entries from master branch
  3206. - add release helper scripts
  3207. - Vagrantfile:
  3208. - centos6: no FUSE, don't build binary
  3209. - add xz for redhat-like dists
  3210. Version 1.0.4 (2016-07-07)
  3211. --------------------------
  3212. New features:
  3213. - borg serve --append-only, #1168
  3214. This was included because it was a simple change (append-only functionality
  3215. was already present via repository config file) and makes better security now
  3216. practically usable.
  3217. - BORG_REMOTE_PATH environment variable, #1258
  3218. This was included because it was a simple change (--remote-path cli option
  3219. was already present) and makes borg much easier to use if you need it.
  3220. - Repository: cleanup incomplete transaction on "no space left" condition.
  3221. In many cases, this can avoid a 100% full repo filesystem (which is very
  3222. problematic as borg always needs free space - even to delete archives).
  3223. Bug fixes:
  3224. - Fix wrong handling and reporting of OSErrors in borg create, #1138.
  3225. This was a serious issue: in the context of "borg create", errors like
  3226. repository I/O errors (e.g. disk I/O errors, ssh repo connection errors)
  3227. were handled badly and did not lead to a crash (which would be good for this
  3228. case, because the repo transaction would be incomplete and trigger a
  3229. transaction rollback to clean up).
  3230. Now, error handling for source files is cleanly separated from every other
  3231. error handling, so only problematic input files are logged and skipped.
  3232. - Implement fail-safe error handling for borg extract.
  3233. Note that this isn't nearly as critical as the borg create error handling
  3234. bug, since nothing is written to the repo. So this was "merely" misleading
  3235. error reporting.
  3236. - Add missing error handler in directory attr restore loop.
  3237. - repo: make sure write data hits disk before the commit tag (#1236) and also
  3238. sync the containing directory.
  3239. - FUSE: getxattr fail must use errno.ENOATTR, #1126
  3240. (fixes Mac OS X Finder malfunction: "zero bytes" file length, access denied)
  3241. - borg check --repair: do not lose information about the good/original chunks.
  3242. If we do not lose the original chunk IDs list when "repairing" a file
  3243. (replacing missing chunks with all-zero chunks), we have a chance to "heal"
  3244. the file back into its original state later, in case the chunks re-appear
  3245. (e.g. in a fresh backup). Healing is not implemented yet, see #148.
  3246. - fixes for --read-special mode:
  3247. - ignore known files cache, #1241
  3248. - fake regular file mode, #1214
  3249. - improve symlinks handling, #1215
  3250. - remove passphrase from subprocess environment, #1105
  3251. - Ignore empty index file (will trigger index rebuild), #1195
  3252. - add missing placeholder support for --prefix, #1027
  3253. - improve exception handling for placeholder replacement
  3254. - catch and format exceptions in arg parsing
  3255. - helpers: fix "undefined name 'e'" in exception handler
  3256. - better error handling for missing repo manifest, #1043
  3257. - borg delete:
  3258. - make it possible to delete a repo without manifest
  3259. - borg delete --forced allows one to delete corrupted archives, #1139
  3260. - borg check:
  3261. - make borg check work for empty repo
  3262. - fix resync and msgpacked item qualifier, #1135
  3263. - rebuild_manifest: fix crash if 'name' or 'time' key were missing.
  3264. - better validation of item metadata dicts, #1130
  3265. - better validation of archive metadata dicts
  3266. - close the repo on exit - even if rollback did not work, #1197.
  3267. This is rather cosmetic, it avoids repo closing in the destructor.
  3268. - tests:
  3269. - fix sparse file test, #1170
  3270. - flake8: ignore new F405, #1185
  3271. - catch "invalid argument" on cygwin, #257
  3272. - fix sparseness assertion in test prep, #1264
  3273. Other changes:
  3274. - make borg build/work on OpenSSL 1.0 and 1.1, #1187
  3275. - docs / help:
  3276. - fix / clarify prune help, #1143
  3277. - fix "patterns" help formatting
  3278. - add missing docs / help about placeholders
  3279. - resources: rename atticmatic to borgmatic
  3280. - document sshd settings, #545
  3281. - more details about checkpoints, add split trick, #1171
  3282. - support docs: add freenode web chat link, #1175
  3283. - add prune visualization / example, #723
  3284. - add note that Fnmatch is default, #1247
  3285. - make clear that lzma levels > 6 are a waste of cpu cycles
  3286. - add a "do not edit" note to auto-generated files, #1250
  3287. - update cygwin installation docs
  3288. - repository interoperability with borg master (1.1dev) branch:
  3289. - borg check: read item metadata keys from manifest, #1147
  3290. - read v2 hints files, #1235
  3291. - fix hints file "unknown version" error handling bug
  3292. - tests: add tests for format_line
  3293. - llfuse: update version requirement for freebsd
  3294. - Vagrantfile:
  3295. - use openbsd 5.9, #716
  3296. - do not install llfuse on netbsd (broken)
  3297. - update OSXfuse to version 3.3.3
  3298. - use Python 3.5.2 to build the binaries
  3299. - glibc compatibility checker: scripts/glibc_check.py
  3300. - add .eggs to .gitignore
  3301. Version 1.0.3 (2016-05-20)
  3302. --------------------------
  3303. Bug fixes:
  3304. - prune: avoid that checkpoints are kept and completed archives are deleted in
  3305. a prune run), #997
  3306. - prune: fix commandline argument validation - some valid command lines were
  3307. considered invalid (annoying, but harmless), #942
  3308. - fix capabilities extraction on Linux (set xattrs last, after chown()), #1069
  3309. - repository: fix commit tags being seen in data
  3310. - when probing key files, do binary reads. avoids crash when non-borg binary
  3311. files are located in borg's key files directory.
  3312. - handle SIGTERM and make a clean exit - avoids orphan lock files.
  3313. - repository cache: don't cache large objects (avoid using lots of temp. disk
  3314. space), #1063
  3315. Other changes:
  3316. - Vagrantfile: OS X: update osxfuse / install lzma package, #933
  3317. - setup.py: add check for platform_darwin.c
  3318. - setup.py: on freebsd, use a llfuse release that builds ok
  3319. - docs / help:
  3320. - update readthedocs URLs, #991
  3321. - add missing docs for "borg break-lock", #992
  3322. - borg create help: add some words to about the archive name
  3323. - borg create help: document format tags, #894
  3324. Version 1.0.2 (2016-04-16)
  3325. --------------------------
  3326. Bug fixes:
  3327. - fix malfunction and potential corruption on (nowadays rather rare) big-endian
  3328. architectures or bi-endian archs in (rare) BE mode. #886, #889
  3329. cache resync / index merge was malfunctioning due to this, potentially
  3330. leading to data loss. borg info had cosmetic issues (displayed wrong values).
  3331. note: all (widespread) little-endian archs (like x86/x64) or bi-endian archs
  3332. in (widespread) LE mode (like ARMEL, MIPSEL, ...) were NOT affected.
  3333. - add overflow and range checks for 1st (special) uint32 of the hashindex
  3334. values, switch from int32 to uint32.
  3335. - fix so that refcount will never overflow, but just stick to max. value after
  3336. a overflow would have occurred.
  3337. - borg delete: fix --cache-only for broken caches, #874
  3338. Makes --cache-only idempotent: it won't fail if the cache is already deleted.
  3339. - fixed borg create --one-file-system erroneously traversing into other
  3340. filesystems (if starting fs device number was 0), #873
  3341. - workaround a bug in Linux fadvise FADV_DONTNEED, #907
  3342. Other changes:
  3343. - better test coverage for hashindex, incl. overflow testing, checking correct
  3344. computations so endianness issues would be discovered.
  3345. - reproducible doc for ProgressIndicator*, make the build reproducible.
  3346. - use latest llfuse for vagrant machines
  3347. - docs:
  3348. - use /path/to/repo in examples, fixes #901
  3349. - fix confusing usage of "repo" as archive name (use "arch")
  3350. Version 1.0.1 (2016-04-08)
  3351. --------------------------
  3352. New features:
  3353. Usually there are no new features in a bugfix release, but these were added
  3354. due to their high impact on security/safety/speed or because they are fixes
  3355. also:
  3356. - append-only mode for repositories, #809, #36 (see docs)
  3357. - borg create: add --ignore-inode option to make borg detect unmodified files
  3358. even if your filesystem does not have stable inode numbers (like sshfs and
  3359. possibly CIFS).
  3360. - add options --warning, --error, --critical for missing log levels, #826.
  3361. it's not recommended to suppress warnings or errors, but the user may decide
  3362. this on his own.
  3363. note: --warning is not given to borg serve so a <= 1.0.0 borg will still
  3364. work as server (it is not needed as it is the default).
  3365. do not use --error or --critical when using a <= 1.0.0 borg server.
  3366. Bug fixes:
  3367. - fix silently skipping EIO, #748
  3368. - add context manager for Repository (avoid orphan repository locks), #285
  3369. - do not sleep for >60s while waiting for lock, #773
  3370. - unpack file stats before passing to FUSE
  3371. - fix build on illumos
  3372. - don't try to back up doors or event ports (Solaris and derivatives)
  3373. - remove useless/misleading libc version display, #738
  3374. - test suite: reset exit code of persistent archiver, #844
  3375. - RemoteRepository: clean up pipe if remote open() fails
  3376. - Remote: don't print tracebacks for Error exceptions handled downstream, #792
  3377. - if BORG_PASSPHRASE is present but wrong, don't prompt for password, but fail
  3378. instead, #791
  3379. - ArchiveChecker: move "orphaned objects check skipped" to INFO log level, #826
  3380. - fix capitalization, add ellipses, change log level to debug for 2 messages,
  3381. #798
  3382. Other changes:
  3383. - update llfuse requirement, llfuse 1.0 works
  3384. - update OS / dist packages on build machines, #717
  3385. - prefer showing --info over -v in usage help, #859
  3386. - docs:
  3387. - fix cygwin requirements (gcc-g++)
  3388. - document how to debug / file filesystem issues, #664
  3389. - fix reproducible build of api docs
  3390. - RTD theme: CSS !important overwrite, #727
  3391. - Document logo font. Recreate logo png. Remove GIMP logo file.
  3392. Version 1.0.0 (2016-03-05)
  3393. --------------------------
  3394. The major release number change (0.x -> 1.x) indicates bigger incompatible
  3395. changes, please read the compatibility notes, adapt / test your scripts and
  3396. check your backup logs.
  3397. Compatibility notes:
  3398. - drop support for python 3.2 and 3.3, require 3.4 or 3.5, #221 #65 #490
  3399. note: we provide binaries that include python 3.5.1 and everything else
  3400. needed. they are an option in case you are stuck with < 3.4 otherwise.
  3401. - change encryption to be on by default (using "repokey" mode)
  3402. - moved keyfile keys from ~/.borg/keys to ~/.config/borg/keys,
  3403. you can either move them manually or run "borg upgrade <REPO>"
  3404. - remove support for --encryption=passphrase,
  3405. use borg migrate-to-repokey to switch to repokey mode, #97
  3406. - remove deprecated --compression <number>,
  3407. use --compression zlib,<number> instead
  3408. in case of 0, you could also use --compression none
  3409. - remove deprecated --hourly/daily/weekly/monthly/yearly
  3410. use --keep-hourly/daily/weekly/monthly/yearly instead
  3411. - remove deprecated --do-not-cross-mountpoints,
  3412. use --one-file-system instead
  3413. - disambiguate -p option, #563:
  3414. - -p now is same as --progress
  3415. - -P now is same as --prefix
  3416. - remove deprecated "borg verify",
  3417. use "borg extract --dry-run" instead
  3418. - cleanup environment variable semantics, #355
  3419. the environment variables used to be "yes sayers" when set, this was
  3420. conceptually generalized to "automatic answerers" and they just give their
  3421. value as answer (as if you typed in that value when being asked).
  3422. See the "usage" / "Environment Variables" section of the docs for details.
  3423. - change the builtin default for --chunker-params, create 2MiB chunks, #343
  3424. --chunker-params new default: 19,23,21,4095 - old default: 10,23,16,4095
  3425. one of the biggest issues with borg < 1.0 (and also attic) was that it had a
  3426. default target chunk size of 64kiB, thus it created a lot of chunks and thus
  3427. also a huge chunk management overhead (high RAM and disk usage).
  3428. please note that the new default won't change the chunks that you already
  3429. have in your repository. the new big chunks do not deduplicate with the old
  3430. small chunks, so expect your repo to grow at least by the size of every
  3431. changed file and in the worst case (e.g. if your files cache was lost / is
  3432. not used) by the size of every file (minus any compression you might use).
  3433. in case you want to see a much lower resource usage immediately (RAM / disk)
  3434. for chunks management, it might be better to start with a new repo than
  3435. to continue in the existing repo (with an existing repo, you have to wait
  3436. until all archives with small chunks get pruned to see a lower resource
  3437. usage).
  3438. if you used the old --chunker-params default value (or if you did not use
  3439. --chunker-params option at all) and you'd like to continue using small
  3440. chunks (and you accept the huge resource usage that comes with that), just
  3441. use explicitly borg create --chunker-params=10,23,16,4095.
  3442. - archive timestamps: the 'time' timestamp now refers to archive creation
  3443. start time (was: end time), the new 'time_end' timestamp refers to archive
  3444. creation end time. This might affect prune if your backups take a long time.
  3445. if you give a timestamp via cli, this is stored into 'time'. therefore it now
  3446. needs to mean archive creation start time.
  3447. New features:
  3448. - implement password roundtrip, #695
  3449. Bug fixes:
  3450. - remote end does not need cache nor keys directories, do not create them, #701
  3451. - added retry counter for passwords, #703
  3452. Other changes:
  3453. - fix compiler warnings, #697
  3454. - docs:
  3455. - update README.rst to new changelog location in docs/changes.rst
  3456. - add Teemu to AUTHORS
  3457. - changes.rst: fix old chunker params, #698
  3458. - FAQ: how to limit bandwidth
  3459. Version 1.0.0rc2 (2016-02-28)
  3460. -----------------------------
  3461. New features:
  3462. - format options for location: user, pid, fqdn, hostname, now, utcnow, user
  3463. - borg list --list-format
  3464. - borg prune -v --list enables the keep/prune list output, #658
  3465. Bug fixes:
  3466. - fix _open_rb noatime handling, #657
  3467. - add a simple archivename validator, #680
  3468. - borg create --stats: show timestamps in localtime, use same labels/formatting
  3469. as borg info, #651
  3470. - llfuse compatibility fixes (now compatible with: 0.40, 0.41, 0.42)
  3471. Other changes:
  3472. - it is now possible to use "pip install borgbackup[fuse]" to
  3473. install the llfuse dependency automatically, using the correct version requirement
  3474. for it. you still need to care about having installed the FUSE / build
  3475. related OS package first, though, so that building llfuse can succeed.
  3476. - Vagrant: drop Ubuntu Precise (12.04) - does not have Python >= 3.4
  3477. - Vagrant: use pyinstaller v3.1.1 to build binaries
  3478. - docs:
  3479. - borg upgrade: add to docs that only LOCAL repos are supported
  3480. - borg upgrade also handles borg 0.xx -> 1.0
  3481. - use pip extras or requirements file to install llfuse
  3482. - fix order in release process
  3483. - updated usage docs and other minor / cosmetic fixes
  3484. - verified borg examples in docs, #644
  3485. - freebsd dependency installation and FUSE configuration, #649
  3486. - add example how to restore a raw device, #671
  3487. - add a hint about the dev headers needed when installing from source
  3488. - add examples for delete (and handle delete after list, before prune), #656
  3489. - update example for borg create -v --stats (use iso datetime format), #663
  3490. - added example to BORG_RSH docs
  3491. - "connection closed by remote": add FAQ entry and point to issue #636
  3492. Version 1.0.0rc1 (2016-02-07)
  3493. -----------------------------
  3494. New features:
  3495. - borg migrate-to-repokey ("passphrase" -> "repokey" encryption key mode)
  3496. - implement --short for borg list REPO, #611
  3497. - implement --list for borg extract (consistency with borg create)
  3498. - borg serve: overwrite client's --restrict-to-path with ssh forced command's
  3499. option value (but keep everything else from the client commandline), #544
  3500. - use $XDG_CONFIG_HOME/keys for keyfile keys (~/.config/borg/keys), #515
  3501. - "borg upgrade" moves the keyfile keys to the new location
  3502. - display both archive creation start and end time in "borg info", #627
  3503. Bug fixes:
  3504. - normalize trailing slashes for the repository path, #606
  3505. - Cache: fix exception handling in __init__, release lock, #610
  3506. Other changes:
  3507. - suppress unneeded exception context (PEP 409), simpler tracebacks
  3508. - removed special code needed to deal with imperfections / incompatibilities /
  3509. missing stuff in py 3.2/3.3, simplify code that can be done simpler in 3.4
  3510. - removed some version requirements that were kept on old versions because
  3511. newer did not support py 3.2 any more
  3512. - use some py 3.4+ stdlib code instead of own/openssl/pypi code:
  3513. - use os.urandom instead of own cython openssl RAND_bytes wrapper, #493
  3514. - use hashlib.pbkdf2_hmac from py stdlib instead of own openssl wrapper
  3515. - use hmac.compare_digest instead of == operator (constant time comparison)
  3516. - use stat.filemode instead of homegrown code
  3517. - use "mock" library from stdlib, #145
  3518. - remove borg.support (with non-broken argparse copy), it is ok in 3.4+, #358
  3519. - Vagrant: copy CHANGES.rst as symlink, #592
  3520. - cosmetic code cleanups, add flake8 to tox/travis, #4
  3521. - docs / help:
  3522. - make "borg -h" output prettier, #591
  3523. - slightly rephrase prune help
  3524. - add missing example for --list option of borg create
  3525. - quote exclude line that includes an asterisk to prevent shell expansion
  3526. - fix dead link to license
  3527. - delete Ubuntu Vivid, it is not supported anymore (EOL)
  3528. - OS X binary does not work for older OS X releases, #629
  3529. - borg serve's special support for forced/original ssh commands, #544
  3530. - misc. updates and fixes