Configuring Versioning
Procedure
- In the navigation pane of OBS Console, choose Object Storage.
- In the bucket list, click the bucket you want to operate to go to the Objects page.
- In the navigation pane, choose Overview.
- In the Basic Configurations area, click Versioning.
- Select Enable.
Figure 1 Configuring versioning
- Click OK to enable versioning for the bucket.
- In the navigation pane, choose Objects. The object list page is displayed.
- Above the search box, enable Historical Versions to view multiple versions of an object.
Related Operations
After versioning is configured for a bucket, you can delete, share, and download object versions, and extend the retention period of an object version.
- In the navigation pane of OBS Console, choose Object Storage.
- In the bucket list, click the bucket you want to operate to go to the Objects page.
- In the object list, view all versions of the object.
- Perform the following operations on object versions:
- 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.
- Share a version of the object by clicking Share in the Operation column.
- Permanently delete a version of the object by choosing Delete in the Operation column. The deleted object version cannot be recovered. If you delete the latest version, the most recent version will become the latest version.
In a WORM-enabled bucket, if an object has no retention policy configured or its retention policy has expired, you can delete a desired object version on the object's Versions tab page. If an object version is within the retention period, it cannot be deleted.
- Locate the object version for which you want to extend the retention period, choose More > Extend Retention Period, and select a date. A retention period can be extended, but cannot be shortened.
- Download a desired version of the object by clicking Download in the Operation column.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.