Changes between Version 17 and Version 18 of Recette PostgreSQL pgDump
- Timestamp:
- Mar 22, 2010 3:41:22 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Recette PostgreSQL pgDump
v17 v18 34 34 35 35 36 == 4 Autres formats pour mémoire (Cédric)==36 == 4 Autres formats == 37 37 sauvegarde poste Cédric sans compression ni create 38 38 {{{ 39 39 CD C:\base 40 C:\"Program Files"\PostgreSQL\8.4\bin\pg_dump -h localhost -p 5433 -U postgres -c BD_CONTMIG_NAT > BD_CONTMIG_NAT22_03_2010.dump40 C:\"Program Files"\PostgreSQL\8.4\bin\pg_dump -h localhost -p 5433 -U postgres --create BD_CONTMIG_NAT > BD_CONTMIG_NAT22_03_2010.sql 41 41 }}} 42 42 43 restauration serveur localhost44 {{{45 cd c:\base46 C:\"Program Files"\PostgreSQL\8.4\bin\psql -h localhost -p 5432 -U postgres -c "CREATE DATABASE bd_contmig_nat ENCODING 'WIN1252' TEMPLATE template0"47 C:\"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.dump48 }}}49 43 44