EnterpriseDB / barman

Barman - Backup and Recovery Manager for PostgreSQL
https://www.pgbarman.org/
GNU General Public License v3.0
2.07k stars 191 forks source link

Explain limitations of `--target-{xid | time | name}` when using `--no-get-wal` #996

Closed andremagui closed 1 month ago

andremagui commented 1 month ago

When recovering with --no-get-wal and with either of --target-xid, --target-name or --target-time (the latter being a change introduced by Barman 3.11), Barman will copy the whole WAL archive from the Barman host to the recovery host.

That’s done that way because there currently is no reliable/performant way of “guessing” before-hand the required WAL files to reach the configured recovery target.

This commit is adding an important note to the manual doc explaining that limitation.

References: BAR-278

andremagui commented 1 month ago

@barthisrael @gcalacoci should i add an important note to the man1 page as well in the recover command?

barthisrael commented 1 month ago

Only one thing missing: references on commit/PR.