public void StartRestore(RestoreRequest restoreRequest)
		{
			asyncAdminServerClient.StartRestoreAsync(restoreRequest).WaitUnwrap();
		}
示例#2
0
		public Task StartRestoreAsync(RestoreRequest restoreRequest)
		{
		    var request = adminRequest.CreateRestoreRequest();

			return request.WriteAsync(RavenJObject.FromObject(restoreRequest));
		}
示例#3
0
		public void Restore(RestoreRequest restoreRequest, Action<string> output)
		{
			new RestoreOperation(restoreRequest, configuration, output).Execute();
		}