mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 05:09:58 -05:00
Converting map blob to use "custom" postgres dump format so restore can use multiple threads. Renaming map db blob from gis-map.dump.gz to map-db-gis.dump.
This commit is contained in:
parent
3285887a1b
commit
8e4d173791
15 changed files with 37 additions and 24 deletions
|
|
@ -35,8 +35,8 @@ git config --global --add safe.directory /opt/openstreetmap-carto
|
|||
chown -R _renderd:_renderd /opt/openstreetmap-carto
|
||||
|
||||
# Get map initialization dump.
|
||||
if [[ ! -f /opt/wrolpi-blobs/gis-map.dump.gz || ! -s /opt/wrolpi-blobs/gis-map.dump.gz ]]; then
|
||||
wget https://wrolpi.nyc3.cdn.digitaloceanspaces.com/gis-map.dump.gz -O /opt/wrolpi-blobs/gis-map.dump.gz
|
||||
if [[ ! -f /opt/wrolpi-blobs/map-db-gis.dump || ! -s /opt/wrolpi-blobs/map-db-gis.dump ]]; then
|
||||
wget https://wrolpi.nyc3.cdn.digitaloceanspaces.com/map-db-gis.dump -O /opt/wrolpi-blobs/map-db-gis.dump
|
||||
fi
|
||||
|
||||
# Install WROLPi Help.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue