【问题标题】:getting error while restoring backup file in raven DB在 raven DB 中恢复备份文件时出错
【发布时间】:2014-09-02 14:31:26
【问题描述】:

我正在尝试使用以下命令提示符在本地恢复备份文件:

Raven.Server.exe -src E:\OTUmbraco\OTWDatabases\UAT_RavenDB  -dest E:\OTUmbraco\OTWDatabases\DB\RavenDB  -restore

我收到如下错误:

Esent Restore: Failure! Could not restore database!
Microsoft.Isam.Esent.Interop.EsentBadLogVersionException: Version of log file is not compatible with Jet version
   at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err)
   at Microsoft.Isam.Esent.Interop.Api.JetRestoreInstance(JET_INSTANCE instance, String source, String destination, JET_PFNSTATUS statusCallback)
   at Raven.Storage.Esent.Backup.RestoreOperation.Execute()
Microsoft.Isam.Esent.Interop.EsentBadLogVersionException: Version of log file is not compatible with Jet version
   at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err)
   at Microsoft.Isam.Esent.Interop.Api.JetRestoreInstance(JET_INSTANCE instance, String source, String destination, JET_PFNSTATUS statusCallback)
   at Raven.Storage.Esent.Backup.RestoreOperation.Execute()
   at Raven.Storage.Esent.TransactionalStorage.Restore(String backupLocation, String databaseLocation, Action`1 output, Boolean defrag)
   at Raven.Database.DocumentDatabase.Restore(RavenConfiguration configuration, String backupLocation, String databaseLocation, Action`1 output, Boolean defrag)

   at Raven.Server.Program.RunRestoreOperation(String backupLocation, String databaseLocation, Boolean defrag)

谁能帮我解决这个错误。

提前致谢。

【问题讨论】:

  • 您是否尝试在比源版本旧的 Windows 上恢复它?例如,服务器是 Windows 2012,您尝试在 Windows Vista 上恢复?
  • 是的。我们的客户端正在 Windows 服务器上运行它,我正在尝试在 Windows 7 上恢复它

标签: ravendb ravendb-studio ravendb-http


【解决方案1】:

将 RavenDB 与 Esent 一起使用时,您无法返回 Windows 版本。

【讨论】:

  • 我在尝试将数据从我的开发环境 (Windows 10 Pro) 迁移到生产环境 (Windows Server 2012 R2) 时遇到此问题。这是受支持的迁移路径吗?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-11-09
  • 1970-01-01
  • 2018-02-26
  • 2020-09-25
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多