Changes between Version 3 and Version 4 of Download and load BDMAP


Ignore:
Timestamp:
Sep 1, 2010 11:58:26 AM (15 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Download and load BDMAP

    v3 v4  
    66= Download and load the data BDMAP from sauv_BDMAP_31072010.backup= 
    77 
    8 I have created a new database : BDMAP2010[[BR]] 
     8I have created a new database : BDMAP2[[BR]] 
    99There are columns : [[BR]] 
    1010 
    1111In cmd console :[[BR]] 
    1212{{{ 
    13 C:\"Program Files"\PostgreSQL\8.4\bin\psql -p 5432 -U postgres -c "CREATE DATABASE bdmap2010  WITH OWNER = postgres  template=postgis ENCODING = 'UTF8'  LC_COLLATE = 'French_France.1252'  LC_CTYPE = 'French_France.1252' CONNECTION LIMIT = -1;" 
     13C:\"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;" 
    1414cd C:\Program Files\PostgreSQL\8.4\bin\ 
    15 pg_restore.exe --host localhost --port 5432 --username postgres --dbname "bdmap2010" --verbose "D:\CelineJouanin\BDMAP\sauv_BDMAP_31072010.backup" 
     15pg_restore.exe --host localhost --port 5432 --username postgres --dbname "bdmap2" --verbose "D:\CelineJouanin\BDMAP\sauv_BDMAP_31072010.backup" 
    1616}}} 
    1717 
    18 New tables can be find in BDMAP2010 :[[BR]] 
     18New tables can be find in BDMAP2 :[[BR]] 
    1919   * mensurationindiv 
    2020   * ssecteur_hydro 
     
    2626{{{ 
    2727      --- In sql editor  
    28       CREATE SCHEMA bdmap2010.bdmap; 
     28      CREATE SCHEMA bdmap2.bdmap; 
    2929      ALTER TABLE classe_taille_taxon SET SCHEMA bdmap; 
    3030      ALTER TABLE entitehydro SET SCHEMA bdmap; 
     
    4747}}} 
    4848 
    49 Autre manière d'intégrer les données depuis le backup dans bdmap2010.bdmap 
     49Autre manière d'intégrer les données depuis le backup dans bdmap2.bdmap 
    5050{{{ 
    5151