I have running geoserver 2.12.2 on centos in a bdr-cluster and we want to
export the catalog and datastore from postgres to the standard configuration
with the xml files,

found a conversation in this mailing 

http://osgeo-org.1560.x6.nabble.com/JDBCConfig-export-Catalog-to-XML-Catalog-in-GEOSERVER-DAT-DIR-td5341888.html


There we Download java code 


JdbcExport.java (4K) Download Attachment
-http://osgeo-org.1560.x6.nabble.com/attachment/5342711/0/JdbcExport.java


- compiled the java code to a jar file and put this into web-inf/lib dir
- restart the geoserver
- open geoserver as an admin
- run de url http://<servername>/geosever/jdbcexport from the browser

after a while I get the 404 error in the browser, 

but in the log file I see that is exporting

[geoserver.config] - Persisted com.sun.proxy.$Proxy195 to
workspaces/MyWorkspace/namespace.xml
[geoserver.config] - Persisting workspace MyWorkspace
[geoserver.config] - Persisted com.sun.proxy.$Proxy197 to
workspaces/MyWorkspace/workspace.xml
[geoserver.config] - Persisting wms store MyWorkspace
[geoserver.config] - Persisted com.sun.proxy.$Proxy215 to
workspaces/MyWorkspace/Mydatastore/wmsstore.xml
 see INFO [org.geoserver] - Plugin 'jdbcexport' executed successfully!

then we found in the /tmp all the xml files with the name out.xxxxxxxxx

but this is not structured in the workspaces as we expected. 

Can sombody help why the files are not tranfered to the normal structuture  

thanks

Gr. Jan



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
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

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to