SchemaCrawler - Offline Snapshot Example
SchemaCrawler allows you to save off your database metadata into an offline snapshot, for future use. Later, you can connect to this offline snapshot as you would to a regular database.
How to Setup
- Make sure that java is on your PATH
How to Run
- Follow the instructions in the commandline example.
- To create an offline snapshot, run
schemacrawler.cmd --server=hsqldb --database=schemacrawler --user=sa --password= --info-level=maximum --command=serialize --output-format=java -o=offline.db
(useschemacrawler.sh
instead ofschemacrawler.cmd
on Unix) - To use the offline snapshot, run
schemacrawler.cmd --server=offline --database=offline.db --info-level=standard --command=schema
(useschemacrawler.sh
instead ofschemacrawler.cmd
on Unix)
How to Experiment
- Try other SchemaCrawler commands with the offline snapshot.