How to export and restore HSQLDB

user1036817 picture user1036817 · Nov 9, 2011 · Viewed 16.1k times · Source

Does anyone know how to export HSQLDB to .sql file or something on a computer and restore on other computer.

Answer

Nkembe Gwankgo picture Nkembe Gwankgo · Sep 3, 2012

To get a dump of the hsqldb file using either the embedded or file/server mode.

In an sql tools dialog use:

SCRIPT 'c:\path\to\db\db_sql.sql';

This will not work with spaces in the path

Please see the hsqldb docs