Database server with continuous archiving using
Set the environment variables for your platform as described in Wal-E's source
Follow the instuctions for the official
postgres docker image to configure the
It is highly recommended to set the
POSTGRES_PASSWORD environment variable.
You can change when full backups are made with the
variable. It runs at midnight by default.
Archiving to AWS S3, with a full backup daily at 00:42.
docker run -d --name=postgres \ -e POSTGRES_PASSWORD=pleasechangeme \ -e WALE_S3_PREFIX=s3://bucket/path/optionallymorepath \ -e AWS_ACCESS_KEY_ID=yourkeyhere \ -e AWS_SECRET_ACCESS_KEY=yoursecrethere \ -e CRON_PATTERN="42 0 * * *" \ erlend/postgres