Updated on 2023-04-26 GMT+08:00

Configuring Versioning

Procedure

  1. In the navigation pane of OBS Console, choose Object Storage.
  2. In the bucket list, click the bucket name you want. The Objects page is displayed.
  3. In the navigation pane, choose Overview.
  4. In the Basic Information area, find Versioning and click Edit. The Versioning dialog box is displayed.

    Figure 1 Editing versioning status

  5. Select Enable. For details, see Figure 2.

    Figure 2 Configuring versioning

  6. Click OK to enable versioning for the bucket.
  7. Click an object to go to the object details page. On the Versions tab, view all versions of the object.

    Figure 3 Viewing object versions

Related Operations

After versioning is enabled, on the object details page that is displayed, click Versions, and then you can delete and download versions of the object.

  1. In the navigation pane of OBS Console, choose Object Storage.
  2. In the bucket list, click the bucket name you want. The Objects page is displayed.
  3. In the object list, click the object you want to go to the object details page.
  4. On the Versions tab, view all versions of the object.
  5. Perform the following operations on object versions:

    1. Download a desired version of the object by clicking Download in the Operation column.

      If the version you want to download is in the Archive storage class, restore it first.

    2. Share a version of the object by clicking Share in the Operation column.
    3. Delete a version of the object by clicking DeleteMore > Delete in the Operation column. If you delete the latest version, the most recent version becomes the latest version.

      Object versions with WORM retention policies configured cannot be permanently deleted during the retention period. If an object version has no WORM retention policy configured, you can delete it on the Versions tab of the object details page.