# Common Restore Problems and Resolutions

This article discusses common reasons that may prevent records to restore using CopyStorm/Restore.

## Triggers

Your Salesforce instance may have triggers that need to be disabled prior to restoring records. Here are a few examples:

* A BeforeUpdate trigger computes sales tax for a Quote. The error seen when restoring records is “TOO MANY SOQL STATEMENTS”.
* A BeforeInsert trigger does data validation on a specific field whose validation rules have changed over time. The error seen indicates that an INSERT or UPDATE failed.

Errors caused by triggers may be complex because a failure at a high level (e.g. Opportunity) may cause subsequent failures.

## Inactive Price Books and Prices

CopyStorm/Restore’s default configuration will not restore Opportunity or Quote records referencing inactive price books or prices. To include these records you must explicitly enable the behavior on the Global Parameters tab.

## Data Integrity Problems

You may see an error indicating that data from the backup is not valid for a restore. These are typically caused by numeric values with too many digits or email addresses in an invalid format, represent real errors in your source Salesforce database, and should be corrected.


---

# 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/frequently-asked-questions/common-restore-problems-and-resolutions.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.
