Being an h2 and java newbie, 
trying to recover a database, 
using Mac OS 10.6.8, 
I downloaded the stable zip file, 
unzipped it, and moved to that folder:

$ cd /Users/Shared/h2/bin/

$ java -jar h2*.jar org.h2.tools.Recover -dir /Libary/Application Support/xyz
Starts the H2 Console (web-) server, as well as the TCP and PG server.
Usage: java org.h2.tools.Console <options>
When running without options, -tcp, -web, -browser and -pg are started.
Options are case sensitive. Supported options are:
<snip>
Exception in thread "main" java.sql.SQLException: Unsupported option: 
org.h2.tools.Recover
        at org.h2.util.Tool.throwUnsupportedOption(Tool.java:54)
        at org.h2.tools.Console.runTool(Console.java:204)
        at org.h2.tools.Console.main(Console.java:100)

What am I doing wrong?
My intention is to start a database recovery in a specified folder.

----
$ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to