Skip to content

Import on a different machine to my docker container #306

Answered by davidcreager
davidcreager asked this question in Q&A
Discussion options

You must be logged in to vote

Ok...So I finally achieved what I wanted. In case it helps anyone else. (I am sure this is not optimum but hey ho it worked at least for me)
My Objective was to create Nominatim on a non-docker pc and then move the database to a docker container running on a separate pc.
(I did not want my docker PC to undertake the load of the first import).

Created the docker container using the smallest (Andorra) map (2mb). This took a minute or so. I set the container with the persistence config as per standard instructions.
Ran the install and import (of Great Britain) on my separate non-docker pc (took about 6 hours).
Copied /var/lib/postgresql/12/main from the non-docker pc to a location that I cou…

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@davidcreager
Comment options

Comment options

You must be logged in to vote
1 reply
@davidcreager
Comment options

Comment options

You must be logged in to vote
2 replies
@shinhanshiu
Comment options

@davidcreager
Comment options

Answer selected by davidcreager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants