Recovering a Deleted Object Version

On Compute Cloud@Customer, recovering a deleted object version is as simple as deleting the delete marker that was created when you deleted the latest version of an object. The previous version of the object listed just below the delete marker is recovered and becomes the latest version of the object.

To perform this task, you need to know which object is marked for deletion. To obtain that information, list the objects in the bucket. See Viewing Object Versions and Details. In the output, locate the object version that has "is-delete-marker": true.

Use the version-id of that object with the delete command to delete the delete marker.

Note

If an object has a version-id of null, there is only one version of the object. To delete this object marker, omit the --version-id argument.