All Products
Search
Document Center

Cloud Backup:Back up Tablestore data tables

Last Updated:Sep 15, 2025

To prevent data loss or damage caused by accidental deletion, modification, or overwriting, you can use Cloud Backup to back up the data tables in your Tablestore instances. Cloud Backup lets you configure flexible backup policies to create cloud backups. You can view and restore data tables at any time. This topic describes how to use Cloud Backup to back up data tables in Tablestore instances.

Prerequisites

  • The Cloud Backup service is enabled. Enabling Cloud Backup is free of charge. Using the Tablestore backup feature of Cloud Backup incurs Cloud Backup storage capacity fees. The fees are as follows:

    • Storage usage fee

      You are charged based on the storage usage of backup vaults. You can view the storage usage of backup vaults on the Overview page in the Cloud Backup console. Cloud Backup provides two types of backup storage: locally redundant storage (LRS) and zone-redundant storage (ZRS). For more information, see Pricing.

    • Restoration fee

      If you restore data to a Tablestore instance, you are charged for the data write throughput. The fee is included into your Tablestore bills. For more information, see Billing overview.

  • A Tablestore instance is created. For more information, see Create a Tablestore instance.

Notes

  • The first time you use this feature, Cloud Backup automatically creates the service-linked role AliyunServiceRoleForHbrOtsBackup to access the Tablestore instance resources in your account. Follow the on-screen instructions to complete the operation. For more information, see Cloud Backup service-linked role.

  • Cloud Backup automatically reads and loads the Tablestore instances in the selected region of your account. No client installation is required.

Create a backup plan to periodically back up Tablestore instance data tables

Note

After you create a backup plan, the first backup job is a full backup. Subsequent jobs are incremental backups by default.

To create a Tablestore backup plan, perform the following steps.

  1. Log on to the Cloud Backup console.

  2. In the navigation pane on the left, choose Backup > Tablestore Backup.

  3. In the top navigation bar, select a region.

  4. In the Actions column of the target Tablestore instance, click Back Up.

  5. In the Create Backup Plan panel, configure the parameters and click OK.

    1. Configure the backup content and click Next.

      Parameter

      Description

      Plan Name

      Enter a name for the backup plan.

      Database Instance

      Select the backup objects. You can select one or more tables to back up.

    2. Configure the backup plan and click Next.

      Backup Type

      Parameter

      Description

      Full Backup

      Full Backup

      Turn on the Full Backup switch to enable full backups.

      Backup Frequency

      This parameter is required only when the Full Backup switch is turned on. Specify the backup cycle. You can perform periodic backups by day, week, or month.

      Running Time

      This parameter is required only when the Full Backup switch is turned on. Specify the start time for the backup, accurate to the second.

      Backup Interval

      This parameter is required only when Backup Frequency is set to By Day (Periodic). Specify the interval in days between backups.

      Specify Day Of Week

      This parameter is required only when Backup Frequency is set to By Week (Periodic). Specify the day of the week for the backup.

      Specify Month

      This parameter is required when Backup Frequency is set to By Month (Periodic). Specify the month for the backup.

      Specify Day Of Month

      This parameter is required when Backup Frequency is set to By Month (Periodic). Specify the day of the month for the backup.

      Incremental Backup

      Incremental Backup

      Turn on the Incremental Backup switch to enable incremental backups. Compared with a full backup, an incremental backup backs up only the increased data. This reduces the amount of data and speeds up the backup process.

      Backup Frequency

      This parameter is required only when the Incremental Backup switch is turned on. Specify the backup cycle. You can perform periodic backups by minute, hour, or day.

      Running Time

      This parameter is required only when the Incremental Backup switch is turned on and Backup Frequency is set to By Day. Specify the start time for the backup, accurate to the second.

      Backup Interval

      This parameter is required only when the Incremental Backup switch is turned on. Specify the backup interval. You can set the interval to 30 minutes, or a specific number of hours or days.

    3. Configure backup options.

      Parameter

      Description

      Backup Vault

      Configure the backup vault where backups are stored.

      • Create Backup Vault: Enter a name for the new backup vault. If you leave this blank, a name is randomly assigned.

      • Select Backup Vault: Select an existing backup vault from the drop-down list.

      To maximize the redundancy of your backup data, Cloud Backup uses zone-redundant storage (ZRS)-enabled backup vaults by default in regions that support ZRS-enabled backup vaults. For regions that support only locally redundant storage (LRS)-enabled backup vaults, Cloud Backup uses LRS-enabled backup vaults. You do not need to manually select a backup vault type.

      Vault Name

      Specify a name for the backup vault.

      Vault Resource Group

      This parameter is required only when Backup Vault is set to Create Backup Vault. Specify the resource group to which the backup vault belongs.

      A resource group is a mechanism for managing resources in groups under an Alibaba Cloud account. Resource groups simplify resource grouping and permission management for a single Alibaba Cloud account. For more information, see Create a resource group.

      Backup Vault Encryption Method

      This parameter is required only when Backup Vault is set to Create Backup Vault. This parameter specifies the encryption method for the backup vault.

      • Fully managed by Cloud Backup (Default): Use the default encryption method of the backup service.

      • KMS: Use a custom key from the Alibaba Cloud Key Management Service (KMS) for encryption. You must specify the KMS Key ID parameter.

      Important
      • After you use KMS to encrypt a backup vault, you cannot change the KMS key.

      • If the KMS key is disabled or deleted, the backup data in the backup vault cannot be restored.

      • To use a KMS key to encrypt a backup vault, you must first create a KMS key ID in KMS. For more information, see Create a key.

      Retention Period

      Specify the retention period for backups. The default value is 2 years. The unit can be Day, Week, Month, or Year.

      Enable Bandwidth Throttling

      Traffic shaping helps you control backup traffic during peak business hours to avoid affecting normal business operations. To use traffic shaping, select a Throttling Time Window, enter the Maximum Traffic (MB) allowed during the time window, and then click Add.

    After the backup plan is created, Cloud Backup starts the Tablestore backup job based on the specified start time and backup interval. You can view the backup plan on the Backup Plans tab.备份计划

Backup successful

At the scheduled backup time, Cloud Backup starts the backup job. The backup is successful when the Status of the backup job changes to Completed.image.png

Cross-region backup support

To ensure business continuity in the event of a regional disaster, Cloud Backup supports creating cross-region mirror vaults for backup vaults with a Vault Type of Standard Backup or Tablestore Backup. For backup vaults that store Tablestore table data, you can create a cross-region mirror vault to implement cross-region disaster recovery for the data. After a mirror vault is created, data from the source backup vault is automatically replicated to the cross-region mirror vault to ensure data consistency between the two locations. You can also perform cross-region data restoration from the mirror vault when needed. For more information, see Cross-region Backup. In addition, Tablestore backup supports enterprise-level features such as Cross-account Backup, KMS Encryption, Backup Lock, and tag-based automatic resource association for backups.

Troubleshooting

If the Status of a backup plan or backup job is abnormal, refer to the following suggestions.

  • The Status of the backup job is Failed

    Follow the on-screen prompts to check and correct the configuration.

  • The Instance Status of the Tablestore instance is Released

    This status indicates that the Tablestore instance has been deleted.

    • If the Tablestore instance was intentionally deleted, you can ignore the backup job status. To avoid incurring additional storage capacity fees, in the navigation pane on the left, click Storage Vaults, find the corresponding backup vault, and then delete it.

    • If the Tablestore instance was accidentally deleted and you want to restore the data, create a Tablestore instance in the same region to use as the restoration destination. For more information, see Restore a Tablestore data table.image.png

  • The Plan Status of the backup plan is Disabled

    This status indicates that the backup plan is paused. When a plan is paused, Cloud Backup no longer backs up the Tablestore instance. You must enable the backup plan to resume backups.

Related operations

After you create a backup plan, you can perform the following operations.

Operation

Description

Plan Status

This is the switch for the backup plan. It is enabled by default after the plan is created. To pause the plan, turn off the Plan Status switch.

Edit

If a created Tablestore backup job does not meet your requirements, you can edit the backup plan.

Perform Full Backup Now

Immediately start a full backup job.

Perform Incremental Backup Now

Immediately start an incremental backup job.

Alert Settings

Set alerts for backup jobs.

  • Disabled: No alert notifications are sent.

  • Same as Backup Vault: Use the same alert method as the backup vault.

  • Notify Main Account: Send notifications to the Alibaba Cloud account by email.

  • Custom: Select one or more contacts or contact groups. After the configuration is complete, the client sends backup alerts to the selected contacts or contact groups.

To add an alert contact, see Manage alert contacts.

Delete

Delete the backup plan. After a backup plan is deleted, it no longer runs. However, the existing backup data is retained.

What to do next

Restore a Tablestore data table

References