download free 30 days trial version buy bucket explorer
Documentation  Download  Purchase  Support  FAQs   Forum   ScreenShots & Demos

Amazon S3 - How to Enable a Bucket's Versioning State (PUT Bucket Versioning)?--Introduction

Amazon S3 Versioning helps you keep record of overwritten as well as deleted data at S3. When S3 Versioning is enabled on S3 Bucket, Amazon S3 adds Version ID with all S3 object, which is Unique String. You can retrieve the deleted/ overwritten data and also can restore any versioned object back and make it as latest version in your S3 Bucket. With versioning, your Amazon S3 Bucket has an added protection since you can possibly recover accidental overwrites and deletions.

Version ID is automatically generated for the object stored if you enable versioning for an Amazon S3 Bucket. These version IDs are unique and are randomly generated, Unicode, UTF-8 encoded, URL-ready, opaque strings and 1024 bytes long at the most. A version ID cannot be edited and can only be generated by Amazon S3.

How to perform Amazon S3 Versioning Operations?

  • S3 Versioning Using S3 REST API
    You can perform Amazon S3 Versioning operations by using Amazon S3 Versioning supported REST API in your application code.
  • S3 Versioning Using Bucket Explorer
    You can perform the same Amazon S3 Versioning operations using Bucket Explorer without the hassle of writing codes, with point and click interface.

You can perform the following Amazon S3 Versioning operations:

  • Set Amazon S3 Versioning on Bucket:
    You can set or enable versioning on your Amazon S3 Bucket using PUT Bucket versioning request. Check the link to get more details about Set Amazon S3 Versioning - PUT Bucket Versioning using Amazon REST API and using Bucket Explorer.
  • Keep version of overwritten files to preserve older data:
    You can keep version of overwritten files in the same structure using PUT Object versioning as well as using this feature of Bucket Explorer. Check the link to get more details about Keep Version of Overwritten Files using Amazon REST API and using Bucket Explorer.
  • List Versions of Objects:
    You can list versions of S3 overwritten and deleted objects using GET Bucket versioning request. Check the link to get more details about List Versioning - GET Bucket Versioning using Amazon S3 REST API and using Bucket Explorer.
  • Restore Versions of an Object:
    You can restore an older version of an Object using PUT Object – Copy Versioning. Check the link to get more details about Restore Versions of an Object using Amazon REST API and using Bucket Explorer.
  • Update ACLs on Versions of Objects:
    You can update ACLs on versions of objects using PUT Object ACL. Check the link to get more details about Update ACLs on Versions of Objects using Amazon REST API and using Bucket Explorer.