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

IBM named a Leader in Gartner Magic Quadrant for SIEM, for the 14th consecutive time

3 min read - Security operations is getting more complex and inefficient with too many tools, too much data and simply too much to do. According to a study done by IBM, SOC team members are only able to handle half of the alerts that they should be reviewing in a typical workday. This potentially leads to missing the important alerts that are critical to an organization's security. Thus, choosing the right SIEM solution can be transformative for security teams, helping them manage alerts…

IBM and MuleSoft expand global relationship to accelerate modernization on IBM Power 

2 min read - As companies undergo digital transformation, they rely on APIs as the backbone for providing new services and customer experiences. While APIs can simplify application development and deliver integrated solutions, IT shops must have a robust solution to effectively manage and govern them to ensure that response times and costs are kept low for all applications. Many customers use Salesforce’s MuleSoft, named a leader by Gartner® in full lifecycle API management for seven consecutive times, to manage and secure APIs across…

IBM Consulting augments expertise with AWS Competencies: A win-win for clients 

3 min read - In today's dynamic economic landscape, businesses demand continuous innovation and speed of execution. At IBM Consulting®, our unwavering focus on partnerships and shared commitment to delivering enterprise-level solutions to mutual clients have been core to our success.   We are thrilled to announce that IBM® has recently gained five competencies from Amazon Web Services (AWS) in vital domains including Cloud Operations, Internet of Things (IoT), Life Sciences, Mainframe Modernization, and Telecommunications. With these credentials, IBM further establishes its position as a…

IBM Newsletters

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