> 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/reference/configuration-tab/database-reset.md).

# Database Reset

The Database Reset Configuration Editor is used to delete and rebuild portions of the CopyStorm database.

Options within the Database Reset Configuration Editor are only used in specific circumstances and should not be left enabled as part of normal backups.

<figure><img src="/files/1TFJj0ATFwYBg7rtu3Rk" alt=""><figcaption></figcaption></figure>

| Parameter Name               | Default Setting | Required | Description                                                                                                                                                                                                                                                                                                                                                                  |
| ---------------------------- | --------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Force Truncate               | Unchecked       | No       | If checked, CopyStorm will truncate all data from each table and start the backup of records from scratch.                                                                                                                                                                                                                                                                   |
| Force Rebuild                | Unchecked       | No       | If checked, CopyStorm will drop each table and rebuild it from scratch.                                                                                                                                                                                                                                                                                                      |
| Keep Deleted Columns         | Unchecked       | No       | If checked, CopyStorm will retain a column in the target database if it has been dropped in Salesforce. By default CopyStorm will drop a column in the target database if it is dropped in Salesforce.                                                                                                                                                                       |
| Refresh Columns on DDL Error | Unchecked       | No       | If checked, CopyStorm will rebuild and refresh columns if an unrecoverable DDL exception occurs. CopyStorm will create a new column, requery Salesforce for the column's data, and will rename the new column to replace the old column. This toggle is useful when Salesforce field definitions change in such a way that the corresponding Alter Column SQL commands fail. |
| Rebuild on DDL Errors        | Unchecked       | No       | If checked, CopyStorm will drop and rebuild a table if an ALTER statement on the table causes a DDLexception.                                                                                                                                                                                                                                                                |


---

# 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, and the optional `goal` query parameter:

```
GET https://learn.capstorm.com/reference/configuration-tab/database-reset.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
