geoserver / geoserver-cloud

Cloud Native GeoServer is GeoServer ready to use in the cloud through dockerized microservices.
http://geoserver.org/geoserver-cloud
Other
244 stars 73 forks source link

jdbcconfig: configuration to import existing datadir #482

Open 1ly1mk opened 2 months ago

1ly1mk commented 2 months ago

hello,

I am trying to setup jdbcconfig with geoserver cloud which is successful but I also need to import existing datadir. I do not see any option in geoserver-cloud to configure this. Same functionality is available in vanilla geoserver. https://docs.geoserver.org/stable/en/user/community/jdbcconfig/configuration.html

Any help here would be great. Thanks

@danduk82 @jemacchi

vshautsova commented 2 months ago

Hello @groldan,

We are trying to understand if there is a way to import existing configuration from datadir into a new jdbc configuration. We found out that it doesn't seem be supported (no 'import' property) based on the class below: https://github.com/geoserver/geoserver-cloud/blob/v1.8.3/src/catalog/backends/jdbcconfig/src/main/java/org/geoserver/cloud/config/catalog/backend/jdbcconfig/JdbcConfigConfigurationProperties.java

Can you pls confirm if it is so? Otherwise, please provide examples how we can do an import.