Skip to content

Creates a SQL file to extract a specific database from a pg_dumpall SQL file.

License

Notifications You must be signed in to change notification settings

pcolusso/pg_dumpall_extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostgreSQL pg_dumpall Database Extractor

PostgreSQL's pg_dumpall is a great tool for creating logical backups of your database. However, you cannot selectivley choose which database to restore. This utility will allow you to pull out the required SQL for a specific database and save it to a new file.

Compiling in docker

docker run --rm --user "$(id -u)":"$(id -g)" -v "$PWD":/usr/src/myapp -w /usr/src/myapp rust:1.23.0 cargo build --release

About

Creates a SQL file to extract a specific database from a pg_dumpall SQL file.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages