> For the complete documentation index, see [llms.txt](https://docs.trilio.io/kubernetes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trilio.io/kubernetes/4.0.x/getting-started/using-trilio/getting-started-with-management-console/index/creating-backups/cleanup-failed-backups.md).

# Cleanup Failed Backups

This page describes how to setup cleanup policies for failed backups

<figure><img src="https://content.gitbook.com/content/TrewSrS6CmLdahLrZUjj/blobs/XxzzFIRTmg7kt8fJxXwY/cleanup.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/TrewSrS6CmLdahLrZUjj/blobs/IwW5ctVmTi3GyzunkCad/cleanup1.png" alt=""><figcaption></figcaption></figure>

This action creates the cleanup policy for the given namespace. Users may have to repeat the steps for each namespace. However, to define a cluster-wide cleanup policy, please refer to the [cleanup policy.](/kubernetes/4.0.x/getting-started/using-trilio/getting-started-1/triliovault-crds.md#cleanup-policy)
