After you enable incremental log backup, the lifecycle of incremental backup data is the same as that of full backup data. This topic describes how to enable or disable incremental log backup.

Prerequisites

  • The incremental log backup feature is supported by the database for which you want to enable this feature.
    Note For more information, see Database engines and features.
  • The binary logging feature is enabled for the database for which you want to enable incremental log backup.
    Note
    • By default, the binary logging feature is enabled for an ApsaraDB RDS for MySQL instance. If you use a self-managed database, you must manually enable the binary logging feature.
    • For more information about how to enable the binary logging feature for a PolarDB for MySQL instance, see Enable binary logging.

Procedure

  1. Log on to the Database Backup (DBS) console. In the left-side navigation pane, click Backup Schedules. The Backup Schedules page appears.
  2. Find the backup schedule that you want to manage and click Manage in the Actions column. The Configure Task page appears.
  3. Enable or disable incremental log backup for the backup schedule based on your business requirements.
    • Enable incremental log backup
      1. In the Task Running Information section, click Enable Transaction Log Backup.
      2. Click OK.
      3. The Precheck dialog box appears. After the precheck is complete, click Start Task.
        Note If the precheck fails, try again as prompted.
    • Disable incremental log backup
      1. In the Task Running Information section, click Disable Transaction Log Backup.
      2. Click OK.
      Note After you disable incremental log backup, incremental data is no longer backed up. Historical incremental backup data is automatically cleared after the retention period expires.