RestoreRestores a H2 database by extracting the database files from a .zip file.
static void execute(String zipFileName, String directory, String db, boolean quiet) throws SQLExceptionRestores database files.Parameters:
zipFileName - the name of the backup file
directory - the directory name
db - the database name (null for all databases)
quiet - don't print progress information
Throws:
SQLException
static void main(String[] args) throws SQLExceptionThe command line interface for this tool. The options must be split into strings like this: "-db", "test",... Options are case sensitive. The following options are supported:
Parameters:
args - the command line arguments
Throws:
SQLException
void run(String[] args) throws SQLException |