February 2020
Intermediate to advanced
734 pages
38h 13m
English
For this procedure, we will need two servers. The backup server will be named pg-backup, and our primary PostgreSQL server will be named pg-primary. Make sure to have the password for the barman system user and the postgres database user. As usual, our database is located at /db/pgdata.
Follow these steps:
sudo yum install barman
sudo apt-get install barman
ssh-keygen -t rsa -N '' ssh-copy-id postgres@pg-primary
Read now
Unlock full access