Update documentation about configuration includes and constants (#745).
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dan Helfman 2023-11-19 21:22:10 -08:00
parent fdb353d358
commit c34ad7dde7
1 changed files with 5 additions and 2 deletions

View File

@ -540,8 +540,7 @@ tool is borgmatic's support for defining custom constants. This is similar to
the [variable interpolation
for command hooks, but the constants feature lets you substitute your own
custom values into anywhere in the entire configuration file. (Constants don't
work across includes or separate configuration files though.)
custom values into anywhere in the entire configuration file.
Here's an example usage:
@ -579,5 +578,9 @@ source_directories:
archive_name_format: 'bar-{now}'
<span class="minilink minilink-addedin">New in version 1.8.5</span> Constants
work across includes, meaning you can define a constant and then include a
separate configuration file that uses that constant.
An alternate to constants is passing in your values via [environment