By using AWS re:Post, you agree to the Terms of Use

How do i stop a restore job that's running for a week.


I created a backup job for a bucket that is used as repository for a web page with a cloudfront only policy access. I added a role for the backup to run and performed a backup test run that was sucessfully.

Then I deleted from files and tried to restore them for testing. The first attempt to restore to the same bucket failed because of permissions: This is the error "Status": "FAILED", "StatusMessage": "Cannot restore, as the BucketOwnershipControls of <bucketname> do not allow the use of object ACLs."

I know I am not using ACL but policy to control the access to the bucket, so I think that's fine; so instead of restoring to the same bucket; I created a second job to restore to a new bucket That job is still running since Feb 24th This is how it looks on a CLI list-restore-jobs "CreationDate": "2022-02-24T11:15:33.120000-03:00", "Status": "RUNNING", "PercentDone": "0.00%",

The thing is: There is not "stop-restore-job" command in the CLI to stop it.

So the basic question is:

1 - How do I stop it?

And 2; is the way to go in such scenario to restore to a new or existing bucket instead of the source one?


asked 7 months ago68 views
1 Answer

Hello Gercho,

To answer your first question there are a couple of ways to stop the current process: the removal of permissions, turning off versioning, turning off events being sent to Amazon EventBridge, or disabling the EventBridge rules that are put in place by AWS Backup. Once you stop your process it might be in a EXPIRED state. If you want to further delete the job at that point you can follow the steps listed in this article: .

For your second question I believe what you are looking for is how to restore your bucket from an AWS backup. The step by step process on how to do so is listed here: .


answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions