OSS data protection solutions

Updated at:

Compare OSS data protection solutions by backup capability, restoration method, storage cost, recommended scenario, protection scenario, and benefits to choose the optimal solution for your business and compliance requirements.

Services

Service name

OSS data protection solution

References

OSS

OSS versioning

Versioning

OSS cross-region replication

CRR

Cloud Backup

OSS backup

Overview

Cross-region replication of OSS backup vaults

Cross-region backup

Backup capabilities

Service name

OSS data protection solution

Backup capability

OSS

OSS versioning

Versioning is a bucket-level feature that protects objects against unintended overwrites and deletions. When you overwrite or delete objects in a versioning-enabled bucket, OSS saves the previous versions so you can recover them at any time.

OSS cross-region replication

Cross-region replication (CRR) automatically and asynchronously replicates objects in near real-time from a bucket in one region to a bucket in a different region, within the same account or across accounts. CRR synchronizes operations such as object creation, overwriting, and deletion to help you meet compliance, latency, security, and availability requirements.

Cloud Backup

OSS backup

Configure a backup policy to back up OSS bucket objects to backup vaults on a regular basis. If objects are accidentally deleted or tampered with, Cloud Backup can restore them. For fine-grained protection, you can back up all objects in a bucket or only objects that match specified prefixes. No backup agent or client installation is required.

Cross-region replication of OSS backup vaults

Create a mirror vault in a remote region for an existing backup vault. Data is automatically replicated to the mirror vault, enabling cross-region multi-version backups and remote data restoration.

Restoration methods

Service name

OSS data protection solution

Restoration method

OSS

OSS versioning

You can use the console, API, or ossutil tool to restore a version of an object. For more information, see Restore objects.

Important
  • When you use the console or API, you can specify a version to be used in restoration. However, you cannot restore multiple objects at a time.

  • When you use the ossutil tool, you can filter objects that meet specified conditions and restore multiple objects to their latest versions. However, you cannot specify a version to be used in restoration.

OSS cross-region replication

A new OSS bucket is created in the remote region, so no restoration is involved.

Cloud Backup

OSS backup

You can use the console or API to restore the backup points of a single object, of multiple objects that meet a specified rule, or of all objects in a bucket to the original bucket or to another bucket.

Important

This method uses backup policies to back up data on a regular basis. It can only restore data to the point in time when the backup was made, instead of to a historical version at any point in time.

Cross-region replication of OSS backup vaults

Backup storage costs

Service name

OSS data protection solution

Backup storage cost

OSS

OSS versioning

  • Storage space fees are charged based on the total size of objects of the current version and all historical versions.

OSS cross-region replication

  • Storage space fees for local and remote backups

  • Fees for cross-region replication traffic

Cloud Backup

OSS backup

  • Cloud Backup provides the same deduplication and compression capabilities as professional backup software. You pay only for the storage space after deduplication and compression.

  • Fees for calling OSS API operations by Cloud Backup, which are included in your OSS bills.

Note

The deduplication and compression ratio varies by data type and incremental data size. Typical ratios are approximately 30:1 for text files and over 100:1 for VMware virtual machines. Actual ratios may vary.

Cross-region replication of OSS backup vaults

  • Storage space fees for local and remote backups

  • Fees for cross-region replication traffic

  • Fees for calling OSS API operations by Cloud Backup, which are included in your OSS bills.

Recommended scenarios

Service name

OSS data protection solution

Recommended scenario

OSS

OSS versioning

  • Accidentally deleted data

    You need to retain all intermediate versions generated when an OSS object is modified. Because OSS does not provide a recycle bin, you can use versioning to recover deleted data.

  • Overwritten objects

    Frequent modifications, such as online collaborative editing or cloud storage updates, generate numerous temporary versions. Versioning lets you restore a specific historical version of an object.

OSS cross-region replication

  • Compliance

    CRR allows you to replicate data between geographically distant data centers to meet compliance requirements.

  • Minimal latency

    To minimize access latency, you can maintain object replicas in data centers that are geographically closer to your customers.

  • Data backup and disaster recovery

    You can replicate all data in one data center to another data center.

  • Data migration

    To ensure business continuity, you may need to migrate data from one data center to another data center.

  • Operational purposes

    You have compute clusters that are deployed in two data centers to analyze the same group of objects. You can store the replicas of the objects in the two regions.

Cloud Backup

OSS backup

  • You need to back up OSS buckets and objects on a regular basis (hours, days, and weeks) and specify the retention period of backup data to cope with unexpected data restoration or meet compliance requirements.

  • Point-in-time backup consistency across multiple objects in the same bucket is required to ensure business data integrity.

  • If objects are frequently modified, OSS versioning may occupy a large amount of storage space. Not all historical versions must be retained.

  • You need a user-friendly console for data restoration.

Cross-region replication of OSS backup vaults

  • To protect against regional disasters, create remote backups for your OSS buckets and objects. The backup data supports remote restoration for cross-region disaster recovery.

  • To retain multiple historical data versions in a remote location rather than only the latest version, use cross-region replication of OSS backup vaults for remote historical data retrieval.

Protection scenarios

Service name

OSS data protection solution

Protection scenario

OSS

OSS versioning

  • Ransomware attacks

  • Accidentally deleted data

Important

The versioning and write once read many (WORM) features cannot be enabled together in the same bucket. To prevent historical backup versions from being affected by ransomware attacks or misoperations, we recommend that you enable the immutable backup feature.

OSS cross-region replication

  • Regional natural disasters

  • O&M errors

Note

Suitable for scenarios where restoring the current version from a remote location is sufficient.

Cloud Backup

OSS backup

  • Ransomware attacks (we recommend that you enable backup locking and backup point virus detection for core data)

  • Accidentally deleted data (we recommend that you enable the immutable backup feature for core data)

Cross-region replication of OSS backup vaults

  • Regional natural disasters

  • O&M errors

Benefits

Service name

OSS data protection solution

Benefit

OSS

OSS versioning

Versioning and cross-region replication provide data protection at the IaaS layer. Their ease of use, flexibility, comprehensive API operations, and broad applicability make them well-suited for developers and enterprises with strong O&M capabilities. OSS API operations can be used to meet various business requirements.

OSS cross-region replication

Cloud Backup

OSS backup

  • As a SaaS service, Cloud Backup provides comprehensive enterprise-level capabilities for compliance and business needs: cross-account backup, immutable backup, configurable retention periods, automatic archiving of backup data, and virus detection at backup points.

  • Additional benefits include a user-friendly console, low O&M costs, out-of-the-box availability, and seamless backup process integration.

Cross-region replication of OSS backup vaults