﻿---
title: retry_count
description: The value of this setting is the number of times to retry deleting a snapshot. The default for this setting is 3. 
url: https://www.elastic.co/elastic/docs-builder/docs/3016/reference/elasticsearch/curator/option_retry_count
products:
  - Elasticsearch
  - Elasticsearch Curator
---

# retry_count
<note>
  This setting is only used by the [delete snapshots action](https://www.elastic.co/elastic/docs-builder/docs/3016/reference/elasticsearch/curator/delete_snapshots).
</note>

```yaml
action: delete_snapshots
description: "Delete selected snapshots from 'repository'"
options:
  repository: ...
  retry_interval: 120
  retry_count: 3
filters:
- filtertype: ...
```

The value of this setting is the number of times to retry deleting a snapshot.
The default for this setting is `3`.