GeoServer Migration – Updating Test GeoServer to Production for Seamless Transition and Improved Performance

boundless-suitegeoservermigration

I have GeoServer (v2.2 from OpenGeo Suite) running on a test server hosting many different WMS services sourcing many different PostGIS db tables. I want to push this setup onto a production server now but I'm not sure what the best method would be for migrating this info without recreating all the Workspaces, Stores, and WMS layers again.

Both servers are the same:

Windows Server 2008 R2 Standard

My thoughts so far are:

  1. Stop GeoServer on test
  2. Make backup of all dbs in PGAdmin on test
  3. Restore backup(s) to production db
  4. Copy data directory from test and paste it to same location on production
  5. Start GeoServer on production

Thoughts?

Best Answer

My initial thoughts in my question worked:

  1. Stop GeoServer on test
  2. Make backup of all dbs in PGAdmin on test
  3. Restore backup(s) to production db
  4. Copy data directory from test and paste it to same location on production
  5. Start GeoServer on production
Related Question