upgrade instructions

upgrade instructions added
osm planet instructions added
rapid importation instructions added
This commit is contained in:
Olivier DEBAUCHE 2021-06-13 18:24:18 +02:00 committed by GitHub
parent a5743c9149
commit ce683a0511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,7 +253,9 @@ docker run \
run run
``` ```
### Upgrading ### Upgrade from a previous version
The update assumes that you have previously installed version 1.7.0 or earlier on your server. You must stop the docker container and perform the two update steps which consists of upgrading the database from postgresql 12 to postgresql 13 using the upgrade.sh script and then upgrading the software stack using the command line given below.
``` ```
sh upgrade.sh sh upgrade.sh
@ -262,7 +264,15 @@ docker run \
-v openstreetmap-data:/var/lib/postgresql/13/main \ -v openstreetmap-data:/var/lib/postgresql/13/main \
overv/openstreetmap-tile-server \ overv/openstreetmap-tile-server \
upgrade upgrade
```
The use of upgrade.sh script on the entire planet requires a storage space of 4Tb to store the database dump during the migration and very long if you use the upgrade script. We advise you in case of carrying out a fast import from a complete dump of the database.
```
docker run \
-v openstreetmap-data:/var/lib/postgresql/13/main \
overv/openstreetmap-tile-server \
planet
``` ```
### Benchmarks ### Benchmarks