pgcopydb

Copy a PostgreSQL database to a target PostgreSQL server

brewmacoslinux
Try with needOr install directly
Source

About

Copy a Postgres database to a target Postgres server

Commands

pgcopydb

Examples

Copy entire database from source to target server$ pgcopydb copy --source postgres://user:pass@source:5432/dbname --target postgres://user:pass@target:5432/dbname
Clone database with specific filtering and parallelism$ pgcopydb copy --source postgres://localhost/sourcedb --target postgres://localhost/targetdb --jobs 4
Show copy progress and statistics during transfer$ pgcopydb copy --source postgres://user@source/db --target postgres://user@target/db --verbose