Changes between Version 65 and Version 66 of InstallationGuidelines/PostgreSQL


Ignore:
Timestamp:
08/05/13 20:27:38 (8 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/PostgreSQL

    v65 v66  
    251251}}}
    252252
    253 To restore data from backup:
    254 {{{
    255 su postgres
    256 psql -f /tmp/sahana.sql
     253To restore data from backup, clear the databases folder, settings.base.prepopulate = 0 & settings.base.migrate=True, run a migration & then restore the data:
     254{{{
     255su postgres
     256psql sahana < /tmp/sahana.sql
    257257createdb gis
    258258psql gis -f /usr/share/postgresql-8.4/contrib/postgis.sql