Skip to content

pg_dump para cópia

Peter edited this page May 31, 2020 · 1 revision

Exemplo: depois de garantir que tem postgis, rodar o dump das tabelas desejadas:

psql ingest1 -c "CREATE EXTENSION POSTGIS"
pg_dump  -t planet_osm_roads -t planet_osm_point -t iso_country -t brcodes_city -t brcodes_state | psql ingest1