May 2019
Intermediate to advanced
600 pages
20h 46m
English
Connect as the barman user on malcolm and type the following:
barman recover --remote-ssh-command 'ssh postgres@brian' bon last /var/lib/pgsql/11/data
The preceding command will use the latest available backup for the bon server and prepare everything you need to restore your server in the PostgreSQL destination directory (/var/lib/pgsql/11/data), as shown in the following output:
Starting remote restore for server bon using backup 20181003T194717Destination directory: /var/lib/pgsql/11/dataCopying the base backup.Copying required WAL segments.Generating archive status filesIdentify dangerous settings in destination directory. IMPORTANTThese settings have been modified to prevent data losses postgresql.conf line 645: archive_command ...
Read now
Unlock full access