September 9, 2021 By Quaid Nasir 3 min read

IBM Cloud Object Storage introduces versioning to protect your data against accidental deletion or overwrites.

When versioning is enabled on an IBM Cloud Object Storage bucket, multiple versions of an object are automatically saved so that you can easily recover data from either an unintended user action or an application failure.

You can enable versioning at the bucket level for any storage class. The default state of versioning for a bucket is disabled. Once enabled, all objects in the bucket will have versioning turned-on. Versioning can also be suspended at any time to stop creating new versions of objects in the bucket. Normal capacity charges (pricing) apply for each version of the object.

Version creation

In a version-enabled bucket, if you overwrite an object, a new version of the object is created as the current version, while the older version of the object is retained and referred to as the non-current version of the object. With versioning, you will have one current version of an object and 0 or more non-current versions. All versions of the object receive a unique version ID. The current marker always points to the latest copy of the object. Reading an object (GET) fetches the latest version of the object pointed to by the current marker. You can also access any noncurrent version by specifying the Version ID in your GET request:

Deleting an object

In a version-enabled bucket, deleting an object simply creates a Delete Marker as the current version of the object. A GET on a deleted object returns a 404 error. No data is permanently deleted, and the changes can be reversed:

Deleting a version

When a specific version of an object is deleted by specifying the Version ID, the deletion is permanent:

Managing versions

The benefit of storing every version of an object comes at the cost of storing more data. You can manage your storage and hence the cost of retaining multiple versions of the object by setting lifecycle rules to archive or expire older versions of the object. You can also suspend versioning on a bucket if you don’t want to accumulate new versions:

Get started

Versioning can be accessed on the IBM Cloud Object Storage buckets using the IBM Cloud console, the REST API or using the SDK. For information on how versioning works, see Versioning Docs.

If you are new to IBM Cloud Object Storage, you can start your free trial today. You can find additional pricing information on the IBM Cloud Object Storage pricing page

More from Announcements

Success and recognition of IBM offerings in G2 Summer Reports  

2 min read - IBM offerings were featured in over 1,365 unique G2 reports, earning over 230 Leader badges across various categories.   This recognition is important to showcase our leading products and also to provide the unbiased validation our buyers seek. According to the 2024 G2 Software Buyer Behavior Report, “When researching software, buyers are most likely to trust information from people with similar roles and challenges, and they value transparency above other factors.”  With over 90 million visitors each year and hosting more than 2.6…

Manage the routing of your observability log and event data 

4 min read - Comprehensive environments include many sources of observable data to be aggregated and then analyzed for infrastructure and app performance management. Connecting and aggregating the data sources to observability tools need to be flexible. Some use cases might require all data to be aggregated into one common location while others have narrowed scope. Optimizing where observability data is processed enables businesses to maximize insights while managing to cost, compliance and data residency objectives.  As announced on 29 March 2024, IBM Cloud® released its next-gen observability…

Unify and share data across Netezza and watsonx.data for new generative AI applications

3 min read - In today's data and AI-driven world, organizations are generating vast amounts of data from various sources. The ability to extract value from AI initiatives relies heavily on the availability and quality of an enterprise's underlying data. In order to unlock the full potential of data for AI, organizations must be able to effectively navigate their complex IT landscapes across the hybrid cloud.   At this year’s IBM Think conference in Boston, we announced the new capabilities of IBM watsonx.data, an open…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters