Help Center> Object Storage Service> FAQs> Security> Can I Recover OBS Data After It Is Deleted or Overwritten?
Updated on 2024-04-01 GMT+08:00

Can I Recover OBS Data After It Is Deleted or Overwritten?

No. OBS data that you manually delete or overwrite or that is automatically deleted (by a lifecycle rule or when the account is frozen or deregistered) cannot be recovered on Huawei Cloud.

Scenarios where data can be deleted or overwritten:

  • Use OBS Console, API, SDKs, OBS Browser+, obsutil, or obsfs to delete objects. For details, see Deleting an Object.
  • Using OBS Console, API, SDKs, OBS Browser+, obsutil, or obsfs to upload a file with the same name as a previously uploaded file will overwrite the previous file in OBS.
  • Based on a lifecycle rule, OBS automatically deletes the files that meet the deletion criteria defined in the rule. For details, see Lifecycle Management.
  • If you have configured a cross-region replication rule that also synchronizes the add, modify, or delete actions, file modifications or deletions made on the source bucket will be applied to the destination bucket. For details, see Cross-Region Replication.
  • Inappropriate access control causes files to be maliciously deleted or overwritten by others. For details, see Permissions Management.
  • When your account is in arrears, data stored in OBS will be kept during the retention period that is defined based on your customer level, and your account will be restricted. If your outstanding amount is not paid off when the retention period ends, data stored in OBS will be deleted and cannot be recovered. For details, see Arrears.

Methods of preventing accidental deletions or overwrites:

  • Access control
    • Properly use OBS access control capabilities to protect data from being deleted or overwritten.
    • Enable critical operation protection on OBS Console to authenticate your identity when you perform any critical operations, for example, deleting buckets. This protects from accidental deletions. For details, see Critical Operation Protection.
  • Versioning

    Enable versioning to keep multiple versions of an object in the same bucket, so that you can easily search for and restore each object version and you can quickly recover data in the event of unintended actions or application failures. For details, see Versioning.

  • Cross-region replication

    Replicate data from one region to another for remote backup. For details, see Cross-Region Replication.

  • WORM

    Use WORM to protect objects from being deleted or overwritten during a specified protection period. For details, see WORM.

Security FAQs

more