Updated on 2024-08-27 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 you want to operate to go to the Objects page.
  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 page, view all versions of the object.

    Figure 3 Viewing object versions

Related Operations

After versioning is configured for a bucket, you can go to the object details page, click the Versions tab, and then delete, share, and download object versions.

  1. In the navigation pane of OBS Console, choose Object Storage.
  2. In the bucket list, click the bucket you want to operate to go to the Objects page.
  3. In the object list, click the object you want to go to the object details page.
  4. On the Versions tab page, 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 choosing Delete in the Operation column. If you delete the latest version, the most recent version will become the latest version.