diff --git a/NEWS b/NEWS index e9b991a6..bff2f68a 100644 --- a/NEWS +++ b/NEWS @@ -1,10 +1,12 @@ +2.0.0dev0 + * #790: Deprecate all "before_*", "after_*" and "on_error" command hooks in favor of more flexible + "commands:". See the documentation for more information: + https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/ + 1.9.14 * #409: With the PagerDuty monitoring hook, send borgmatic logs to PagerDuty so they show up in the incident UI. See the documentation for more information: https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#pagerduty-hook - * #790: Deprecate all "before_*", "after_*" and "on_error" command hooks in favor of more flexible - "commands:". See the documentation for more information: - https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/ * #936: Clarify Zabbix monitoring hook documentation about creating items: https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#zabbix-hook * #1017: Fix a regression in which some MariaDB/MySQL passwords were not escaped correctly. diff --git a/docs/how-to/add-preparation-and-cleanup-steps-to-backups.md b/docs/how-to/add-preparation-and-cleanup-steps-to-backups.md index 0d337e76..98f20ccf 100644 --- a/docs/how-to/add-preparation-and-cleanup-steps-to-backups.md +++ b/docs/how-to/add-preparation-and-cleanup-steps-to-backups.md @@ -17,7 +17,7 @@ points as it runs. feature](https://torsion.org/borgmatic/docs/how-to/backup-your-databases/) instead.) -New in version 1.9.14 Command +New in version 2.0.0 Command hooks are now configured via a list of `commands:` in your borgmatic configuration file. For example: @@ -106,7 +106,7 @@ configuration files. ### Deprecated command hooks -Prior to version 1.9.14 The +Prior to version 2.0.0 The command hooks worked a little differently. In these older versions of borgmatic, you can specify `before_backup` hooks to perform preparation steps before running backups and specify `after_backup` hooks to perform cleanup steps diff --git a/pyproject.toml b/pyproject.toml index fdded2be..d01b6f8b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "borgmatic" -version = "1.9.14" +version = "2.0.0dev0" authors = [ { name="Dan Helfman", email="witten@torsion.org" }, ]