Add "log_file" command hook context to NEWS and docs (#413).

This commit is contained in:
Dan Helfman 2023-04-06 13:58:37 -07:00
parent b4b1fa939d
commit 4cd7556a34
2 changed files with 5 additions and 0 deletions

2
NEWS
View file

@ -1,4 +1,6 @@
1.7.12.dev0
* #413: Add "log_file" context to command hooks. See the documentation for more information:
https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
* #666: Fix error when running the "info" action with the "--match-archives" flag. Also fix the
"--match-archives" flag to correctly override the "match_archives" configuration option for
the "transfer", "list", "rlist", and "info" actions.

View file

@ -66,6 +66,9 @@ variables you can use here:
* `configuration_filename`: borgmatic configuration filename in which the
hook was defined
* `log_file`
<span class="minilink minilink-addedin">New in version 1.7.12</span>:
path of the borgmatic log file, only set when the `--log-file` flag is used
* `repository`: path of the current repository as configured in the current
borgmatic configuration file