Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utility to migrate GeoStore DB from H2 to PostgreSQL #223

Closed
4 tasks done
tdipisa opened this issue Apr 28, 2021 · 0 comments
Closed
4 tasks done

Utility to migrate GeoStore DB from H2 to PostgreSQL #223

tdipisa opened this issue Apr 28, 2021 · 0 comments

Comments

@tdipisa
Copy link
Member

tdipisa commented Apr 28, 2021

Description

A utility is required to allow to migrate existing GeoStore H2 DBs to PostgreSQL. The utility to be developed will export H2 DB as a SQL script to run it on the target PostgreSQL DB.

Acceptance criteria

  • The utility will be developed in Java as part of the GeoStore utilities to be maintained across different releases of the backend application
  • It will be possible to build that utility as a JAR individually and it will be also possible to include that in the GeoStore build with a dedicated mvn profile
  • It will be possible to use that new utility from command line by specifying all mandatory parameters, such as:
    • Connection parameters of the source DB (H2) to be migrated
    • System path where the final SQL script will be available
  • A proper documentation to explain on how to use that utility and the output SQL script will be available as part of the MS online documentation: the related doc section will be updated to describe the utility and its parameters with an example

Other useful information

This issue comes from https://github.com/geosolutions-it/support/issues/1323, where a sample of H2 DB to migrate is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants