Changes between Version 12 and Version 13 of Recette PostgreSQL pgDump
- Timestamp:
- Mar 22, 2010 2:09:21 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Recette PostgreSQL pgDump
v12 v13 6 6 * La base est BD_CONTMIG_NAT 7 7 * le fichier créé est BD_CONTMIG_NAT22_03_2010.dump 8 8 * -C inclue un script create database 9 9 {{{ 10 CD C: /base11 C:\"Program Files"\PostgreSQL\8.4\bin\pg_dump -U postgres -Z - c BD_CONTMIG_NAT > BD_CONTMIG_NAT22_03_2010.dump10 CD C:\base 11 C:\"Program Files"\PostgreSQL\8.4\bin\pg_dump -U postgres -Z -C -c BD_CONTMIG_NAT > BD_CONTMIG_NAT22_03_2010.dump 12 12 }}} 13 13 == 1.2 Restauration et création de la base == 14 14 {{{ 15 15 CD C:/base 16 C:\"Program Files"\PostgreSQL\8.4\bin\pg_restore -U postgres - C -f BD_CONTMIG_NAT22_03_2010.dump16 C:\"Program Files"\PostgreSQL\8.4\bin\pg_restore -U postgres -f BD_CONTMIG_NAT22_03_2010.dump 17 17 }}} 18 18 == 2.1 Sauvegarde d'un schéma ==