plugin-barman-cloud/web/docs
Armando Ruocco c5f149b86a
Some checks failed
Deploy Docusaurus to GitHub Pages / build (push) Failing after 5s
Deploy Docusaurus to GitHub Pages / deploy (push) Has been skipped
release-please / release-please (push) Failing after 3s
feat: pass additionalCommandArgs to barman-cloud-restore (#914)
An `ObjectStore` already lets users tack extra command-line flags onto
three of the four `barman-cloud-*` invocations: `barman-cloud-backup`
via
`data.additionalCommandArgs`, `barman-cloud-wal-archive` via
`wal.archiveAdditionalCommandArgs`, and `barman-cloud-wal-restore` via
`wal.restoreAdditionalCommandArgs`. The fourth — `barman-cloud-restore`,
the actual data-restore step in PITR and recovery-from-object-store —
has had no
equivalent, which is exactly the gap reported in #821 (the asker wanted
a longer `--read-timeout` for slow restores from S3).

This PR fills that gap by adding
`spec.configuration.data.restoreAdditionalCommandArgs` and wiring it
into the recovery job hook. In `restoreDataDir`,
the user-supplied flags are appended after the cloud-provider options
and `--endpoint-url` but before the positional `(destinationPath,
serverName,
backupID, pgdata)` arguments — same shape as the other three knobs. The
library's existing append/dedup logic still wins on conflicts, so users
can't
accidentally override flags the plugin already sets (`--cloud-provider`,
`--endpoint-url`, etc.).

Closes #821

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@gmail.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@gmail.com>
2026-06-03 14:17:12 +02:00
..
compression.md fix: add lz4 compression support for base backups (#868) 2026-04-21 19:23:45 +02:00
concepts.md docs: add migration guide from in-tree to plugin-based Barman Cloud (#316) 2025-05-07 10:41:51 +02:00
images.md docs: document the container images (#317) 2025-05-07 10:59:32 +02:00
installation.mdx docs: avoid using grep to parse kubectl output (#404) 2025-07-02 11:57:52 +02:00
intro.md docs: add troubleshooting section (#509) 2025-09-22 16:47:56 +02:00
migration.md docs: clarify observability metrics and migration to plugin-based ones (#621) 2025-10-27 16:39:14 +01:00
misc.md feat: pass additionalCommandArgs to barman-cloud-restore (#914) 2026-06-03 14:17:12 +02:00
object_stores.md Remove mention of objects never being deleted (#750) 2026-01-30 14:56:26 +01:00
observability.md docs: clarify observability metrics and migration to plugin-based ones (#621) 2025-10-27 16:39:14 +01:00
parameters.md docs: plugin parameters (#330) 2025-05-09 13:20:18 +02:00
plugin-barman-cloud.v1.md feat: introduce logLevel setting to control verbosity (#536) 2025-09-24 12:32:59 +02:00
resource-name-migration.md feat(rbac)!: prefix all resource names to avoid cluster conflicts (#593) 2025-10-27 15:08:11 +01:00
retention.md docs: add backup, WAL archive and recovery information (#291) 2025-05-06 11:49:09 +02:00
troubleshooting.md Remove mention of s3UsePathStyle setting (#745) 2026-01-29 17:42:20 +01:00
upgrades.mdx feat(rbac)!: prefix all resource names to avoid cluster conflicts (#593) 2025-10-27 15:08:11 +01:00
usage.md fix(docs): update broken link to CloudNativePG documentation (#904) 2026-05-12 10:46:04 +02:00