# Restore Plan Tab

The Restore Plan tab provides insight into the decisions made to determine the order in which CopyStorm/Restore will find restore candidates and the order in which records will be inserted / updated in Salesforce. There are a number of subplans displayed as illustrated in this screenshot:

![](https://2924009365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5FyPmqVkPxhj2oT8fbgB%2Fuploads%2Fgit-blob-fb28c8e8f35d2cb3f4c38bd2b14c1b01009422d3%2F74f6cb77-RestorePlanPicture1.png?alt=media)

All plans are an accurate representation of what CopyStorm/Restore does during a restore except for the Candidate Scan Order. The Candidate Scan Order plan is a good representation but the implementation is a bit more complex in order to handle arbitrary direct and indirect circular relationships between tables.

## Related Articles

* [Restore Order](https://learn.capstorm.com/copystorm-restore/reference/restore-plan-tab/restore-order) — lists the order in which tables will be written to Salesforce.
* [Candidate Scan Order](https://learn.capstorm.com/copystorm-restore/reference/restore-plan-tab/candidate-scan-order) — lists the order in which candidates for a restore will be found and is based on the rules set up in the Restore Editor tab.
* [Restore Order Detail](https://learn.capstorm.com/copystorm-restore/reference/restore-plan-tab/restore-order-detail) — lists the tables in the order in which they will be restored plus any related tables that are restored later in the plan.
* [Dependency Detail](https://learn.capstorm.com/copystorm-restore/reference/restore-plan-tab/dependency-detail) — lists the tables in the order they will be restored plus all table dependencies. This is the best insight into how CopyStorm/Restore selects the order in which to restore tables.
* [Overrides](https://learn.capstorm.com/copystorm-restore/reference/restore-plan-tab/overrides) — used to correct dependency relationships when they are incompletely defined in the Salesforce metadata. It is rare for a customer to use this tab.


---

# 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/copystorm-restore/reference/restore-plan-tab.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.
