Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to export or import data from DB Schema using Flyway

Can some one please explain how to configure flyway to export or import DB Schema through Jenkins. Currently I have FlyWay Community edition configured in my jenkins.

like image 943
Venkata Siva Kumar Avatar asked Dec 08 '25 10:12

Venkata Siva Kumar


1 Answers

You have to use DB specific tools, for example in Oracle - DBMS_DATAPUMP (but never tried export/import this way), or in Postgresql pg_dump, pg_restore, according to How to use flyway to migrate data from one DB to another DB?

You can try a Java migration for this.

like image 178
Jakub P Avatar answered Dec 10 '25 01:12

Jakub P



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!