h2 database version 1.4.200 is corrupted with error code: 90030

99 views
Skip to first unread message

prachi sugdare

unread,
Aug 22, 2024, 9:52:31 AMAug 22
to H2 Database
Hello Team,

I have one .mv.db file which is corrupted. I am using following command to recover the file, however it is showing error message.

java -cp h2-1.4.200.jar org.h2.tools.Recover -dir "C:/corrupted" -db "asms_corrupted" -out "C:/recover/asms2_local_DB.mv"

Please suggest what can be done to recover the same file.

Thanks & Regards,
Prachi More.

Alex Tsvetkov

unread,
Aug 24, 2024, 5:34:36 AMAug 24
to H2 Database
Hi.

What error message do you get exactly?

Easiest way to troubleshoot this will be to use debugger, but it only works if you familiar with the tool.

четверг, 22 августа 2024 г. в 16:52:31 UTC+3, prachi sugdare:

prachi sugdare

unread,
Aug 26, 2024, 3:55:08 AMAug 26
to H2 Database
Hello Alex,

I am getting error code: 90030. 
Please find attached code which I have tried in java using org.h2.tools.Recover. Please find attached code snippet and error message on console. However, our database in not encrypted.

Please suggest what can be done. 
Error Message.PNG
H2DatabaseExample.java

Alex Tsvetkov

unread,
Aug 31, 2024, 2:49:12 AMAug 31
to h2-da...@googlegroups.com
Did you try not to use not supported "-out" argument?

пн, 26 авг. 2024 г. в 10:55, prachi sugdare <prachis...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2-database...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/cf7d2074-804f-471f-b9e3-98588f6421dfn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages