From 667e1e5b1563c533cd028a0d64c8e17cffe4043a Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 19 Nov 2020 11:01:53 -0800 Subject: [PATCH] Update document about new --override behavior (#361). --- NEWS | 5 ++++- docs/how-to/make-per-application-backups.md | 14 +++++++++++++- setup.py | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 29c0d0e..a8ab259 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,7 @@ -1.5.11.dev0 +1.5.12.dev0 + * + +1.5.11 * #341: Add "temporary_directory" option for changing Borg's temporary directory. * #352: Lock down systemd security settings in sample systemd service file. * #355: Fix traceback when a database hook value is null in a configuration file. diff --git a/docs/how-to/make-per-application-backups.md b/docs/how-to/make-per-application-backups.md index 486c799..a037bfc 100644 --- a/docs/how-to/make-per-application-backups.md +++ b/docs/how-to/make-per-application-backups.md @@ -140,7 +140,19 @@ What this does is load your configuration files, and for each one, disregard the configured value for the `remote_path` option in the `location` section, and use the value of `/usr/local/bin/borg1` instead. -Note that the value is parsed as an actual YAML string, so you can even set +You can even override multiple values at once. For instance: + +```bash +borgmatic create --override section.option1=value1 section.option2=value2 +``` + +This will accomplish the same thing: + +```bash +borgmatic create --override section.option1=value1 --override section.option2=value2 +``` + +Note that each value is parsed as an actual YAML string, so you can even set list values by using brackets. For instance: ```bash diff --git a/setup.py b/setup.py index dc085d2..30aa1bd 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import find_packages, setup -VERSION = '1.5.11.dev0' +VERSION = '1.5.12.dev0' setup(