Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Re : Does liquibase support data migration from one database to another

$
0
0
Sure, will have a look on HANA . But when i run this command in our project
mvn liquibase:generateChangeLog -Dliquibase.diffTypes=data , it is generating a sql file which contains all the insert statements for the data available in DB. I am specifying the target DB type in the file name of my output file in my liquibase.properties file.

I am using the same sql file to run the insert statements on the targeted DB using liquibase after all scripts for schema creation are done.

Let me know if i am doing anything wrong.

I came across this solution from stackoverflow for the same question which i had posted there on data migration.

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>