Scheduled postgreSQL backups
1.0K
Create schedule backups of databases in a PostgreSQL server to a destination directory.
$ make
docker run \
-v /var/destination:/var/destination \
-e TIMEZONE="Africa/Johannesburg" \
-e SCHEDULE="0 0 3 * *" \
-e BACKUP_OPTS="-u postgres -p test -h 172.17.0.68" \
dylangmiles/docker-pg-backup
docker run \
--entrypoint="/usr/local/sbin/backup-run.sh" \
-v ~/dev/temp/backups:/var/destination \
-e BACKUP_OPTS="-u postgres -p abc123! -h host.docker.internal -c gzip" \
dylangmiles/docker-pg-backup
Content type
Image
Digest
sha256:ab818d093…
Size
377.9 MB
Last updated
about 3 years ago
docker pull dylangmiles/docker-pg-backup