You are here
Ronan0 - Tue, 2015/07/21 - 15:56
I would like to test TKLBAM with some (embedded) H2 database applications.
Are there any examples of writing TKLBAM hooks for encoding/decoding unsupported databases?
How does TKLBAM work in this regard?
Normally, without TKLBAM, you backup a H2 database by creating a compressed SQL script file. Creating the script will also verify the checksums of the database file. The Script tool is ran as follows:
java org.h2.tools.Script -url jdbc:h2:~/test -user sa -script test.zip -options compression zip
And to restore a database from a SQL script file:
java org.h2.tools.RunScript -url jdbc:h2:~/test -user sa -script test.zip -options compression zip
Any help appreciated, thanks.
Forum:
Tags:
Shouldn't be too hard...
Add new comment