Data protection
Data protection
Developers using BOS to store and manage data can enable bucket versioning or the recycle bin feature to enhance data reliability and prevent accidental deletion. If data is accidentally deleted, versioning and the recycle bin enable recovery. Additionally, versioning allows restoration based on file version management mechanisms. For comprehensive data protection, enabling versioning is the optimal choice.
Versioning
Versioning is a bucket-level data protection feature. Once enabled, overwritten and deleted data is preserved as historical versions. In the event of accidental overwrites or deletions, you can restore data to any historical version stored in the bucket.
Application scenarios
- Data recovery: When accidental deletions or overwrites occurs during data usage, there should be a way to recover the data.
- Data protection: When a bucket grants write permissions to multiple users via access control, measures should be taken to prevent malicious deletion of bucket data by these users.
- Prevent file overwrites: For online collaboration products, files are frequently modified, therefore editing operations will generate numerous temporary versions. You can retrieve versions generated in specific points with the versioning function.
For versioning details, please refer to the Developer Guide - Versioning Overview.
Recycle bin
The recycle bin is a bucket-level data protection function. Once enabled, deleted data is moved to the recycle bin, and can be recovered or deleted permanently.
Application scenarios
- Data recovery: When accidental deletions occur during data usage, there should be a way to retrieve the data.
- Data protection: When a bucket grants write permissions to multiple users via ACL, measures should be taken to prevent malicious deletion of bucket data by these users.
For details of recycle bin functions, please refer to the Developer Guide - Set Versioning.
