Versioning

This document provides instructions to manage Versioning using the CLI. Additionally, these tasks can also be performed using the DCD and IONOS S3 Object Storage API.

Prerequisites:

Commands

Get the versioning state of the bucket:

aws s3api get-bucket-versioning --bucket my-bucket --endpoint-url https://s3.eu-central-2.ionoscloud.com

Enable versioning for the bucket:

aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Enabled --endpoint-url https://s3.eu-central-2.ionoscloud.com

List object versions for the bucket:

aws s3api list-object-versions --bucket my-bucket --endpoint-url https://s3.eu-central-2.ionoscloud.com

List object versions for the object my-object.txt:

aws s3api list-object-versions --bucket my-bucket --prefix my-object.txt --endpoint-url https://s3.eu-central-2.ionoscloud.com

Last updated

Revision created

commented latest release