Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

This question already has an answer here:

I have a geoserver installed on a server and I want to move the geoserver to another server. What is the easiest way to do that?

share|improve this question

marked as duplicate by artwork21, whuber Oct 24 '13 at 15:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

up vote 6 down vote accepted

Basically all the configuration lives in the geoserver data directory, so that is essentially all you need to migrate.

http://docs.geoserver.org/latest/en/user/datadirectory/index.html

You can then install geoserver on the new server however you want and point it at the data directory you migrated from the old server. Also if you have any data that is "external" (ie not inside of your data directory) you will need to migrate that to the new server as well.

share|improve this answer
  1. copy folder "data" in geoserver to on another computer and replace it to .war and geoserver folder

  2. dump database old to new computer

  3. restart tomcat /etc/init.d/tomcat7 restart

  4. change owner "data" on geoserver to tomcat user

    -cd to /var/lib/tomcat7/webapps/geoserver

    sudo chown -R tomcat7 data

    sudo chown -R :tomcat7 data

  5. reload store on geoserver

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.