Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| general:cutover_notes [2014/09/05 20:52] – [install3] rfile | general:cutover_notes [2014/11/26 21:26] (current) – [Linux] rfile | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| - | dragon is postgresql 8.4.11 | ||
| - | flatboy is postgresql 9.3.5 postgis 2.1.2 | ||
| - | using public schema in db not necessarily a good thing: | ||
| - | http:// | ||
| - | http:// | ||
| - | http:// | ||
| + | ==== Backups Notes ==== | ||
| - | http://traviscline.com/blog/ | + | http://technobytz.com/automatic-sql-database-backup-postgres.html |
| + | http:// | ||
| - | ===== Install notes ===== | ||
| - | http://postgis.net/ | + | http://backuppc.sourceforge.net/ |
| - | |||
| - | http:// | ||
| - | |||
| - | |||
| - | should probably use extensions to make apostgis database on the new server flatboy | ||
| - | |||
| - | http:// | ||
| - | |||
| - | still need to figure out if sql statments have been run during postgis install on ubuntu | ||
| - | |||
| - | |||
| - | |||
| - | ==== install3 ==== | ||
| - | |||
| - | http:// | ||
| - | |||
| - | |||
| - | Using the CREATE EXTENSION statement | ||
| - | This is as simple as running a query in the data base where you want to enable PostGIS: | ||
| - | |||
| - | 1 CREATE EXTENSION postgis; | ||
| - | |||
| - | |||
| - | <box 95% orange> | ||
| - | CREATE EXTENSION postgis; | ||
| - | command. | ||
| - | |||
| - | psql -d [yourdatabase] -c " | ||
| - | |||
| - | Topology is packaged as a separate extension and installable with command: | ||
| - | |||
| - | psql -d [yourdatabase] -c " | ||
| - | |||
| - | If you plan to restore an old backup from prior versions in this new db, run: | ||
| - | |||
| - | psql -d [yourdatabase] -f legacy.sql | ||
| - | |||
| - | You can later run uninstall_legacy.sql to get rid of the deprecated functions after you are done with restoring and cleanup. | ||
| - | |||
| - | |||
| - | |||
| - | </ | ||
| - | ==== Postgis Qgis Notes ==== | ||
| - | |||
| - | |||
| - | |||
| - | http:// | ||
| - | |||
| - | |||
| - | youtube vid about using QGIS to update | ||
| - | |||
| - | https:// | ||
| - | |||
| - | |||
| - | http:// | ||
| - | |||
| - | http:// | ||