# 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: 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/configuration-tab/database-reset.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.
