# How to Setup the Capstorm Recycle Bin

By default, CopyStorm has a single snapshot policy named the *Default Recycle Bin.* The *Default Recycle Bin* is a regular snapshot policy, implemented using the same features available for custom snapshots, with a few limitations.

* The name of the *Default Recycle Bin* cannot be changed.
* The filter used by the *Default Recycle Bin* cannot be changed.

By default, the Default Recycle Bin is not enabled and you should make a few decisions before enabling it.

* Do you want to restrict the tables where the recycle bin is used?
* How many days do you want to keep records in the recycle bin?
* Do you want to keep records from some tables longer than others?

Once you have made these decisions and applied them to the *Default Recycle Bin*, simply enable the snapshot and CopyStorm will automatically manage the *Default Recycle Bin* as part of a backup.

## Example of a *Default Recycle Bin* Setup

Prior to setting up our recycle bin, we have made the following choices. (Your criteria will likely be different!)

* All tables except history and change event tables will be managed by the *Default Recycle Bin*.
* The default retention period for a record will be 90 days (after 90 days a record will be deleted from the snapshot).
* EmailMessages should be retained for a two full years.
* Accounts, Contacts, and Cases should be retained for a full year.

**Launch the Policy Editor for the&#x20;*****Default Recycle Bin***

![](/files/ir4xv1sORzWBKMqqpAVL)

**Set a 90 Day Default Record Retention Policy**

![](/files/wngqeN4QXjj6Vk1ZB6bm)

**Add Custom Record Retention Rules**

![](/files/xjdcM68VXGpA8bW1Dubu)

**Select Tables to put in the Recycle Bin**

There are two basic ways to select the tables to include in the Recycle bin.

* A White List can be used to indicate the tables to include.
* A Black List can be used to indicate the tables to exclude. All tables not on the black list will be included.

For additional help see the [White/Black List documentation](/reference/archive-tab/archive-policy-editor/policy-filter-rules.md#white-and-black-lists).

![](/files/pXr62JoVsnV0yQt5NgZK)

**Activate the&#x20;*****Default Recycle Bin***

![](/files/U7f587Bpn9cfVhBVQFgg)

**Congratulations! You have successfully setup the Default Recycle Bin.**

![](/files/4DHU2STVM5Png2lNG9T5)


---

# 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/frequently-asked-questions/how-do-copystorm-archives-work/how-to-setup-the-capstorm-recycle-bin.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.
