PostgreSQL 11 Administration Cookbook
by Simon Riggs, Gianni Ciolli, Sudheer Kumar Meesala, Sheldon Strauch
How it works…
When executed with the --remote-ssh-command option, the recover command will activate remote recovery and will use those credentials to connect to the remote server (similar to what the ssh-command configuration option does in the backup phase but in reverse—see the Hot physical backups with Barman recipe for more information). Internally, Barman relies on rsync for this operation.
When performing a full recovery (up to the latest available archived WAL file), Barman recreates the structure of the PGDATA according to the backup. It will then deposit all of the necessary WAL files in the pg_wal directory.
A careful analysis of the content of the restored PGDATA directory shows that no recovery.conf file is generated by Barman ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access