Planetpg

Fun with pgbackrest

Fun with pgbackrest

pgbackrest is an amazing tool that saves entire PostgreSQL clusters with ease.

In this post we’ll go trough the configuration of the backup using a remote backup server.

For the extensive documentation and detailed instructions please refer to the user guide.

operating system configuration

For our example we’ll use two virtual machines on virtualbox with devuan 1.0 Jessie installed.

Each machine is configured in the same way.

  • 1 cpu
  • 1 GB ram
  • Hard disk of 12 GB with single partition ext4
  • sshd up and running

The machines have one bridged network adapter eth0. The network configuration is using a static ip address.