NEWS 80 KB

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