Image to execute logical backup per postgresql database and upload to buckets (or save to volume)
2.6K
Image to execute logical backup per postgresql database and upload to buckets (S3, GCS or Azure Blobs) Can be used as a K8s [Cron]Job to regullary backup PostgreSQL
DAYS_KEEP - Default to 30, delete backups older than this value in days.
PG_VERSION - 9.5, 9.6, 10, 11, 12 or 13
PGHOST, PGUSER, etc, See: https://www.postgresql.org/docs/12/libpq-envars.html
GCS_BUCKET - gs://BUCKET_NAME GCS_KEYFILE - Path to Google Service Account Credentials, Should be injected into the container as a volume.
AZURE_CONTAINER_NAME AZURE_STORAGE_ACCOUNT AZURE_STORAGE_KEY
S3_ENDPOINT S3_BUCKET S3_ACCESS_KEY S3_SECRET_KEY S3_USE_HTTPS
RESTORE_DB - Database name to restore (Which is also the filename of the dump)
ENVOY_SUPPORT - Will wait for envoy to be ready on startup, And ask it to exit on finish (so that the Job is finished)
kind create cluster
tilt up
Cleanup (do this if things stops working):
tilt down
kind destroy cluster
Content type
Image
Digest
Size
372.4 MB
Last updated
over 5 years ago
docker pull sysbind/pg-logical-backup