Changes between Version 65 and Version 66 of InstallationGuidelines/PostgreSQL
- Timestamp:
- 08/05/13 20:27:38 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/PostgreSQL
v65 v66 251 251 }}} 252 252 253 To restore data from backup :254 {{{ 255 su postgres 256 psql -f/tmp/sahana.sql253 To restore data from backup, clear the databases folder, settings.base.prepopulate = 0 & settings.base.migrate=True, run a migration & then restore the data: 254 {{{ 255 su postgres 256 psql sahana < /tmp/sahana.sql 257 257 createdb gis 258 258 psql gis -f /usr/share/postgresql-8.4/contrib/postgis.sql