Automate Postgres Database Backup and Upload to S3 In this tutorial we will create a bash script to automate postgres database backup from a docker container and native postgres installation then upload to S3 based storage system.
How To Take Postgres Database Backup From Docker Container In this tutorial we are gonna use docker exec and cp command along with pg_dump to take Postgres database backup from docker container.