I've been running into some trouble while attempting to open the
zipped h2 db in read-only mode.
Initially I attempted to do so through the web interface that H2
provides, I received this error:

IO Exception: "zip:backup.zip!/TestDB outside /home/user/h2/
DB" [90028-160] 90028/90028

My H2 base dir is set to /home/user/h2/DB, as the exception mentions.
My zipped back-up copy of the database is currently in this
directory.  This leads me to think that my syntax was incorrect, and
I've tried a couple of different items for the JDBC URL (none have
worked).

jdbc:h2:zip:backup.zip!/TestDB (Generic H2 Embedded)
jdbc:h2:tcp://127.0.0.1:9092/zip:backup.zip!/TestDB(Generic H2 Server)

I've tried a couple of other variations, all landing me at the same IO
exception stating what I've posted for the above Exception.

What the heck am I missing?

-- 
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