我正在尝试使用命令提示符在本地恢复备份文件,如下所示:
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)
任何人都可以帮我解决这个错误。
提前致谢。
答案 0 :(得分:1)
使用带有Esent的RavenDB时,您无法返回Windows版本。