# Run Snapshot Policy Retention Rules

The *Run Snapshot Policy Retention Rules* feature is used to force a snapshot to look for records that should be deleted from the Snapshot based on its retention rules and then delete the records. This happens automatically for active *Snapshot Policies* as part of the regular CopyStorm backup process, so this feature is most useful for inactive *Snapshot Policies*.

The *Run Snapshot Policy Retention Rules* feature is accessed from the right-click context menu on the CopyStorm Snapshot tab.

![](/files/ZtoTgLiepuQBzYqZCvCm)

There are only two parameter options when running retention rules.

* Search Batch Size — number of records that will be searched at once for potential deletion.
* Deletion Batch Size — number of records that will be deleted in a single database transaction.

![](/files/WvAZFNGq4ChI15j7j49W)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.capstorm.com/reference/archive-tab/run-archive-policy-retention-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
