> For the complete documentation index, see [llms.txt](https://learn.capstorm.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.capstorm.com/copystorm-restore/frequently-asked-questions/how-do-i-restore-deleted-records.md).

# How Do I Restore Deleted Records?

CopyStorm/Restore automatically restores deleted records for all record selectors except for “All” and “Random”. To restore deleted records with these selectors, check the “Include Deleted Records” checkbox.

In a CopyStorm backup a record is deleted if the “IsDeleted” column is set to true. There is nothing special about the “IsDeleted” column — it is a normal column Salesforce uses to indicate that a record has been deleted.

## Example: Include Deleted Records in a “Select All” Record Selector

![](/files/1PuXVPXzkivD1K0yovU5)

## Example: Include Deleted Records in a “Random” Record Selector

![](/files/gpav0pT3NppWAsAIFuzD)

## Example: Only Include Deleted Records Using a Filter

![](/files/cmQMUvlL8hfFFvvz5oEC)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/copystorm-restore/frequently-asked-questions/how-do-i-restore-deleted-records.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.
