var _Store = new DocumentStore { Url = "http://xxxxxx:80/",DefaultDatabase ="RavenDB" };
_Store.Initialize();
_Store.DatabaseCommands
.GlobalAdmin
.StartRestore(
new DatabaseRestoreRequest
{
BackupLocation = @"C:\Raven\BackUp\2016-12-19-08-39-ravendb-backup\",
DatabaseLocation = @"~\Databases\",
IndexesLocation = @"C:\Raven\CompiledIndexCache\",
DatabaseName = "RavenDB2"
});PS C:\Users\carfuser\Downloads\RavenDB-3.5.2-patch-35181\Server> .\Raven.Server.exe --restore-source=C:\Raven\BackUp\2016-12-20-08-55-ravendb-backup --restore-destination=C:\Raven\Databases --restore-system-databaseSystem.InvalidOperationException: Cannot restore when the Database.Document file is missing in the backup folder: C:\Raven\BackUp\2016-12-20-08-55-ravendb-backup at Raven.Database.Actions.MaintenanceActions.Restore(RavenConfiguration configuration, DatabaseRestoreRequest restoreRequest, Action`1 output) in C:\Builds\RavenDB-3.5-Patch\Raven.Database\Actions\MaintenanceActions.cs:line 57 at Raven.Server.Program.RunSystemDatabaseRestoreOperation(String backupLocation, String databaseLocation, Boolean defrag) in C:\Builds\RavenDB-3.5-Patch\Raven.Server\Program.cs:line 756Hibernating Rhinos Ltd 
Grisha Kotler l RavenDB Core Team Developer l Mobile: +972-54-586-8647
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
RavenDB paving the way to "Data Made Simple" http://ravendb.net/
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--