Changes between Version 3 and Version 4 of Download and load BDMAP
- Timestamp:
- Sep 1, 2010 11:58:26 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Download and load BDMAP
v3 v4 6 6 = Download and load the data BDMAP from sauv_BDMAP_31072010.backup= 7 7 8 I have created a new database : BDMAP2 010[[BR]]8 I have created a new database : BDMAP2[[BR]] 9 9 There are columns : [[BR]] 10 10 11 11 In cmd console :[[BR]] 12 12 {{{ 13 C:\"Program Files"\PostgreSQL\8.4\bin\psql -p 5432 -U postgres -c "CREATE DATABASE bdmap2 010WITH OWNER = postgres template=postgis ENCODING = 'UTF8' LC_COLLATE = 'French_France.1252' LC_CTYPE = 'French_France.1252' CONNECTION LIMIT = -1;"13 C:\"Program Files"\PostgreSQL\8.4\bin\psql -p 5432 -U postgres -c "CREATE DATABASE bdmap2 WITH OWNER = postgres template=postgis ENCODING = 'UTF8' LC_COLLATE = 'French_France.1252' LC_CTYPE = 'French_France.1252' CONNECTION LIMIT = -1;" 14 14 cd C:\Program Files\PostgreSQL\8.4\bin\ 15 pg_restore.exe --host localhost --port 5432 --username postgres --dbname "bdmap2 010" --verbose "D:\CelineJouanin\BDMAP\sauv_BDMAP_31072010.backup"15 pg_restore.exe --host localhost --port 5432 --username postgres --dbname "bdmap2" --verbose "D:\CelineJouanin\BDMAP\sauv_BDMAP_31072010.backup" 16 16 }}} 17 17 18 New tables can be find in BDMAP2 010:[[BR]]18 New tables can be find in BDMAP2 :[[BR]] 19 19 * mensurationindiv 20 20 * ssecteur_hydro … … 26 26 {{{ 27 27 --- In sql editor 28 CREATE SCHEMA bdmap2 010.bdmap;28 CREATE SCHEMA bdmap2.bdmap; 29 29 ALTER TABLE classe_taille_taxon SET SCHEMA bdmap; 30 30 ALTER TABLE entitehydro SET SCHEMA bdmap; … … 47 47 }}} 48 48 49 Autre manière d'intégrer les données depuis le backup dans bdmap2 010.bdmap49 Autre manière d'intégrer les données depuis le backup dans bdmap2.bdmap 50 50 {{{ 51 51