postgis_restore(1) PostGIS postgis_restore(1) (NAME) postgis_restore - PostGIS pg_dump (SYNTAX) postgis_restore [-v] [-L TOC] [-s schema] dumpfile (DESCRIPTION) postgis_restore SQL (custom dump) PostGIS PostGIS . PostGIS postgis.sql . PostGIS CREATE EXTENSION PostGIS pg_restore . (custom format) pg_dump -Fc . (USAGE) . (EXAMPLES) olddb: pg_dump -Fc olddb > olddb.dump newdb: createdb newdb PostGIS : psql -c 'CREATE EXTENSION postgis' newdb : postgis_restore.pl olddb.dump | psql newdb (AUTHORS) Sandro Santilli . http://postgis.net . postgis_restore(1)