Browse Source

Update document about new --override behavior (#361).

Dan Helfman 4 years ago
parent
commit
667e1e5b15
3 changed files with 18 additions and 3 deletions
  1. 4 1
      NEWS
  2. 13 1
      docs/how-to/make-per-application-backups.md
  3. 1 1
      setup.py

+ 4 - 1
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.
  * #341: Add "temporary_directory" option for changing Borg's temporary directory.
  * #352: Lock down systemd security settings in sample systemd service file.
  * #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.
  * #355: Fix traceback when a database hook value is null in a configuration file.

+ 13 - 1
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,
 the configured value for the `remote_path` option in the `location` section,
 and use the value of `/usr/local/bin/borg1` instead.
 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:
 list values by using brackets. For instance:
 
 
 ```bash
 ```bash

+ 1 - 1
setup.py

@@ -1,6 +1,6 @@
 from setuptools import find_packages, setup
 from setuptools import find_packages, setup
 
 
-VERSION = '1.5.11.dev0'
+VERSION = '1.5.12.dev0'
 
 
 
 
 setup(
 setup(