How do I disable Object Storage bucket versioning?

Linode Staff

I followed your documentation guide to enable versioning on my buckets, but now I'd like to disable it. How can I do so?

1 Reply

Linode Staff

This should be quite straightforward to accomplish with either Cyberduck or AWS CLI.

Cyberduck

For Cyberduck, disabling bucket versioning should be as simple as reversing these directions for enabling bucket versioning on your bucket.

AWS CLI

Disabling bucket versioning through AWS CLI is also quite easy to accomplish by setting the bucket's versioning status to Suspended.

You may adapt this example command for the specifics of your bucket, making sure that its name and endpoint match that of your bucket's:

aws s3api put-bucket-versioning --endpoint=http://us-east-1.linodeobjects.com --bucket=bucket-versioning-example --versioning-configuration Status=Suspended

Conclusions

That should be all! You may need to delete hidden files in your buckets using Cyberduck or AWS CLI, but this should otherwise not present you any complications.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct