Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I am using the following docker image https://github.com/docker-library/postgres. I want the ability to make regular backups to my S3 bucket. PITR is not necessary but a nice to have. I've tried to use https://github.com/wal-e/wal-e but I've not found something that works very well with docker.
I am using the following docker image https://github.com/docker-library/postgres. I want the ability to make regular backups to my S3 bucket. PITR is not necessary but a nice to have. I've tried to use https://github.com/wal-e/wal-e but I've not found something that works very well with docker.
Everything online seems to be very old. For example this: https://github.com/lukesmith/docker-postgres-wale. They are all using a very old version of postgresql. If I try to using something newer like version 12, it doesn't work because the newer images don't allow an easy way to execute scripts after the postgres instance has started. Well, you can execute scripts but scripts that need root access don't work.
pgBackrest and barman can backup to S3
I think what you are looking for is https://github.com/wal-g/wal-g. It is the more modern version of wal-e.
run a 'deck-chores' container on the local host: https://github.com/funkyfuture/deck-chores This gives you a docker 'aware' cron driven directly by container labels
Related posts
- Automate pg_basebackup in linux
- pgBackRest: PostgreSQL S3 backups
- A PostgreSQL Docker container that automatically upgrades PostgreSQL
- pgBackRest - Reliable PostgreSQL Backup & Restore
- Out of a desire to backup my docker volumes, I created a small utility to periodically compress and upload a directory to S3. Since I'm only 9 months into my Rust journey, any advice is welcome!