public void StartRestore(RestoreRequest restoreRequest) { asyncAdminServerClient.StartRestoreAsync(restoreRequest).WaitUnwrap(); }
public Task StartRestoreAsync(RestoreRequest restoreRequest) { var request = adminRequest.CreateRestoreRequest(); return request.WriteAsync(RavenJObject.FromObject(restoreRequest)); }
public void Restore(RestoreRequest restoreRequest, Action<string> output) { new RestoreOperation(restoreRequest, configuration, output).Execute(); }