plugin-barman-cloud/internal/cmd
Armando Ruocco a19f89b57f
fix(restore): bind custom CNPG group and version env vars
The restore command was missing the CUSTOM_CNPG_GROUP and
CUSTOM_CNPG_VERSION environment variable bindings that other
commands (e.g. instance) already had.

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>

refactor(restore): use shared scheme generation for custom CNPG groups

Extract generateScheme() from the instance package into
common.GenerateScheme() and use it from both instance and
restore managers. The restore manager previously used a
hardcoded init() that ignored CUSTOM_CNPG_GROUP and
CUSTOM_CNPG_VERSION, causing restore jobs to fail when
running under a non-standard CNPG API group.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2026-04-13 11:31:13 +02:00
..
healthcheck feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
instance feat: add pprof-server support (#538) 2025-11-26 17:54:34 +01:00
operator feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
restore fix(restore): bind custom CNPG group and version env vars 2026-04-13 11:31:13 +02:00