Changes between Version 8 and Version 9 of InstallationGuidelines/PostgreSQL
- Timestamp:
- 09/18/10 12:49:50 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/PostgreSQL
v8 v9 46 46 }}} 47 47 48 == Backups == 49 {{{ 50 man pg_dump 51 }}} 52 48 53 == Maintenance == 49 If you need to build a fresh database 54 If you need to build a fresh database: 50 55 {{{ 51 56 rm -f /home/web2py/applications/eden/databases/* 52 57 su postgres 58 pkill -f 'postgres: sahana sahana' 53 59 dropdb sahana 54 60 createdb -O sahana -E UTF8 sahana 61 }}} 62 63 To restore data from backup: 64 {{{ 65 man pg_restore 55 66 }}} 56 67