How it works...

Like walctl, WAL-E is generally easy to use once it has been installed. In this case, we merely need to modify the postgresql.conf config file and restart PostgreSQL. Assuming our installation of WAL-E is working properly, there really are no more steps. However, it's always a good idea to verify.

Regarding the changes we made to postgresql.conf, only two are different from those we dictated in the Configuration - getting it right the first time recipe of the Chapter 2, Handling and Avoiding Downtime. We're mainly repeating them here for posterity; these are good parameters to be familiar with.

Remember the replica value for wal_level only works in PostgreSQL 9.6 and more. For older systems, use hot_standby instead.

First, ...

Get PostgreSQL High Availability Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.