Using barman 2.19 on RHEL with postgres 14.2.
I am currently trying some restore-scenarios with a docker-container for the possibility of partial restores. Our postgres-cluster has multiple tenants and the most possible reason for a restore is a logical / user error with the need of PIT-recover a single database.
My process is restoring into a tmp-dir via barman recover, spin it up with a container and pg_dump the corresponding database.
Now, what i understood and what works is a restore to the latest full-backup and to the latest full-WAL-file. But if i want to restore a point more recent than the latest complete WAL, i either switch-wal or i copy the .partial-file into the wal-folder (without the suffix, of course).
Now my question: what is the reason for the barman get-wal -P command? it seems redundant with a simple copy of the .partial-file to the corresponding folder, isn't it? or does it do some magic with this file?