> 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.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/7fCvY8ASJrGmS0BSdWtM/blobs/TX6DRKBZ0N6WZgMqPPta/cleanup.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/7fCvY8ASJrGmS0BSdWtM/blobs/29pd25zrvrw9S1euhE71/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/5.0.x/getting-started/using-trilio/getting-started-1/triliovault-crds.md#cleanup-policy)
