-
Task
-
Resolution: Done
-
Minor
-
Pipeline Maven Integration 3.8.1
PipelineMavenPluginH2Dao - H2 1.4.199
Hi,
We have been using the Pipeline Maven Integration plugin with the default H2 database for a while now and we are considering to switch to MySQL or PostgreSQL (as recommended).
I've read the plugin wiki that describes how to configure it to use either MySQL or PostgreSQL but I could not find more information regarding how to actually migrate from H2.
Does the data from the H2 database need to be migrated to the new database or can it be discarded? Would this affect the users in any way?
Are there any other things to consider before switching to a new DB or can it be done "on the fly"? Any possible issues that might come up while/after the switch?
Thanks and Best regards,
Sebastian
I've switched from H2 to PostgreSQL. Maybe it will be useful for someone so, mentioning this here.
Copied the data from H2 to PostgreSQL by exporting it as CSV using the H2 CSVWRITE command and then importing it using the COPY .., FROM PostgreSQL commands.
I've had to disable all triggers before doing this due to the constraints and re-enabling them after the data was imported.