Changes between Version 16 and Version 17 of Recette PostgreSQL pgDump


Ignore:
Timestamp:
Mar 22, 2010 2:36:05 PM (15 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Recette PostgreSQL pgDump

    v16 v17  
    1414{{{ 
    1515CD C:/base 
    16 C:\"Program Files"\PostgreSQL\8.4\bin\pg_restore -U postgres -f BD_CONTMIG_NAT22_03_2010.dump 
     16C:\"Program Files"\PostgreSQL\8.4\bin\psql -d -U postgres -f BD_CONTMIG_NAT22_03_2010.dump 
    1717}}} 
    1818== 2.1 Sauvegarde d'un schéma == 
     
    3535 
    3636== 4 Autres formats pour mémoire (Cédric) ==  
    37 restauration serveur IAV 
     37sauvegarde poste Cédric sans compression ni create 
     38{{{ 
     39CD C:\base 
     40C:\"Program Files"\PostgreSQL\8.4\bin\pg_dump  -h localhost -p 5433 -U postgres  -c BD_CONTMIG_NAT > BD_CONTMIG_NAT22_03_2010.dump 
     41}}} 
     42 
     43restauration serveur localhost 
    3844{{{ 
    3945cd c:\base 
    40 C:\"Program Files"\PostgreSQL\8.4\bin\pg_restore -h 192.168.1.104 -p 5433 -U postgres -C -f BD_CONTMIG_NAT22_03_2010.dump 
    41 }}} 
    42 sauvegarde poste Cédric 
    43 {{{ 
    44 CD C:\base 
    45 C:\"Program Files"\PostgreSQL\8.4\bin\pg_dump  -h localhost -p 5433 -U postgres  -Z -C -c BD_CONTMIG_NAT > BD_CONTMIG_NAT22_03_2010.dump 
     46C:\"Program Files"\PostgreSQL\8.4\bin\psql -h localhost -p 5432 -U postgres -c "CREATE DATABASE bd_contmig_nat ENCODING 'WIN1252' TEMPLATE template0" 
     47C:\"Program Files"\PostgreSQL\8.4\bin\psql -h 192.168.1.104 -p 5432 -U postgres -d bd_contmig_nat -f BD_CONTMIG_NAT22_03_2010.dump 
    4648}}} 
    4749