# Backup wouldn't cancel and now stuck in running state

**URL:** <https://forums.percona.com/t/backup-wouldnt-cancel-and-now-stuck-in-running-state/18732>\
**Category:** Percona Backup for MongoDB\
**Tags:** closed-no-reply\
**Created:** [November 23, 2022, 9:44am UTC](https://forums.percona.com/t/backup-wouldnt-cancel-and-now-stuck-in-running-state/18732 "2022-11-23T09:44:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![so\_it\_team](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@so\_it\_team](https://forums.percona.com/u/so_it_team)\
**Post date:** [November 23, 2022, 9:44am UTC](https://forums.percona.com/t/backup-wouldnt-cancel-and-now-stuck-in-running-state/18732/1 "2022-11-23T09:44:53Z")

</div>

I started a backup of a 3 node replica set to s3 storage by running

`pbm backup --wait`

I then wanted to cancel the backup, so I CTRL+C the pbm command. The backup continued to run, so then I did

`pbm cancel-backup`

I saw the acknowledgement of the cancel command in the pbm logs but still the backup continued to run.

I waited several hours but it did not stop.

Finally, i stopped the pbm-agent on all 3 replica set nodes. This stopped the backup.

However now I cannot delete the backup. When I run `pbm delete-backup "2022-11-22T17:31:22Z"` I get the error

`Waiting for delete to be done ..Error: deleting: unable to delete backup in running state`

But when I run `pbm status` it says

# `Currently running:

(none)  
`

How can I clear the running state and remove the backup?

Thanks
