NEWS 59 KB

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