Skip to content

Instantly share code, notes, and snippets.

@divukman
Forked from goyalmohit/export-data-using-liquibase
Created September 21, 2022 13:13
Show Gist options
  • Save divukman/6ac990ba772bf9520aae42c885524259 to your computer and use it in GitHub Desktop.
Save divukman/6ac990ba772bf9520aae42c885524259 to your computer and use it in GitHub Desktop.
Export data from existing database using Liquibase
liquibase
--driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
--classpath="C:\\Program Files\\Microsoft JDBC Driver 6.0 for SQL Server\\sqljdbc_6.0\\enu\\jre8"
--url="jdbc:sqlserver://localhost:1433;databaseName=AdventureWorks2017;integratedSecurity=false;"
--changeLogFile="D:\Source\generateChangeLog--PersonSchema.xml"
--username=liquibase
--password=liquibase@123
--logLevel=info
--defaultSchemaName=dbo
--diffTypes=data
generateChangeLog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment