Sign inSign up

abdelfattahradwan/pg_dump

By abdelfattahradwan

•Updated over 1 year ago

A lightweight Docker image containing only the pg_dump utility

Image
Developer tools
Databases & storage
0

641

abdelfattahradwan/pg_dump repository overview

⁠pg_dump-minimal

Minimal Docker image containing only the PostgreSQL pg_dump utility without the full PostgreSQL installation.

⁠Usage

# Basic backup
docker run --rm abdelfattahradwan/pg_dump:17 -h host -U username -d dbname > backup.sql

# With password
docker run --rm -e PGPASSWORD=secret abdelfattahradwan/pg_dump:17 -h host -U username -d dbname > backup.sql

# Custom format (compressed)
docker run --rm -e PGPASSWORD=secret abdelfattahradwan/pg_dump:17 -h host -U username -d dbname -Fc > backup.dump

⁠Versions

Image tags follow PostgreSQL versions:

  • 17: PostgreSQL 17

⁠Build

docker build -t pg_dump-minimal .

⁠Licence

MIT

Tag summary

Content type

Image

Digest

sha256:c8be33b8a…

Size

8 MB

Last updated

over 1 year ago

docker pull abdelfattahradwan/pg_dump