> For the complete documentation index, see [llms.txt](https://docs.getupdraft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getupdraft.com/~/changes/hCUa1az9yKp7rsxQS8yk/your-projects/project-settings/automatically-clean-up-build-binaries.md).

# Automatically clean up build binaries

This feature is only available in **Enterprise Plan**.&#x20;

You know how it is, your disk space is getting tight, every build and all binaries are filed and saved - no problem Updraft helps you with that.

## Activate and deactivate auto-delete

By default, the clean option is disabled. You can easily enable it in the project settings. There are two ways how you can optimize the storage of your builds: With a timestamp of 30, 60 or 90 days or over the total number of builds you want to save.

<figure><img src="https://1499220200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDXK35bj42Hdun3u_Zb-165900098%2Fuploads%2FkNETc1tjhVPYKos713Fh%2FBildschirmfoto%202023-01-30%20um%2018.07.18.png?alt=media&amp;token=30d26ec0-4f8c-4819-8459-50bd058400ad" alt=""><figcaption><p>Auto Delete App Binaries</p></figcaption></figure>

## Delete builds and binaries by time

You can make this setting in the project settings and have the app binaries automatically deleted after a certain number of days.&#x20;

You can make the following settings:

* 30 days
* 60 days
* 90 days

Updraft System tracks the exact date and timestamp of each uploaded binary (created at). Once the set days for deleting is reached, the binary will be deleted.

If a binary was changed using the Exchange File functionality, the exact timestamp is also registered here.

## Delete builds and binaries by number

You can make this setting in the project settings and have the app binaries automatically deleted after a certain number of binaries is reached per app environment.

The oldest build gets automatically deleted when a build is uploaded and the count exceeds the chosen max number of available builds.

Example:

Set the  max number "10". Then 10 builds are getting uploaded for this app / environment-> nothing gets deleted. Then a developer adds a new build "Number 11" -> the first uploaded build "Number 1" gets deleted within this app. Now available are build number 2-11.&#x20;
