Skip to content

Rewrite H2 to PostgreSQL migration cli tool #553

Description

@axl8713

The cli tool to migrate from H2 to PostgreSQL need to be rewritten to work in the latest GeoStore version.

Two main issues:

  • H2 driver upgrade (needed for security reasons) contains API breaking changes.
  • Outdated DB schema.

A more robust and future-proof approach could entail redesigning the tool as a JDBC-based ETL process, directly reading data from H2 and writing it to PostgreSQL. This would eliminate the need for SQL parsing and regex-based transformations, improving correctness, maintainability, and compatibility with future database versions.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions