Today I decided to encrypt all my Postgresql Database Dumps. The OpenSSL command provides a nice tool for helping us encrypt and decrypt database backups in this way. The following steps will walk us through this process.
The first step needed to encrypt your database is to generate the RSA public/private keys. This can be done with the following command: