| 14 | === Sauvegarde du schema ccm21 === |
| 15 | {{{#!sh |
| 16 | pg_dump -U postgres -h 1.100.1.6 -W -s --schema ccm21 -f "ccm21.catchments_str.sql" eda2 |
| 17 | }}} |
| 18 | |
| 19 | virer la référence à public.geometry |
| 20 | vérifier les fonctions de base OK |
| 21 | |
| 22 | === catchments === |
| 23 | |
| 24 | {{{#!sh |
| 25 | pg_dump -U postgres -h 1.100.1.6 -a -W --verbose -f "ccm21.catchments.sql" --table ccm21.catchments eda2 |
| 26 | psql -U postgres -h localhost -f "ccm21.catchments.sql" eda2 |
| 27 | }}} |
| 28 | |
| 29 | === riversegments === |
| 30 | |
| 31 | {{{#!sh |
| 32 | pg_dump -U postgres -h 1.100.1.6 -a -W --verbose -f "ccm21.riversegments.sql" --table ccm21.riversegments eda2 |
| 33 | psql -U postgres -h localhost -f "ccm21.riversegments.sql" eda2 |
| 34 | }}} |
| 35 | |
| 36 | |