From 8c0eea72296c6c5c98cd392107381d47d0c878e1 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sat, 25 Mar 2023 08:56:25 -0700 Subject: [PATCH] Add additional documentation link to environment variable feature. Rename constants section. --- NEWS | 2 +- docs/how-to/make-per-application-backups.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 500a2cb..7d02c0e 100644 --- a/NEWS +++ b/NEWS @@ -4,7 +4,7 @@ * #576: Add support for "file://" paths within "repositories" option. * #612: Define and use custom constants in borgmatic configuration files. See the documentation for more information: - https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#constants + https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#constant-interpolation * #618: Add support for BORG_FILES_CACHE_TTL environment variable via "borg_files_cache_ttl" option in borgmatic's storage configuration. * #623: Fix confusing message when an error occurs running actions for a configuration file. diff --git a/docs/how-to/make-per-application-backups.md b/docs/how-to/make-per-application-backups.md index 5641213..e5ba037 100644 --- a/docs/how-to/make-per-application-backups.md +++ b/docs/how-to/make-per-application-backups.md @@ -257,7 +257,7 @@ that your shell may interpret. An alternate to command-line overrides is passing in your values via [environment variables](https://torsion.org/borgmatic/docs/how-to/provide-your-passwords/). -## Constants +## Constant interpolation New in version 1.7.10 Another tool is borgmatic's support for defining custom constants. This is similar to @@ -312,3 +312,6 @@ retention: consistency: prefix: bar- ``` + +An alternate to constants is passing in your values via [environment +variables](https://torsion.org/borgmatic/docs/how-to/provide-your-passwords/).