changes.rst 76 KB

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