Add configured repository "label" to the interpolated variables passed to command hooks (#874).
All checks were successful
build / test (push) Successful in 4m26s
build / docs (push) Successful in 52s

This commit is contained in:
2024-06-05 14:47:37 -07:00
parent b5ab1ff0cd
commit 177c958572
4 changed files with 43 additions and 3 deletions

View File

@@ -79,6 +79,9 @@ variables you can use here:
* `configuration_filename`: borgmatic configuration filename in which the
hook was defined
* `label` <span class="minilink minilink-addedin">New in version
1.8.12</span>: label of the current repository as configured in the current
borgmatic configuration file
* `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