Changes between Version 16 and Version 17 of Recette PostgreSQL pgDump
- Timestamp:
- Mar 22, 2010 2:36:05 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Recette PostgreSQL pgDump
v16 v17 14 14 {{{ 15 15 CD C:/base 16 C:\"Program Files"\PostgreSQL\8.4\bin\p g_restore-U postgres -f BD_CONTMIG_NAT22_03_2010.dump16 C:\"Program Files"\PostgreSQL\8.4\bin\psql -d -U postgres -f BD_CONTMIG_NAT22_03_2010.dump 17 17 }}} 18 18 == 2.1 Sauvegarde d'un schéma == … … 35 35 36 36 == 4 Autres formats pour mémoire (Cédric) == 37 restauration serveur IAV 37 sauvegarde poste Cédric sans compression ni create 38 {{{ 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.dump 41 }}} 42 43 restauration serveur localhost 38 44 {{{ 39 45 cd 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 46 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.dump 46 48 }}} 47 49