After searching for a while, I found the ";RECOVER=1" option we can specify at the end of the URL.
It went all fine then. It is surprising that this recovery method worked and not the recover command line tool, but I'm fine with it now :) Thanks & Regards, Jonathan. On 10 mei, 02:06, jonas <[email protected]> wrote: > Dear, > > While restarting my database yesterday, I got a > "org.h2.jdbc.JdbcSQLException: General error: java.lang.Error: File ID > mismatch got=959657527 expected=23 pos=334846 true > org.h2.store.DiskFile:/Users/jofallon81/dbServer_10_05_11/test.data.db > blockCount:892677428;" in the logs, and I can't get the data. > > I tried to recover the DB (extract the content into SQL), but get a > "Error: java.lang.Error: read len -128". > > I'm using h2 1.0.68. I tried upgrading to the latest version but got > an error saying that data files are not compatible, that I should > export and then reimport... (but the export fails) > > Please help, this is important data. > > Regards, > > Jonathan. -- 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.
