NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi guys and thank you in advance

I have a virtual machine with nominatim and Italian map (about 1gb I don't remember). Now I would like to provide this service to another machine (with no big requirements..) and to avoid the indexing process, I was thinking of install nominatim on their machine and move (copy) the postgres data folder to their postgres Installation. Do you think can it work??

Thanks a lot

Confirmed!!

Sorry if I edit my post so late but I have tried this procedure and it worked perfectly with montecarlo map.

I dump my postgres db (db where I indexed the map) with this command:

 pg_dump nominatim > <folder>/dump.sql

Now put this file in the clean machine where you want replicate the service - follow the wiki.guide untill nominatim installation then create nominatim database with command:

CREATE DATABASE nominatim OWNER <user>

Instead of web user create directly apache user (on centos 6.6) with command:

 createuser -SDR apache

execute the db restore with command:

 psql -d nominatim -f dump.sql

resume the wiki.guide at paragraph "Install service on http" and "iptable configuration"

And thats it!! Maybe could help someone Bye

asked 11 Dec '15, 14:44

developer_afbnet's gravatar image

developer_af...
26335
accept rate: 0%

edited 13 Jan '16, 16:01

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689

question asked: 11 Dec '15, 14:44

question was seen: 3,626 times

last updated: 13 Jan '16, 16:01

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum