> 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/user-guide/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://3731585833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpCxOCsdXirQpfhMwv5VA%2Fuploads%2Fgit-blob-66ca4a223ceb3fe524f46a051c92e334e85b7272%2Fcleanup%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3731585833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpCxOCsdXirQpfhMwv5VA%2Fuploads%2Fgit-blob-0b8b15f1cfc0aec459644d1952aa65280e7a39d6%2Fcleanup1%20(1).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/user-guide/cli/triliovault-crds.md#cleanup-policy)
