NEWS 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115
  1. 1.7.13
  2. * #375: Restore particular PostgreSQL schemas from a database dump via "borgmatic restore --schema"
  3. flag. See the documentation for more information:
  4. https://torsion.org/borgmatic/docs/how-to/backup-your-databases/#restore-particular-schemas
  5. * #678: Fix error from PostgreSQL when dumping a database with a "format" of "plain".
  6. * #678: Fix PostgreSQL hook to support "psql_command" and "pg_restore_command" options containing
  7. commands with arguments.
  8. * #678: Fix calls to psql in PostgreSQL hook to ignore "~/.psqlrc", whose settings can break
  9. database dumping.
  10. * #680: Add support for logging each log line as a JSON object via global "--log-json" flag.
  11. * #682: Fix "source_directories_must_exist" option to expand globs and tildes in source directories.
  12. * #684: Rename "master" development branch to "main" to use more inclusive language. You'll need to
  13. update your development checkouts accordingly.
  14. * #686: Add fish shell completion script so you can tab-complete on the borgmatic command-line. See
  15. the documentation for more information:
  16. https://torsion.org/borgmatic/docs/how-to/set-up-backups/#shell-completion
  17. * #687: Fix borgmatic error when not finding the configuration schema for certain "pip install
  18. --editable" development installs.
  19. * #688: Fix archive checks being skipped even when particular archives haven't been checked
  20. recently. This occurred when using multiple borgmatic configuration files with different
  21. "archive_name_format"s, for instance.
  22. * #691: Fix error in "borgmatic restore" action when the configured repository path is relative
  23. instead of absolute.
  24. * #694: Run "borgmatic borg" action without capturing output so interactive prompts and flags like
  25. "--progress" still work.
  26. 1.7.12
  27. * #413: Add "log_file" context to command hooks so your scripts can consume the borgmatic log file.
  28. See the documentation for more information:
  29. https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
  30. * #666, #670: Fix error when running the "info" action with the "--match-archives" or "--archive"
  31. flags. Also fix the "--match-archives"/"--archive" flags to correctly override the
  32. "match_archives" configuration option for the "transfer", "list", "rlist", and "info" actions.
  33. * #668: Fix error when running the "prune" action with both "archive_name_format" and "prefix"
  34. options set.
  35. * #672: Selectively shallow merge certain mappings or sequences when including configuration files.
  36. See the documentation for more information:
  37. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#shallow-merge
  38. * #672: Selectively omit list values when including configuration files. See the documentation for
  39. more information:
  40. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#list-merge
  41. * #673: View the results of configuration file merging via "validate-borgmatic-config --show" flag.
  42. See the documentation for more information:
  43. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#debugging-includes
  44. * Add optional support for running end-to-end tests and building documentation with rootless Podman
  45. instead of Docker.
  46. 1.7.11
  47. * #479, #588: BREAKING: Automatically use the "archive_name_format" option to filter which archives
  48. get used for borgmatic actions that operate on multiple archives. Override this behavior with the
  49. new "match_archives" option in the storage section. This change is "breaking" in that it silently
  50. changes which archives get considered for "rlist", "prune", "check", etc. See the documentation
  51. for more information:
  52. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#archive-naming
  53. * #479, #588: The "prefix" options have been deprecated in favor of the new "archive_name_format"
  54. auto-matching behavior and the "match_archives" option.
  55. * #658: Add "--log-file-format" flag for customizing the log message format. See the documentation
  56. for more information:
  57. https://torsion.org/borgmatic/docs/how-to/inspect-your-backups/#logging-to-file
  58. * #662: Fix regression in which the "check_repositories" option failed to match repositories.
  59. * #663: Fix regression in which the "transfer" action produced a traceback.
  60. * Add spellchecking of source code during test runs.
  61. 1.7.10
  62. * #396: When a database command errors, display and log the error message instead of swallowing it.
  63. * #501: Optionally error if a source directory does not exist via "source_directories_must_exist"
  64. option in borgmatic's location configuration.
  65. * #576: Add support for "file://" paths within "repositories" option.
  66. * #612: Define and use custom constants in borgmatic configuration files. See the documentation for
  67. more information:
  68. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#constant-interpolation
  69. * #618: Add support for BORG_FILES_CACHE_TTL environment variable via "borg_files_cache_ttl" option
  70. in borgmatic's storage configuration.
  71. * #623: Fix confusing message when an error occurs running actions for a configuration file.
  72. * #635: Add optional repository labels so you can select a repository via "--repository yourlabel"
  73. at the command-line. See the configuration reference for more information:
  74. https://torsion.org/borgmatic/docs/reference/configuration/
  75. * #649: Add documentation on backing up a database running in a container:
  76. https://torsion.org/borgmatic/docs/how-to/backup-your-databases/#containers
  77. * #655: Fix error when databases are configured and a source directory doesn't exist.
  78. * Add code style plugins to enforce use of Python f-strings and prevent single-letter variables.
  79. To join in the pedantry, refresh your test environment with "tox --recreate".
  80. * Rename scripts/run-full-dev-tests to scripts/run-end-to-end-dev-tests and make it run end-to-end
  81. tests only. Continue using tox to run unit and integration tests.
  82. 1.7.9
  83. * #295: Add a SQLite database dump/restore hook.
  84. * #304: Change the default action order when no actions are specified on the command-line to:
  85. "create", "prune", "compact", "check". If you'd like to retain the old ordering ("prune" and
  86. "compact" first), then specify actions explicitly on the command-line.
  87. * #304: Run any command-line actions in the order specified instead of using a fixed ordering.
  88. * #564: Add "--repository" flag to all actions where it makes sense, so you can run borgmatic on
  89. a single configured repository instead of all of them.
  90. * #628: Add a Healthchecks "log" state to send borgmatic logs to Healthchecks without signalling
  91. success or failure.
  92. * #647: Add "--strip-components all" feature on the "extract" action to remove leading path
  93. components of files you extract. Must be used with the "--path" flag.
  94. * Add support for Python 3.11.
  95. 1.7.8
  96. * #620: With the "create" action and the "--list" ("--files") flag, only show excluded files at
  97. verbosity 2.
  98. * #621: Add optional authentication to the ntfy monitoring hook.
  99. * With the "create" action, only one of "--list" ("--files") and "--progress" flags can be used.
  100. This lines up with the new behavior in Borg 2.0.0b5.
  101. * Internally support new Borg 2.0.0b5 "--filter" status characters / item flags for the "create"
  102. action.
  103. * Fix the "create" action with the "--dry-run" flag querying for databases when a PostgreSQL/MySQL
  104. "all" database is configured. Now, these queries are skipped due to the dry run.
  105. * Add "--repository" flag to the "rcreate" action to optionally select one configured repository to
  106. create.
  107. * Add "--progress" flag to the "transfer" action, new in Borg 2.0.0b5.
  108. * Add "checkpoint_volume" configuration option to creates checkpoints every specified number of
  109. bytes during a long-running backup, new in Borg 2.0.0b5.
  110. 1.7.7
  111. * #642: Add MySQL database hook "add_drop_database" configuration option to control whether dumped
  112. MySQL databases get dropped right before restore.
  113. * #643: Fix for potential data loss (data not getting backed up) when dumping large "directory"
  114. format PostgreSQL/MongoDB databases. Prior to the fix, these dumps would not finish writing to
  115. disk before Borg consumed them. Now, the dumping process completes before Borg starts. This only
  116. applies to "directory" format databases; other formats still stream to Borg without using
  117. temporary disk space.
  118. * Fix MongoDB "directory" format to work with mongodump/mongorestore without error. Prior to this
  119. fix, only the "archive" format worked.
  120. 1.7.6
  121. * #393, #438, #560: Optionally dump "all" PostgreSQL/MySQL databases to separate files instead of
  122. one combined dump file, allowing more convenient restores of individual databases. You can enable
  123. this by specifying the database dump "format" option when the database is named "all".
  124. * #602: Fix logs that interfere with JSON output by making warnings go to stderr instead of stdout.
  125. * #622: Fix traceback when include merging configuration files on ARM64.
  126. * #629: Skip warning about excluded special files when no special files have been excluded.
  127. * #630: Add configuration options for database command customization: "list_options",
  128. "restore_options", and "analyze_options" for PostgreSQL, "restore_options" for MySQL, and
  129. "restore_options" for MongoDB.
  130. 1.7.5
  131. * #311: Override PostgreSQL dump/restore commands via configuration options.
  132. * #604: Fix traceback when a configuration section is present but lacking any options.
  133. * #607: Clarify documentation examples for include merging and deep merging.
  134. * #611: Fix "data" consistency check to support "check_last" and consistency "prefix" options.
  135. * #613: Clarify documentation about multiple repositories and separate configuration files.
  136. 1.7.4
  137. * #596: Fix special file detection erroring when broken symlinks are encountered.
  138. * #597, #598: Fix regression in which "check" action errored on certain systems ("Cannot determine
  139. Borg repository ID").
  140. 1.7.3
  141. * #357: Add "break-lock" action for removing any repository and cache locks leftover from Borg
  142. aborting.
  143. * #360: To prevent Borg hangs, unconditionally delete stale named pipes before dumping databases.
  144. * #587: When database hooks are enabled, auto-exclude special files from a "create" action to
  145. prevent Borg from hanging. You can override/prevent this behavior by explicitly setting the
  146. "read_special" option to true.
  147. * #587: Warn when ignoring a configured "read_special" value of false, as true is needed when
  148. database hooks are enabled.
  149. * #589: Update sample systemd service file to allow system "idle" (e.g. a video monitor turning
  150. off) while borgmatic is running.
  151. * #590: Fix for potential data loss (data not getting backed up) when the "patterns_from" option
  152. was used with "source_directories" (or the "~/.borgmatic" path existed, which got injected into
  153. "source_directories" implicitly). The fix is for borgmatic to convert "source_directories" into
  154. patterns whenever "patterns_from" is used, working around a Borg bug:
  155. https://github.com/borgbackup/borg/issues/6994
  156. * #590: In "borgmatic create --list" output, display which files get excluded from the backup due
  157. to patterns or excludes.
  158. * #591: Add support for Borg 2's "--match-archives" flag. This replaces "--glob-archives", which
  159. borgmatic now treats as an alias for "--match-archives". But note that the two flags have
  160. slightly different syntax. See the Borg 2 changelog for more information:
  161. https://borgbackup.readthedocs.io/en/2.0.0b3/changes.html#version-2-0-0b3-2022-10-02
  162. * Fix for "borgmatic --archive latest" not finding the latest archive when a verbosity is set.
  163. 1.7.2
  164. * #577: Fix regression in which "borgmatic info --archive ..." showed repository info instead of
  165. archive info with Borg 1.
  166. * #582: Fix hang when database hooks are enabled and "patterns" contains a parent directory of
  167. "~/.borgmatic".
  168. 1.7.1
  169. * #542: Make the "source_directories" option optional. This is useful for "check"-only setups or
  170. using "patterns" exclusively.
  171. * #574: Fix for potential data loss (data not getting backed up) when the "patterns" option was
  172. used with "source_directories" (or the "~/.borgmatic" path existed, which got injected into
  173. "source_directories" implicitly). The fix is for borgmatic to convert "source_directories" into
  174. patterns whenever "patterns" is used, working around a Borg bug:
  175. https://github.com/borgbackup/borg/issues/6994
  176. 1.7.0
  177. * #463: Add "before_actions" and "after_actions" command hooks that run before/after all the
  178. actions for each repository. These new hooks are a good place to run per-repository steps like
  179. mounting/unmounting a remote filesystem.
  180. * #463: Update documentation to cover per-repository configurations:
  181. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/
  182. * #557: Support for Borg 2 while still working with Borg 1. This includes new borgmatic actions
  183. like "rcreate" (replaces "init"), "rlist" (list archives in repository), "rinfo" (show repository
  184. info), and "transfer" (for upgrading Borg repositories). For the most part, borgmatic tries to
  185. smooth over differences between Borg 1 and 2 to make your upgrade process easier. However, there
  186. are still a few cases where Borg made breaking changes. See the Borg 2.0 changelog for more
  187. information: https://www.borgbackup.org/releases/borg-2.0.html
  188. * #557: If you install Borg 2, you'll need to manually upgrade your existing Borg 1 repositories
  189. before use. Note that Borg 2 stable is not yet released as of this borgmatic release, so don't
  190. use Borg 2 for production until it is! See the documentation for more information:
  191. https://torsion.org/borgmatic/docs/how-to/upgrade/#upgrading-borg
  192. * #557: Rename several configuration options to match Borg 2: "remote_rate_limit" is now
  193. "upload_rate_limit", "numeric_owner" is "numeric_ids", and "bsd_flags" is "flags". borgmatic
  194. still works with the old options.
  195. * #557: Remote repository paths without the "ssh://" syntax are deprecated but still supported for
  196. now. Remote repository paths containing "~" are deprecated in borgmatic and no longer work in
  197. Borg 2.
  198. * #557: Omitting the "--archive" flag on the "list" action is deprecated when using Borg 2. Use
  199. the new "rlist" action instead.
  200. * #557: The "--dry-run" flag can now be used with the "rcreate"/"init" action.
  201. * #565: Fix handling of "repository" and "data" consistency checks to prevent invalid Borg flags.
  202. * #566: Modify "mount" and "extract" actions to require the "--repository" flag when multiple
  203. repositories are configured.
  204. * #571: BREAKING: Remove old-style command-line action flags like "--create, "--list", etc. If
  205. you're already using actions like "create" and "list" instead, this change should not affect you.
  206. * #571: BREAKING: Rename "--files" flag on "prune" action to "--list", as it lists archives, not
  207. files.
  208. * #571: Add "--list" as alias for "--files" flag on "create" and "export-tar" actions.
  209. * Add support for disabling TLS verification in Healthchecks monitoring hook with "verify_tls"
  210. option.
  211. 1.6.6
  212. * #559: Update documentation about configuring multiple consistency checks or multiple databases.
  213. * #560: Fix all database hooks to error when the requested database to restore isn't present in the
  214. Borg archive.
  215. * #561: Fix command-line "--override" flag to continue supporting old configuration file formats.
  216. * #563: Fix traceback with "create" action and "--json" flag when a database hook is configured.
  217. 1.6.5
  218. * #553: Fix logging to include the full traceback when Borg experiences an internal error, not just
  219. the first few lines.
  220. * #554: Fix all monitoring hooks to warn if the server returns an HTTP 4xx error. This can happen
  221. with Healthchecks, for instance, when using an invalid ping URL.
  222. * #555: Fix environment variable plumbing so options like "encryption_passphrase" and
  223. "encryption_passcommand" in one configuration file aren't used for other configuration files.
  224. 1.6.4
  225. * #546, #382: Keep your repository passphrases and database passwords outside of borgmatic's
  226. configuration file with environment variable interpolation. See the documentation for more
  227. information: https://torsion.org/borgmatic/docs/how-to/provide-your-passwords/
  228. 1.6.3
  229. * #541: Add "borgmatic list --find" flag for searching for files across multiple archives, useful
  230. for hunting down that file you accidentally deleted so you can extract it. See the documentation
  231. for more information:
  232. https://torsion.org/borgmatic/docs/how-to/inspect-your-backups/#searching-for-a-file
  233. * #543: Add a monitoring hook for sending push notifications via ntfy. See the documentation for
  234. more information: https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#ntfy-hook
  235. * Fix Bash completion script to no longer alter your shell's settings (complain about unset
  236. variables or error on pipe failures).
  237. * Deprecate "borgmatic list --successful" flag, as listing only non-checkpoint (successful)
  238. archives is now the default in newer versions of Borg.
  239. 1.6.2
  240. * #523: Reduce the default consistency check frequency and support configuring the frequency
  241. independently for each check. Also add "borgmatic check --force" flag to ignore configured
  242. frequencies. See the documentation for more information:
  243. https://torsion.org/borgmatic/docs/how-to/deal-with-very-large-backups/#check-frequency
  244. * #536: Fix generate-borgmatic-config to support more complex schema changes like the new
  245. Healthchecks configuration options when the "--source" flag is used.
  246. * #538: Add support for "borgmatic borg debug" command.
  247. * #539: Add "generate-borgmatic-config --overwrite" flag to replace an existing destination file.
  248. * Add Bash completion script so you can tab-complete the borgmatic command-line. See the
  249. documentation for more information:
  250. https://torsion.org/borgmatic/docs/how-to/set-up-backups/#shell-completion
  251. 1.6.1
  252. * #294: Add Healthchecks monitoring hook "ping_body_limit" option to configure how many bytes of
  253. logs to send to the Healthchecks server.
  254. * #402: Remove the error when "archive_name_format" is specified but a retention prefix isn't.
  255. * #420: Warn when an unsupported variable is used in a hook command.
  256. * #439: Change connection failures for monitoring hooks (Healthchecks, Cronitor, PagerDuty, and
  257. Cronhub) to be warnings instead of errors. This way, the monitoring system failing does not block
  258. backups.
  259. * #460: Add Healthchecks monitoring hook "send_logs" option to enable/disable sending borgmatic
  260. logs to the Healthchecks server.
  261. * #525: Add Healthchecks monitoring hook "states" option to only enable pinging for particular
  262. monitoring states (start, finish, fail).
  263. * #528: Improve the error message when a configuration override contains an invalid value.
  264. * #531: BREAKING: When deep merging common configuration, merge colliding list values by appending
  265. them. Previously, one list replaced the other.
  266. * #532: When a configuration include is a relative path, load it from either the current working
  267. directory or from the directory containing the file doing the including. Previously, only the
  268. working directory was used.
  269. * Add a randomized delay to the sample systemd timer to spread out the load on a server.
  270. * Change the configuration format for borgmatic monitoring hooks (Healthchecks, Cronitor,
  271. PagerDuty, and Cronhub) to specify the ping URL / integration key as a named option. The intent
  272. is to support additional options (some in this release). This change is backwards-compatible.
  273. * Add emojis to documentation table of contents to make it easier to find particular how-to and
  274. reference guides at a glance.
  275. 1.6.0
  276. * #381: BREAKING: Greatly simplify configuration file reuse by deep merging when including common
  277. configuration. See the documentation for more information:
  278. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#include-merging
  279. * #473: BREAKING: Instead of executing "before" command hooks before all borgmatic actions run (and
  280. "after" hooks after), execute these hooks right before/after the corresponding action. E.g.,
  281. "before_check" now runs immediately before the "check" action. This better supports running
  282. timing-sensitive tasks like pausing containers. Side effect: before/after command hooks now run
  283. once for each configured repository instead of once per configuration file. Additionally, the
  284. "repositories" interpolated variable has been changed to "repository", containing the path to the
  285. current repository for the hook. See the documentation for more information:
  286. https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
  287. * #513: Add mention of sudo's "secure_path" option to borgmatic installation documentation.
  288. * #515: Fix "borgmatic borg key ..." to pass parameters to Borg in the correct order.
  289. * #516: Fix handling of TERM signal to exit borgmatic, not just forward the signal to Borg.
  290. * #517: Fix borgmatic exit code (so it's zero) when initial Borg calls fail but later retries
  291. succeed.
  292. * Change Healthchecks logs truncation size from 10k bytes to 100k bytes, corresponding to that
  293. same change on Healthchecks.io.
  294. 1.5.24
  295. * #431: Add "working_directory" option to support source directories with relative paths.
  296. * #444: When loading a configuration file that is unreadable due to file permissions, warn instead
  297. of erroring. This supports running borgmatic as a non-root user with configuration in ~/.config
  298. even if there is an unreadable global configuration file in /etc.
  299. * #469: Add "repositories" context to "before_*" and "after_*" command action hooks. See the
  300. documentation for more information:
  301. https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
  302. * #486: Fix handling of "patterns_from" and "exclude_from" options to error instead of warning when
  303. referencing unreadable files and "create" action is run.
  304. * #507: Fix Borg usage error in the "compact" action when running "borgmatic --dry-run". Now, skip
  305. "compact" entirely during a dry run.
  306. 1.5.23
  307. * #394: Compact repository segments and free space with new "borgmatic compact" action. Borg 1.2+
  308. only. Also run "compact" by default when no actions are specified, as "prune" in Borg 1.2 no
  309. longer frees up space unless "compact" is run.
  310. * #394: When using the "atime", "bsd_flags", "numeric_owner", or "remote_rate_limit" options,
  311. tailor the flags passed to Borg depending on the Borg version.
  312. * #480, #482: Fix traceback when a YAML validation error occurs.
  313. 1.5.22
  314. * #288: Add database dump hook for MongoDB.
  315. * #470: Move mysqldump options to the beginning of the command due to MySQL bug 30994.
  316. * #471: When command-line configuration override produces a parse error, error cleanly instead of
  317. tracebacking.
  318. * #476: Fix unicode error when restoring particular MySQL databases.
  319. * Drop support for Python 3.6, which has been end-of-lifed.
  320. * Add support for Python 3.10.
  321. 1.5.21
  322. * #28: Optionally retry failing backups via "retries" and "retry_wait" configuration options.
  323. * #306: Add "list_options" MySQL configuration option for passing additional arguments to MySQL
  324. list command.
  325. * #459: Add support for old version (2.x) of jsonschema library.
  326. 1.5.20
  327. * Re-release with correct version without dev0 tag.
  328. 1.5.19
  329. * #387: Fix error when configured source directories are not present on the filesystem at the time
  330. of backup. Now, Borg will complain, but the backup will still continue.
  331. * #455: Mention changing borgmatic path in cron documentation.
  332. * Update sample systemd service file with more granular read-only filesystem settings.
  333. * Move Gitea and GitHub hosting from a personal namespace to an organization for better
  334. collaboration with related projects.
  335. * 1k ★s on GitHub!
  336. 1.5.18
  337. * #389: Fix "message too long" error when logging to rsyslog.
  338. * #440: Fix traceback that can occur when dumping a database.
  339. 1.5.17
  340. * #437: Fix error when configuration file contains "umask" option.
  341. * Remove test dependency on vim and /dev/urandom.
  342. 1.5.16
  343. * #379: Suppress console output in sample crontab and systemd service files.
  344. * #407: Fix syslog logging on FreeBSD.
  345. * #430: Fix hang when restoring a PostgreSQL "tar" format database dump.
  346. * Better error messages! Switch the library used for validating configuration files (from pykwalify
  347. to jsonschema).
  348. * Link borgmatic Ansible role from installation documentation:
  349. https://torsion.org/borgmatic/docs/how-to/set-up-backups/#other-ways-to-install
  350. 1.5.15
  351. * #419: Document use case of running backups conditionally based on laptop power level:
  352. https://torsion.org/borgmatic/docs/how-to/backup-to-a-removable-drive-or-an-intermittent-server/
  353. * #425: Run arbitrary Borg commands with new "borgmatic borg" action. See the documentation for
  354. more information: https://torsion.org/borgmatic/docs/how-to/run-arbitrary-borg-commands/
  355. 1.5.14
  356. * #390: Add link to Hetzner storage offering from the documentation.
  357. * #398: Clarify canonical home of borgmatic in documentation.
  358. * #406: Clarify that spaces in path names should not be backslashed in path names.
  359. * #423: Fix error handling to error loudly when Borg gets killed due to running out of memory!
  360. * Fix build so as not to attempt to build and push documentation for a non-main branch.
  361. * "Fix" build failure with Alpine Edge by switching from Edge to Alpine 3.13.
  362. * Move #borgmatic IRC channel from Freenode to Libera Chat due to Freenode takeover drama.
  363. IRC connection info: https://torsion.org/borgmatic/#issues
  364. 1.5.13
  365. * #373: Document that passphrase is used for Borg keyfile encryption, not just repokey encryption.
  366. * #404: Add support for ruamel.yaml 0.17.x YAML parsing library.
  367. * Update systemd service example to return a permission error when a system call isn't permitted
  368. (instead of terminating borgmatic outright).
  369. * Drop support for Python 3.5, which has been end-of-lifed.
  370. * Add support for Python 3.9.
  371. * Update versions of test dependencies (test_requirements.txt and test containers).
  372. * Only support black code formatter on Python 3.8+. New black dependencies make installation
  373. difficult on older versions of Python.
  374. * Replace "improve this documentation" form with link to support and ticket tracker.
  375. 1.5.12
  376. * Fix for previous release with incorrect version suffix in setup.py. No other changes.
  377. 1.5.11
  378. * #341: Add "temporary_directory" option for changing Borg's temporary directory.
  379. * #352: Lock down systemd security settings in sample systemd service file.
  380. * #355: Fix traceback when a database hook value is null in a configuration file.
  381. * #361: Merge override values when specifying the "--override" flag multiple times. The previous
  382. behavior was to take the value of the last "--override" flag only.
  383. * #367: Fix traceback when upgrading old INI-style configuration with upgrade-borgmatic-config.
  384. * #368: Fix signal forwarding from borgmatic to Borg resulting in recursion traceback.
  385. * #369: Document support for Borg placeholders in repository names.
  386. 1.5.10
  387. * #347: Add hooks that run for the "extract" action: "before_extract" and "after_extract".
  388. * #350: Fix traceback when a configuration directory is non-readable due to directory permissions.
  389. * Add documentation navigation links on left side of all documentation pages.
  390. * Clarify documentation on configuration overrides, specifically the portion about list syntax:
  391. http://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#configuration-overrides
  392. * Clarify documentation overview of monitoring options:
  393. http://torsion.org/borgmatic/docs/how-to/monitor-your-backups/
  394. 1.5.9
  395. * #300: Add "borgmatic export-tar" action to export an archive to a tar-formatted file or stream.
  396. * #339: Fix for intermittent timing-related test failure of logging function.
  397. * Clarify database documentation about excluding named pipes and character/block devices to prevent
  398. hangs.
  399. * Add documentation on how to make backups redundant with multiple repositories:
  400. https://torsion.org/borgmatic/docs/how-to/make-backups-redundant/
  401. 1.5.8
  402. * #336: Fix for traceback when running Cronitor, Cronhub, and PagerDuty monitor hooks.
  403. 1.5.7
  404. * #327: Fix broken pass-through of BORG_* environment variables to Borg.
  405. * #328: Fix duplicate logging to Healthchecks and send "after_*" hooks output to Healthchecks.
  406. * #331: Add SSL support to PostgreSQL database configuration.
  407. * #333: Fix for potential data loss (data not getting backed up) when borgmatic omitted configured
  408. source directories in certain situations. Specifically, this occurred when two source directories
  409. on different filesystems were related by parentage (e.g. "/foo" and "/foo/bar/baz") and the
  410. one_file_system option was enabled.
  411. * Update documentation code fragments theme to better match the rest of the page.
  412. * Improve configuration reference documentation readability via more aggressive word-wrapping in
  413. configuration schema descriptions.
  414. 1.5.6
  415. * #292: Allow before_backup and similar hooks to exit with a soft failure without altering the
  416. monitoring status on Healthchecks or other providers. Support this by waiting to ping monitoring
  417. services with a "start" status until after before_* hooks finish. Failures in before_* hooks
  418. still trigger a monitoring "fail" status.
  419. * #316: Fix hang when a stale database dump named pipe from an aborted borgmatic run remains on
  420. disk.
  421. * #323: Fix for certain configuration options like ssh_command impacting Borg invocations for
  422. separate configuration files.
  423. * #324: Add "borgmatic extract --strip-components" flag to remove leading path components when
  424. extracting an archive.
  425. * Tweak comment indentation in generated configuration file for clarity.
  426. * Link to Borgmacator GNOME AppIndicator from monitoring documentation.
  427. 1.5.5
  428. * #314: Fix regression in support for PostgreSQL's "directory" dump format. Unlike other dump
  429. formats, the "directory" dump format does not stream directly to/from Borg.
  430. * #315: Fix enabled database hooks to implicitly set one_file_system configuration option to true.
  431. This prevents Borg from reading devices like /dev/zero and hanging.
  432. * #316: Fix hang when streaming a database dump to Borg with implicit duplicate source directories
  433. by deduplicating them first.
  434. * #319: Fix error message when there are no MySQL databases to dump for "all" databases.
  435. * Improve documentation around the installation process. Specifically, making borgmatic commands
  436. runnable via the system PATH and offering a global install option.
  437. 1.5.4
  438. * #310: Fix legitimate database dump command errors (exit code 1) not being treated as errors by
  439. borgmatic.
  440. * For database dumps, replace the named pipe on every borgmatic run. This prevent hangs on stale
  441. pipes left over from previous runs.
  442. * Fix error handling to handle more edge cases when executing commands.
  443. 1.5.3
  444. * #258: Stream database dumps and restores directly to/from Borg without using any additional
  445. filesystem space. This feature is automatic, and works even on restores from archives made with
  446. previous versions of borgmatic.
  447. * #293: Documentation on macOS launchd permissions issues with work-around for Full Disk Access.
  448. * Remove "borgmatic restore --progress" flag, as it now conflicts with streaming database restores.
  449. 1.5.2
  450. * #301: Fix MySQL restore error on "all" database dump by excluding system tables.
  451. * Fix PostgreSQL restore error on "all" database dump by using "psql" for the restore instead of
  452. "pg_restore".
  453. 1.5.1
  454. * #289: Tired of looking up the latest successful archive name in order to pass it to borgmatic
  455. actions? Me too. Now you can specify "--archive latest" to all actions that accept an archive
  456. flag.
  457. * #290: Fix the "--stats" and "--files" flags so that they yield output at verbosity 0.
  458. * Reduce the default verbosity of borgmatic logs sent to Healthchecks monitoring hook. Now, it's
  459. warnings and errors only. You can increase the verbosity via the "--monitoring-verbosity" flag.
  460. * Add security policy documentation in SECURITY.md.
  461. 1.5.0
  462. * #245: Monitor backups with PagerDuty hook integration. See the documentation for more
  463. information: https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#pagerduty-hook
  464. * #255: Add per-action hooks: "before_prune", "after_prune", "before_check", and "after_check".
  465. * #274: Add ~/.config/borgmatic.d as another configuration directory default.
  466. * #277: Customize Healthchecks log level via borgmatic "--monitoring-verbosity" flag.
  467. * #280: Change "exclude_if_present" option to support multiple filenames that indicate a directory
  468. should be excluded from backups, rather than just a single filename.
  469. * #284: Backup to a removable drive or intermittent server via "soft failure" feature. See the
  470. documentation for more information:
  471. https://torsion.org/borgmatic/docs/how-to/backup-to-a-removable-drive-or-an-intermittent-server/
  472. * #287: View consistency check progress via "--progress" flag for "check" action.
  473. * For "create" and "prune" actions, no longer list files or show detailed stats at any verbosities
  474. by default. You can opt back in with "--files" or "--stats" flags.
  475. * For "list" and "info" actions, show repository names even at verbosity 0.
  476. 1.4.22
  477. * #276, #285: Disable colored output when "--json" flag is used, so as to produce valid JSON output.
  478. * After a backup of a database dump in directory format, properly remove the dump directory.
  479. * In "borgmatic --help", don't expand $HOME in listing of default "--config" paths.
  480. 1.4.21
  481. * #268: Override particular configuration options from the command-line via "--override" flag. See
  482. the documentation for more information:
  483. https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#configuration-overrides
  484. * #270: Only trigger "on_error" hooks and monitoring failures for "prune", "create", and "check"
  485. actions, and not for other actions.
  486. * When pruning with verbosity level 1, list pruned and kept archives. Previously, this information
  487. was only shown at verbosity level 2.
  488. 1.4.20
  489. * Fix repository probing during "borgmatic init" to respect verbosity flag and remote_path option.
  490. * #249: Update Healthchecks/Cronitor/Cronhub monitoring integrations to fire for "check" and
  491. "prune" actions, not just "create".
  492. 1.4.19
  493. * #259: Optionally change the internal database dump path via "borgmatic_source_directory" option
  494. in location configuration section.
  495. * #271: Support piping "borgmatic list" output to grep by logging certain log levels to console
  496. stdout and others to stderr.
  497. * Retain colored output when piping or redirecting in an interactive terminal.
  498. * Add end-to-end tests for database dump and restore. These are run on developer machines with
  499. Docker Compose for approximate parity with continuous integration tests.
  500. 1.4.18
  501. * Fix "--repository" flag to accept relative paths.
  502. * Fix "borgmatic umount" so it only runs Borg once instead of once per repository / configuration
  503. file.
  504. * #253: Mount whole repositories via "borgmatic mount" without any "--archive" flag.
  505. * #269: Filter listed paths via "borgmatic list --path" flag.
  506. 1.4.17
  507. * #235: Pass extra options directly to particular Borg commands, handy for Borg options that
  508. borgmatic does not yet support natively. Use "extra_borg_options" in the storage configuration
  509. section.
  510. * #266: Attempt to repair any inconsistencies found during a consistency check via
  511. "borgmatic check --repair" flag.
  512. 1.4.16
  513. * #256: Fix for "before_backup" hook not triggering an error when the command contains "borg" and
  514. has an exit code of 1.
  515. * #257: Fix for garbled Borg file listing when using "borgmatic create --progress" with
  516. verbosity level 1 or 2.
  517. * #260: Fix for missing Healthchecks monitoring payload or HTTP 500 due to incorrect unicode
  518. encoding.
  519. 1.4.15
  520. * Fix for database dump removal incorrectly skipping some database dumps.
  521. * #123: Support for mounting an archive as a FUSE filesystem via "borgmatic mount" action, and
  522. unmounting via "borgmatic umount". See the documentation for more information:
  523. https://torsion.org/borgmatic/docs/how-to/extract-a-backup/#mount-a-filesystem
  524. 1.4.14
  525. * Show summary log errors regardless of verbosity level, and log the "summary:" header with a log
  526. level based on the contained summary logs.
  527. 1.4.13
  528. * Show full error logs at "--verbosity 0" so you can see command output without upping the
  529. verbosity level.
  530. 1.4.12
  531. * #247: With "borgmatic check", consider Borg warnings as errors.
  532. * Dial back the display of inline error logs a bit, so failed command output doesn't appear
  533. multiple times in the logs (well, except for the summary).
  534. 1.4.11
  535. * #241: When using the Healthchecks monitoring hook, include borgmatic logs in the payloads for
  536. completion and failure pings.
  537. * With --verbosity level 1 or 2, show error logs both inline when they occur and in the summary
  538. logs at the bottom. With lower verbosity levels, suppress the summary and show error logs when
  539. they occur.
  540. 1.4.10
  541. * #246: Fix for "borgmatic restore" showing success and incorrectly extracting archive files, even
  542. when no databases are configured to restore. As this can overwrite files from the archive and
  543. lead to data loss, please upgrade to get the fix before using "borgmatic restore".
  544. * Reopen the file given by "--log-file" flag if an external program rotates the log file while
  545. borgmatic is running.
  546. 1.4.9
  547. * #228: Database dump hooks for MySQL/MariaDB, so you can easily dump your databases before backups
  548. run.
  549. * #243: Fix repository does not exist error with "borgmatic extract" when repository is remote.
  550. 1.4.8
  551. * Monitor backups with Cronhub hook integration. See the documentation for more information:
  552. https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#cronhub-hook
  553. * Fix Healthchecks/Cronitor hooks to skip actions when the borgmatic "--dry-run" flag is used.
  554. 1.4.7
  555. * #238: In documentation, clarify when Healthchecks/Cronitor hooks fire in relation to other hooks.
  556. * #239: Upgrade your borgmatic configuration to get new options and comments via
  557. "generate-borgmatic-config --source". See the documentation for more information:
  558. https://torsion.org/borgmatic/docs/how-to/upgrade/#upgrading-your-configuration
  559. 1.4.6
  560. * Verbosity level "-1" for even quieter output: Errors only (#236).
  561. 1.4.5
  562. * Log to file instead of syslog via command-line "--log-file" flag (#233).
  563. 1.4.4
  564. * #234: Support for Borg --keep-exclude-tags and --exclude-nodump options.
  565. 1.4.3
  566. * Monitor backups with Cronitor hook integration. See the documentation for more information:
  567. https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#cronitor-hook
  568. 1.4.2
  569. * Extract files to a particular directory via "borgmatic extract --destination" flag.
  570. * Rename "borgmatic extract --restore-path" flag to "--path" to reduce confusion with the separate
  571. "borgmatic restore" action. Any uses of "--restore-path" will continue working.
  572. 1.4.1
  573. * #229: Restore backed up PostgreSQL databases via "borgmatic restore" action. See the
  574. documentation for more information:
  575. https://torsion.org/borgmatic/docs/how-to/backup-your-databases/
  576. * Documentation on how to develop borgmatic's documentation:
  577. https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/#documentation-development
  578. 1.4.0
  579. * #225: Database dump hooks for PostgreSQL, so you can easily dump your databases before backups
  580. run.
  581. * #230: Rename "borgmatic list --pattern-from" flag to "--patterns-from" to match Borg.
  582. 1.3.26
  583. * #224: Fix "borgmatic list --successful" with a slightly better heuristic for listing successful
  584. (non-checkpoint) archives.
  585. 1.3.25
  586. * #223: Dead man's switch to detect when backups start failing silently, implemented via
  587. healthchecks.io hook integration. See the documentation for more information:
  588. https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#healthchecks-hook
  589. * Documentation on monitoring and alerting options for borgmatic backups:
  590. https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/
  591. * Automatically rewrite links when developing on documentation locally.
  592. 1.3.24
  593. * #86: Add "borgmatic list --successful" flag to only list successful (non-checkpoint) archives.
  594. * Add a suggestion form to all documentation pages, so users can submit ideas for improving the
  595. documentation.
  596. * Update documentation link to community Arch Linux borgmatic package.
  597. 1.3.23
  598. * #174: More detailed error alerting via runtime context available in "on_error" hook.
  599. 1.3.22
  600. * #144: When backups to one of several repositories fails, keep backing up to the other
  601. repositories and report errors afterwards.
  602. 1.3.21
  603. * #192: User-defined hooks for global setup or cleanup that run before/after all actions. See the
  604. documentation for more information:
  605. https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
  606. 1.3.20
  607. * #205: More robust sample systemd service: boot delay, network dependency, lowered CPU/IO
  608. priority, etc.
  609. * #221: Fix "borgmatic create --progress" output so that it updates on the console in real-time.
  610. 1.3.19
  611. * #219: Fix visibility of "borgmatic prune --stats" output.
  612. 1.3.18
  613. * #220: Fix regression of argument parsing for default actions.
  614. 1.3.17
  615. * #217: Fix error with "borgmatic check --only" command-line flag with "extract" consistency check.
  616. 1.3.16
  617. * #210: Support for Borg check --verify-data flag via borgmatic "data" consistency check.
  618. * #210: Override configured consistency checks via "borgmatic check --only" command-line flag.
  619. * When generating sample configuration with generate-borgmatic-config, add a space after each "#"
  620. comment indicator.
  621. 1.3.15
  622. * #208: Fix for traceback when the "checks" option has an empty value.
  623. * #209: Bypass Borg error about a moved repository via "relocated_repo_access_is_ok" option in
  624. borgmatic storage configuration section.
  625. * #213: Reorder arguments passed to Borg to fix duplicate directories when using Borg patterns.
  626. * #214: Fix for hook erroring with exit code 1 not being interpreted as an error.
  627. 1.3.14
  628. * #204: Do not treat Borg warnings (exit code 1) as failures.
  629. * When validating configuration files, require strings instead of allowing any scalar type.
  630. 1.3.13
  631. * #199: Add note to documentation about using spaces instead of tabs for indentation, as YAML does
  632. not allow tabs.
  633. * #203: Fix compatibility with ruamel.yaml 0.16.x.
  634. * If a "prefix" option in borgmatic's configuration has an empty value (blank or ""), then disable
  635. default prefix.
  636. 1.3.12
  637. * Only log to syslog when run from a non-interactive console (e.g. a cron job).
  638. * Remove unicode byte order mark from syslog output so it doesn't show up as a literal in rsyslog
  639. output. See discussion on #197.
  640. 1.3.11
  641. * #193: Pass through several "borg list" and "borg info" flags like --short, --format, --sort-by,
  642. --first, --last, etc. via borgmatic command-line flags.
  643. * Add borgmatic info --repository and --archive command-line flags to display info for individual
  644. repositories or archives.
  645. * Support for Borg --noatime, --noctime, and --nobirthtime flags via corresponding options in
  646. borgmatic configuration location section.
  647. 1.3.10
  648. * #198: Fix for Borg create error output not showing up at borgmatic verbosity level zero.
  649. 1.3.9
  650. * #195: Switch to command-line actions as more traditional sub-commands, e.g. "borgmatic create",
  651. "borgmatic prune", etc. However, the classic dashed options like "--create" still work!
  652. 1.3.8
  653. * #191: Disable console color via "color" option in borgmatic configuration output section.
  654. 1.3.7
  655. * #196: Fix for unclear error message for invalid YAML merge include.
  656. * #197: Don't color syslog output.
  657. * Change default syslog verbosity to show errors only.
  658. 1.3.6
  659. * #53: Log to syslog in addition to existing console logging. Add --syslog-verbosity flag to
  660. customize the log level. See the documentation for more information:
  661. https://torsion.org/borgmatic/docs/how-to/inspect-your-backups/
  662. * #178: Look for .yml configuration file extension in addition to .yaml.
  663. * #189: Set umask used when executing hooks via "umask" option in borgmatic hooks section.
  664. * Remove Python cache files before each Tox run.
  665. * Add #borgmatic Freenode IRC channel to documentation.
  666. * Add Borg/borgmatic hosting providers section to documentation.
  667. * Add files for building documentation into a Docker image for web serving.
  668. * Upgrade project build server from Drone 0.8 to 1.1.
  669. * Build borgmatic documentation during continuous integration.
  670. * We're nearly at 500 ★s on GitHub. We can do this!
  671. 1.3.5
  672. * #153: Support for various Borg directory environment variables (BORG_CONFIG_DIR, BORG_CACHE_DIR,
  673. etc.) via options in borgmatic's storage configuration.
  674. * #177: Fix for regression with missing verbose log entries.
  675. 1.3.4
  676. * Part of #125: Color borgmatic (but not Borg) output when using an interactive terminal.
  677. * #166: Run tests for all installed versions of Python.
  678. * #168: Update README with continuous integration badge.
  679. * #169: Automatically sort Python imports in code.
  680. * Document installing borgmatic with pip install --user instead of a system Python install.
  681. * Get more reproducible builds by pinning the versions of pip and tox used to run tests.
  682. * Factor out build/test configuration from tox.ini file.
  683. 1.3.3
  684. * Add validate-borgmatic-config command, useful for validating borgmatic config generated by
  685. configuration management or even edited by hand.
  686. 1.3.2
  687. * #160: Fix for hooks executing when using --dry-run. Now hooks are skipped during a dry run.
  688. 1.3.1
  689. * #155: Fix for invalid JSON output when using multiple borgmatic configuration files.
  690. * #157: Fix for seemingly random filename ordering when running through a directory of
  691. configuration files.
  692. * Fix for empty JSON output when using --create --json.
  693. * Now capturing Borg output only when --json flag is used. Previously, borgmatic delayed Borg
  694. output even without the --json flag.
  695. 1.3.0
  696. * #148: Configuration file includes and merging via "!include" tag to support reuse of common
  697. options across configuration files.
  698. 1.2.18
  699. * #147: Support for Borg create/extract --numeric-owner flag via "numeric_owner" option in
  700. borgmatic's location section.
  701. 1.2.17
  702. * #140: List the files within an archive via --list --archive option.
  703. 1.2.16
  704. * #119: Include a sample borgmatic configuration file in the documentation.
  705. * #123: Support for Borg archive restoration via borgmatic --extract command-line flag.
  706. * Refactor documentation into multiple separate pages for clarity and findability.
  707. * Organize options within command-line help into logical groups.
  708. * Exclude tests from distribution packages.
  709. 1.2.15
  710. * #127: Remove date echo from schema example, as it's not a substitute for real logging.
  711. * #132: Leave exclude_patterns glob expansion to Borg, since doing it in borgmatic leads to
  712. confusing behavior.
  713. * #136: Handle and format validation errors raised during argument parsing.
  714. * #138: Allow use of --stats flag when --create or --prune flags are implied.
  715. 1.2.14
  716. * #103: When generating sample configuration with generate-borgmatic-config, document the defaults
  717. for each option.
  718. * #116: When running multiple configuration files, attempt all configuration files even if one of
  719. them errors. Log a summary of results at the end.
  720. * Add borgmatic --version command-line flag to get the current installed version number.
  721. 1.2.13
  722. * #100: Support for --stats command-line flag independent of --verbosity.
  723. * #117: With borgmatic --init command-line flag, proceed without erroring if a repository already
  724. exists.
  725. 1.2.12
  726. * #110: Support for Borg repository initialization via borgmatic --init command-line flag.
  727. * #111: Update Borg create --filter values so a dry run lists files to back up.
  728. * #113: Update README with link to a new/forked Docker image.
  729. * Prevent deprecated --excludes command-line option from being used.
  730. * Refactor README a bit to flow better for first-time users.
  731. * Update README with a few additional borgmatic packages (Debian and Ubuntu).
  732. 1.2.11
  733. * #108: Support for Borg create --progress via borgmatic command-line flag.
  734. 1.2.10
  735. * #105: Support for Borg --chunker-params create option via "chunker_params" option in borgmatic's
  736. storage section.
  737. 1.2.9
  738. * #102: Fix for syntax error that occurred in Python 3.5 and below.
  739. * Make automated tests support running in Python 3.5.
  740. 1.2.8
  741. * #73: Enable consistency checks for only certain repositories via "check_repositories" option in
  742. borgmatic's consistency configuration. Handy for large repositories that take forever to check.
  743. * Include link to issue tracker within various command output.
  744. * Run continuous integration tests on a matrix of Python and Borg versions.
  745. 1.2.7
  746. * #98: Support for Borg --keep-secondly prune option.
  747. * Use Black code formatter and Flake8 code checker as part of running automated tests.
  748. * Add an end-to-end automated test that actually integrates with Borg.
  749. * Set up continuous integration for borgmatic automated tests on projects.evoworx.org.
  750. 1.2.6
  751. * Fix generated configuration to also include a "keep_daily" value so pruning works out of the
  752. box.
  753. 1.2.5
  754. * #57: When generating sample configuration with generate-borgmatic-config, comment out all
  755. optional configuration so as to streamline the initial configuration process.
  756. 1.2.4
  757. * Fix for archive checking traceback due to parameter mismatch.
  758. 1.2.3
  759. * #64, #90, #92: Rewrite of logging system. Now verbosity flags passed to Borg are derived from
  760. borgmatic's log level. Note that the output of borgmatic might slightly change.
  761. * Part of #80: Support for Borg create --read-special via "read_special" option in borgmatic's
  762. location configuration.
  763. * #87: Support for Borg create --checkpoint-interval via "checkpoint_interval" option in
  764. borgmatic's storage configuration.
  765. * #88: Fix declared pykwalify compatibility version range in setup.py to prevent use of ancient
  766. versions of pykwalify with large version numbers.
  767. * #89: Pass --show-rc option to Borg when at highest verbosity level.
  768. * #94: Support for Borg --json option via borgmatic command-line to --create archives.
  769. 1.2.2
  770. * #85: Fix compatibility issue between pykwalify and ruamel.yaml 0.15.52, which manifested in
  771. borgmatic as a pykwalify RuleError.
  772. 1.2.1
  773. * Skip before/after backup hooks when only doing --prune, --check, --list, and/or --info.
  774. * #71: Support for XDG_CONFIG_HOME environment variable for specifying alternate user ~/.config/
  775. path.
  776. * #74, #83: Support for Borg --json option via borgmatic command-line to --list archives or show
  777. archive --info in JSON format, ideal for programmatic consumption.
  778. * #38, #76: Upgrade ruamel.yaml compatibility version range and fix support for Python 3.7.
  779. * #77: Skip non-"*.yaml" config filenames in /etc/borgmatic.d/ so as not to parse backup files,
  780. editor swap files, etc.
  781. * #81: Document user-defined hooks run before/after backup, or on error.
  782. * Add code style guidelines to the documentation.
  783. 1.2.0
  784. * #61: Support for Borg --list option via borgmatic command-line to list all archives.
  785. * #61: Support for Borg --info option via borgmatic command-line to display summary information.
  786. * #62: Update README to mention other ways of installing borgmatic.
  787. * Support for Borg --prefix option for consistency checks via "prefix" option in borgmatic's
  788. consistency configuration.
  789. * Add introductory screencast link to documentation.
  790. * #59: Ignore "check_last" and consistency "prefix" when "archives" not in consistency checks.
  791. * #60: Add "Persistent" flag to systemd timer example.
  792. * #63: Support for Borg --nobsdflags option to skip recording bsdflags (e.g. NODUMP, IMMUTABLE) in
  793. archive.
  794. * #69: Support for Borg prune --umask option using value of existing "umask" option in borgmatic's
  795. storage configuration.
  796. * Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically.
  797. * Add ~/.config/borgmatic/config.yaml to default configuration path probing.
  798. * Document how to develop on and contribute to borgmatic.
  799. 1.1.15
  800. * Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file.
  801. * Fix for Borg create error when using borgmatic's --dry-run and --verbosity options together.
  802. Work-around for behavior introduced in Borg 1.1.3: https://github.com/borgbackup/borg/issues/3298
  803. * #55: Fix for missing tags/releases on Gitea and GitHub project hosting.
  804. * #56: Support for Borg --lock-wait option for the maximum wait for a repository/cache lock.
  805. * #58: Support for using tilde in exclude_patterns to reference home directory.
  806. 1.1.14
  807. * #49: Fix for typo in --patterns-from option.
  808. * #47: Support for Borg --dry-run option via borgmatic command-line.
  809. 1.1.13
  810. * #54: Fix for incorrect consistency check flags passed to Borg when all three checks ("repository",
  811. "archives", and "extract") are specified in borgmatic configuration.
  812. * #48: Add "local_path" to configuration for specifying an alternative Borg executable path.
  813. * #49: Support for Borg experimental --patterns-from and --patterns options for specifying mixed
  814. includes/excludes.
  815. * Moved issue tracker from Taiga to integrated Gitea tracker at
  816. https://projects.torsion.org/borgmatic-collective/borgmatic/issues
  817. 1.1.12
  818. * #46: Declare dependency on pykwalify 1.6 or above, as older versions yield "Unknown key: version"
  819. rule errors.
  820. * Support for Borg --keep-minutely prune option.
  821. 1.1.11
  822. * #26: Add "ssh_command" to configuration for specifying a custom SSH command or options.
  823. * Fix for incorrect /etc/borgmatic.d/ configuration path probing on macOS. This problem manifested
  824. as an error on startup: "[Errno 2] No such file or directory: '/etc/borgmatic.d'".
  825. 1.1.10
  826. * Pass several Unix signals through to child processes like Borg. This means that Borg now properly
  827. shuts down if borgmatic is terminated (e.g. due to a system suspend).
  828. * #30: Support for using tilde in repository paths to reference home directory.
  829. * #43: Support for Borg --files-cache option for setting the files cache operation mode.
  830. * #45: Support for Borg --remote-ratelimit option for limiting upload rate.
  831. * Log invoked Borg commands when at highest verbosity level.
  832. 1.1.9
  833. * #17, #39: Support for user-defined hooks before/after backup, or on error.
  834. * #34: Improve clarity of logging spew at high verbosity levels.
  835. * #30: Support for using tilde in source directory path to reference home directory.
  836. * Require "prefix" in retention section when "archive_name_format" is set. This is to avoid
  837. accidental pruning of archives with a different archive name format. For similar reasons, default
  838. "prefix" to "{hostname}-" if not specified.
  839. * Convert main source repository from Mercurial to Git.
  840. * Update dead links to Borg documentation.
  841. 1.1.8
  842. * #40: Fix to make /etc/borgmatic/config.yaml optional rather than required when using the default
  843. config paths.
  844. 1.1.7
  845. * #29: Add "archive_name_format" to configuration for customizing archive names.
  846. * Fix for traceback when "exclude_from" value is empty in configuration file.
  847. * When pruning, make highest verbosity level list archives kept and pruned.
  848. * Clarification of Python 3 pip usage in documentation.
  849. 1.1.6
  850. * #13, #36: Support for Borg --exclude-from, --exclude-caches, and --exclude-if-present options.
  851. 1.1.5
  852. * #35: New "extract" consistency check that performs a dry-run extraction of the most recent
  853. archive.
  854. 1.1.4
  855. * #18: Added command-line flags for performing a borgmatic run with only pruning, creating, or
  856. checking enabled. This supports use cases like running consistency checks from a different cron
  857. job with a different frequency, or running pruning with a different verbosity level.
  858. 1.1.3
  859. * #15: Support for running multiple config files in /etc/borgmatic.d/ from a single borgmatic run.
  860. * Fix for generate-borgmatic-config writing config with invalid one_file_system value.
  861. 1.1.2
  862. * #33: Fix for passing check_last as integer to subprocess when calling Borg.
  863. 1.1.1
  864. * Part of #33: Fix for upgrade-borgmatic-config converting check_last option as a string instead of
  865. an integer.
  866. * Fix for upgrade-borgmatic-config erroring when consistency checks option is not present.
  867. 1.1.0
  868. * Switched config file format to YAML. Run upgrade-borgmatic-config to upgrade.
  869. * Added generate-borgmatic-config command for initial config creation.
  870. * Dropped Python 2 support. Now Python 3 only.
  871. * #19: Fix for README mention of sample files not included in package.
  872. * #23: Sample files for triggering borgmatic from a systemd timer.
  873. * Support for backing up to multiple repositories.
  874. * To free up space, now pruning backups prior to creating a new backup.
  875. * Enabled test coverage output during tox runs.
  876. * Added logo.
  877. 1.0.3
  878. * #22: Fix for verbosity flag not actually causing verbose output.
  879. 1.0.2
  880. * #21: Fix for traceback when remote_path option is missing.
  881. 1.0.1
  882. * #20: Support for Borg's --remote-path option to use an alternate Borg
  883. executable. See sample/config.
  884. 1.0.0
  885. * Attic is no longer supported, as there hasn't been any recent development on
  886. it. Dropping Attic support will allow faster iteration on Borg-specific
  887. features. If you're still using Attic, this is a good time to switch to Borg!
  888. * Project renamed from atticmatic to borgmatic. See the borgmatic README for
  889. information on upgrading.
  890. 0.1.8
  891. * Fix for handling of spaces in source_directories which resulted in backup up everything.
  892. * Fix for broken links to Borg documentation.
  893. * At verbosity zero, suppressing Borg check stderr spew about "Checking segments".
  894. * Support for Borg --one-file-system.
  895. * Support for Borg create --umask.
  896. * Support for file globs in source_directories.
  897. 0.1.7
  898. * #12: Fixed parsing of punctuation in configuration file.
  899. * Better error message when configuration file is missing.
  900. 0.1.6
  901. * #10: New configuration option for the encryption passphrase.
  902. * #11: Support for Borg's new archive compression feature.
  903. 0.1.5
  904. * Changes to support release on PyPI. Now pip installable by name!
  905. 0.1.4
  906. * Adding test that setup.py version matches release version.
  907. 0.1.3
  908. * #2: Add support for "borg check --last N" to Borg backend.
  909. 0.1.2
  910. * As a convenience to new users, allow a missing default excludes file.
  911. * New issue tracker, linked from documentation.
  912. 0.1.1
  913. * Adding borgmatic cron example, and updating documentation to refer to it.
  914. 0.1.0
  915. * New "borgmatic" command to support Borg backup software, a fork of Attic.
  916. 0.0.7
  917. * Flag for multiple levels of verbosity: some, and lots.
  918. * Improved mocking of Python builtins in unit tests.
  919. 0.0.6
  920. * New configuration section for customizing which Attic consistency checks run, if any.
  921. 0.0.5
  922. * Fixed regression with --verbose output being buffered. This means dropping the helpful error
  923. message introduced in 0.0.4.
  924. 0.0.4
  925. * Now using tox to run tests against multiple versions of Python in one go.
  926. * Helpful error message about how to create a repository if one is missing.
  927. * Troubleshooting section with steps to deal with broken pipes.
  928. * Nosetests config file (setup.cfg) with defaults.
  929. 0.0.3
  930. * After pruning, run attic's consistency checks on all archives.
  931. * Integration tests for argument parsing.
  932. * Documentation updates about repository encryption.
  933. 0.0.2
  934. * Configuration support for additional attic prune flags: keep_within, keep_hourly, keep_yearly,
  935. and prefix.
  936. 0.0.1
  937. * Initial release.