#83: Finding postgis_restore.pl
Solved!
Upon needing to restore a PostGIS-enabled Postgres database, I am following instructions from the PostGIS website as of Jan 23, 2010. However, I cannot find the postgis_restore.pl script referred to by the documentation. Where is postgis_store.pl ?
Postgis_restore.pl is in the PostGIS source package
- yliu on January 24, 2010, 01:42 AM UTC
postgis_restore.pl is located in utils subdirectory of the PostGIS source. That is, it is in the tarball ( postgis-x.x.x.tar.gz ) and the source directory it unpacks to, and apparently isn't installed with a conventional make install. If you deleted your source directory after install, pick up a new copy in the referenced link below.
References used:
PostGIS : Downloads
( http://postgis.refractions.net/download/ ) - found by yliu on January 24, 2010, 01:40 AM UTC
Think you've got a better solution? Help yliu out by posting your solution
PostGIS : Downloads
http://postgis.refractions.net/download/ - found by yliu on January 24, 2010, 01:40 AM UTC
Chapter 2. Installation
http://postgis.refractions.net/docs/ch02.html - found by yliu on January 24, 2010, 01:39 AM UTC
sh utils/postgis_restore.pl postgis.sql newdb olddb.dump -E=UNICODE > restore.log .... but where is the script?