From: Sandro Santilli <strk@keybit.net> Date: Thu, 13 Jan 2005 08:48:35 +0000 (+0000) Subject: Added note about utils/postgis_restore.pl X-Git-Tag: pgis_1_0_0RC1~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3fee52297753df57948fee8c155c34b05fe064c8;p=postgis Added note about utils/postgis_restore.pl git-svn-id: http://svn.osgeo.org/postgis/trunk@1292 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/README.postgis b/README.postgis index cd170e59c..169157e57 100644 --- a/README.postgis +++ b/README.postgis @@ -103,10 +103,14 @@ language, upload the new postgis.sql file, then upload your database dump: dropdb yourdatabase createdb yourdatabase createlang plpgsql yourdatabase - psql -f postgis.sql -d yourdatabase + psql -f lwpostgis.sql -d yourdatabase psql -f dumpfile.sql -d yourdatabase vacuumdb -z yourdatabase +You might find the utils/postgis_restore.pl useful. It will +automatically create a new db, feed it the lwpostgis.sql file +and restore all but postgis objects from a 'custom' dump. +Run with no args to have a usage string printed. USAGE: