Liquibase to revert back to a previous state


I am quite a newbie on Liquibase and despite my research I didn’t find any relevant information regarding this subject:

I am going to do a load testing on my web app.

This load test will write a lot of data in my database, and at the end of the test, I want my database looks like it was before the test.

How can I do that by command line?

Thank you.

Liquibase doesn’t really deal with the data - so if you want to do something like this you would need to do something like use the database’s native backup/restore commands, or else use something like the liquibase dropAll command, followed by a liquibase update to re-populate the schema. 

Steve Donie
Principal Software Engineer
Datical, Inc.