• Task
  • Version · 5.0
  • User guide

Manually create a snapshot and run checks

Last updated: August 11, 2026

Before you begin

Procedure

1

Create a snapshot.

Replace mySnapshot.json and =json with the desired snapshot file title and format.
liquibase --output-file=*mySnapshot*.json snapshot --snapshotFormat=json
2

Add the offline snapshot URL to the liquibase.properties file:

Replace DB_SHORTNAME with the database type being used (SQL, XML, YAML, or JSON). Also replace mySnapshot.json with the desired snapshot file title and format.
liquibase.command.url: offline:DB_SHORTNAME?snapshot=mySnapshot.json
3

Run the checks run command.

liquibase checks run --checks-scope=database --url="offline:oracle?snapshot=mySnapshot.json"

--checks-scope with offline snapshot URL output