How do I disable Object Storage bucket versioning?
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
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.