All Products
Search
Document Center

PolarDB:Use DBS for logical backup

Last Updated:Mar 28, 2026

Data Disaster Recovery (DBS) supports logical backups for PolarDB for MySQL. This topic walks you through configuring a DBS backup plan for your PolarDB for MySQL cluster.

Prerequisites

Before you begin, make sure you have:

  • A DBS backup plan with Database Type set to MySQL and Backup Method set to Logical Backup. See Create a backup plan

  • (Required for incremental backup only) Binary logging enabled on your PolarDB for MySQL cluster. See Enable binary logging

Billing

DBS charges based on the volume of backup data stored. For pricing details, see Backup storage costs.

If you have a large or predictable backup volume, a DBS storage plan (subscription) is more cost-effective than pay-as-you-go.

Releasing your PolarDB cluster does not stop the backup plan or its charges. To stop billing, release the backup plan separately. See Release or unsubscribe from a backup plan.

Configure the backup plan

The configuration has five stages:

  1. Set the backup source and destination.

  2. Select the backup objects (databases or tables).

  3. Set the backup schedule.

  4. Set the data retention period.

  5. Run the precheck and start the plan.

Step 1: Open the backup plan

  1. Log on to Data Management (DMS) 5.0.

  2. In the top navigation bar, choose Security and disaster recovery (DBS) > Data Disaster Recovery (DBS) > Backup Plan.

    In simple mode, hover over the 2023-01-28_15-57-17.png icon in the upper-left corner, then choose All Features > Security and disaster recovery (DBS) > Data Disaster Recovery (DBS) > Backup Plan.
  3. On the Backup Schedules page, find the backup schedule you want to configure and click Configure Backup Schedule in the Actions column.

    image.png

Step 2: Configure the backup source and destination

On the Configure Backup Source and Destination page, fill in the parameters below, then click Next.

image

Backup source

ParameterDescription
Backup Plan NameA name for the backup schedule. DBS generates a name automatically — replace it with something descriptive. Names don't need to be unique.
Backup MethodDefaults to the method selected when you purchased the plan. This example uses Logical Backup.
Location of DatabaseSelect PolarDB.
Instance RegionThe region where the source PolarDB instance resides.
Database TypeDefaults to MySQL.
PolarDB Instance IDThe PolarDB for MySQL instance to back up.
Database AccountAn account with the required backup permissions. See Account permissions.
PasswordThe password for the database account. Click Test Connection to verify the credentials.
Compliance warranty regarding cross-border data transfersRead and select the check box to agree.

Backup destination

ParameterDescription
Backup Destination Storage TypeDBS Storage (recommended) or OSS For User. See the storage type comparison below.
Storage MethodEncrypted (recommended): data is encrypted using Advanced Encryption Standard (AES) 256 with OSS server-side encryption. Non-encrypted: encryption is disabled.

Choosing a storage type

DBS StorageOSS For User
SetupNo bucket neededCreate an OSS bucket in advance. See Create a bucket in the console.
Storage classManaged by DBSOSS Standard only
If you select OSS For User, also configure the Object Storage Service (OSS) Bucket Name parameter.

Step 3: Select backup objects

On the Edit Backup Objects page, move the databases or tables to back up into the Selected box, then click Next.

  • Back up specific tables, a single database, or multiple databases. Click Select All in the lower-left corner to select everything.

  • The available backup objects depend on the database type. See Supported database types and features.

Backup jobs do not automatically include newly created databases. To back up a new database, add it to the backup plan configuration. See Modify backup objects.

Step 4: Set the backup schedule

On the Configure Backup Time page, configure the schedule, then click Next.

ParameterDescription
Full Backup FrequencyPeriodic Backup or Single Backup. Selecting Periodic Backup requires setting Full Data Backup Recurrence and Start At.
Full Backup PeriodThe day(s) of the week to run full backups. Select at least one day.
Full Backup Start TimeThe start time. Set this to an off-peak window (for example, 01:00).
Incremental BackupEnable to capture ongoing changes between full backups. Requires binary logging on PolarDB for MySQL. Only available when Full Backup Frequency is set to Periodic Backup.
Maximum number of parallel threads for full backupControls backup concurrency. Reduce this value to minimize impact on the database during backup.
Backup network speed limitBandwidth throttling for the backup job. Default is 0 (no limit).
If a full backup is still running when the next scheduled backup is due, DBS skips the next backup.

Step 5: Set the retention period

On the Edit Lifecycle page, specify how long to keep full backup data in DBS Storage.

If you enabled Incremental Backup in the previous step, also set a retention period for incremental backup data. For details on lifecycle management, see How to manage the lifecycle.

Step 6: Run the precheck and start

  1. Click Precheck in the lower-right corner.

  2. After the precheck passes, click Start Task in the Precheck dialog box.

The backup plan is active when its Status changes to Running.

If the backup plan shows an abnormal status or error, troubleshoot it promptly. See How to fix an abnormal DBS backup plan. For further help, join the DBS customer consultation DingTalk group (ID: 35585947).

FAQ

Why can't I find my backup plan ID on the Backup Plans page?

The backup plan ID only appears after the plan is created. If you haven't created one yet, see Create a backup plan.

Why am I still being charged after releasing my PolarDB cluster?

DBS backup plans are billed independently of the cluster. Releasing the cluster does not stop the backup plan or its charges. To stop billing, release the backup plan separately. See Release or unsubscribe from a backup plan.

Why did the "Enable Binlog in Source Database" precheck fail?

Binary logging is not enabled on your PolarDB for MySQL cluster. Log on to the PolarDB console and enable it before retrying. See Enable binary logging.

What's next

Back up a PolarDB for MySQL database using logical backup