Backup

Creates a backup of a database.

Methods
static void execute(String zipFileName, String directory, String db, boolean quiet)
Backs up database files.
static void execute(String zipFileName, String directory, String db, boolean quiet) throws SQLException
Backs up database files.
Parameters:
zipFileName - the name of the target backup file (including path)
directory - the source directory name
db - the source database name (null if there is only one database)
quiet - don't print progress information
Throws:
SQLException
static void main(String... args)
Options are case sensitive.
static void main(String... args) throws SQLException
Options are case sensitive. Supported options are:
[-help] or [-?] Print the list of options
[-file <filename>] The target file name (default: backup.zip)
[-dir <dir>] The source directory (default: .)
[-db <database>] Source database; not required if there is only one
[-quiet] Do not print progress information
Parameters:
args - the command line arguments
void run(String... args)
void run(String... args) throws SQLException