# Cleanup Failed Backups

<figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/AtDIWYFtFyI4NmbCVec0/cleanup.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/QBp5AFxhikXCbuwupDxJ/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.](https://docs.trilio.io/kubernetes/getting-started/getting-started-1/triliovault-crds#cleanup-policy)
