barman-config-update(1)
| BARMAN-CONFIG-UPDATE(1) | Barman | BARMAN-CONFIG-UPDATE(1) |
NAME
barman-config-update - Barman Sub-Commands
SYNOPSIS
config-update
[ { -h | --help } ]
STRING
DESCRIPTION
Create or update the configurations for servers and/or models in Barman. The parameter should be a JSON string containing an array of documents. Each document must include a scope key, which can be either server or model, and either a server_name or model_name key, depending on the scope value. Additionally, the document should include other keys representing Barman configuration options and their desired values.
Note:
The barman config-update command writes
configuration options to a file named .barman.auto.conf, located in the
barman_home directory. This configuration file has higher precedence
and will override values from the global Barman configuration file (usually
/etc/barman.conf) and from any included files specified in
configuration_files_directory (typically files in
/etc/barman.d). Be aware of this if you decide to manually modify
configuration options in those files later.
PARAMETERS
- STRING
- List of JSON formatted string.
- -h / --help
- Show a help message and exit. Provides information about command usage.
EXAMPLE
JSON_STRING='[{“scope”: “server”, “server_name”: “my_server”, “archiver”: “on”, “streaming_archiver”: “off”}]'
Author
EnterpriseDB
Copyright
© Copyright EnterpriseDB UK Limited 2011-2025
| May 19, 2026 | 3.19 |
