We have a large number of layers that are set up from a PostGIS data store. To avoid future connections issues we're looking to move them to a PostGIS JNDI store (all same workspace and DB connection details).
I've done a trial on our test instance by simply: * Creating new JNDI store * Manually move the layer directory to the new store directory * Update the layer's featuretype.xml with the new store's dataStore id * Reload the configuration and catalog This appears to have worked ok and would be fairly easy to replicate across all the layers with some bulk find/replace; but is anyone aware of any issues this might cause? Is there anything that this method might miss (affected layer groups maybe)? Is there a better way to do this? I'm guess this might be possible using the REST API (but I've not had any experience using this)? Many thanks. Rob -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Migrate-layers-to-JNDI-store-tp5327008.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
