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?
2 Answers
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.
- 1,757
- 8
- 9
copy folder "data" in geoserver to on another computer and replace it to .war and geoserver folder
dump database old to new computer
restart tomcat
/etc/init.d/tomcat7 restartchange owner "data" on geoserver to tomcat user
-cd to /var/lib/tomcat7/webapps/geoserversudo chown -R tomcat7 datasudo chown -R :tomcat7 datareload store on geoserver
- 41,311
- 35
- 139
- 263
- 31
- 2