> 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/5.2.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://2128071491-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPjqWuFyXH70qgk8Bj5Q%2Fuploads%2Fgit-blob-66ca4a223ceb3fe524f46a051c92e334e85b7272%2Fcleanup.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2128071491-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVPjqWuFyXH70qgk8Bj5Q%2Fuploads%2Fgit-blob-0b8b15f1cfc0aec459644d1952aa65280e7a39d6%2Fcleanup1.png?alt=media" 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/5.2.x/getting-started/using-trilio/getting-started-1/triliovault-crds.md#cleanup-policy)
