no more need DB

This commit is contained in:
MaelREBOUX 2021-04-21 22:42:36 +02:00
parent 97d405b304
commit a81be7d3e9
2 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@ echo ""
# 1. export du tracé phase 1 depuis la base redadeg
pg_dump --dbname=postgresql://$DB_USER:$DB_PASSWD@$HOST_DB_redadeg/$DB_REDADEG \
--format=p --no-owner --section=pre-data --section=data --no-privileges --no-tablespaces --no-unlogged-table-data --no-comments \
--table phase_1_trace $DB_REDADEG \
--table phase_1_trace \
--file $rep_data/redadeg_trace.sql
@ -120,7 +120,7 @@ echo ""
pg_dump --dbname=postgresql://$DB_USER:$DB_PASSWD@$HOST_DB_osm/$DB_OSM \
--format=p --no-owner --section=pre-data --section=data --no-privileges --no-tablespaces --no-unlogged-table-data --no-comments \
--table osm_roads_$millesime $DB_OSM \
--table osm_roads_$millesime \
--file $rep_data/osm_roads.sql
# 5. import dans la base redadeg

View file

@ -29,7 +29,7 @@ echo ""
# 1. export du tracé phase 1 depuis la base redadeg
pg_dump --dbname=postgresql://$DB_USER:$DB_PASSWD@$HOST_DB_redadeg/$DB_NAME \
--format=p --no-owner --section=pre-data --section=data --no-privileges --no-tablespaces --no-unlogged-table-data --no-comments \
--table phase_1_trace $DB_REDADEG \
--table phase_1_trace \
--file $rep_data/redadeg_trace.sql
@ -117,7 +117,7 @@ echo ""
pg_dump --dbname=postgresql://$osmDBUser:$osmDBPassword@$osmDBHost/$osmDBName \
--format=p --no-owner --section=pre-data --section=data --no-privileges --no-tablespaces --no-unlogged-table-data --no-comments \
--table osm_roads_$millesime $DB_OSM \
--table osm_roads_$millesime \
--file $rep_data/osm_roads.sql