从损坏的 h2 数据库文件中恢复所有可能的信息

发布于 2024-10-04 09:33:15 字数 160 浏览 1 评论 0原文

我有一个看似损坏的 h2 数据库。我可以使用 org.h2.tools.Recover 获取包含大部分信息的 .sql 文件,但是缺少几个表。

这些表的内容仍然在原始的、损坏的数据库中;并且在恢复的 .sql 文件中还有可用的事务日志(尽管已注释掉)。有没有机会/工具可以取回遗漏表的内容?

I have a seemingly corrupt h2 database. I can use org.h2.tools.Recover to get a .sql file with most of the information, however, a couple of tables are missing.

The contents of these tables is still in the original, corrupt database; and in the restored .sql file there is also the transaction log (although commented out) available. Is there any chance/tool to get back the contents of the left out tables?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

北笙凉宸 2024-10-11 09:33:15

我还没有得到客户 100% 的确认。但该问题仅出现在 h2 db 驱动程序 1.2.121 版本中。较新的版本 1.2.147 可以解决该问题,并且似乎已经修复了该问题。 (它实际上以一种在旧数据库版本中仍然有效的方式修复了它。)

I still don’t have 100% confirmation from my clients. But the problem only occurred in version 1.2.121 of the h2 db driver. A newer version, 1.2.147, could handle the problem and seemed to have fixed it. (It actually fixed it in a way that it still works in the older db version.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文