• Document Database Service

dds
  1. Help Center
  2. Document Database Service
  3. User Guide
  4. Managing DDS DB Instances
  5. Backup and Restore
  6. Creating a Manual Backup

Creating a Manual Backup

Scenarios

This section guides you on how to create a manual backup. Creating a backup for a DB instance helps ensure data can be restored if needed, ensuring data reliability.

NOTE:

When you delete a DB instance, its automated backups are also deleted but its manual backups are retained.

Method 1

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click Service List. Under Database, click Document Database Service.
  4. On the Instance Management page, locate an available DB instance on the Clusters tab and click Create Backup. Or locate an available DB instance on the Replica Sets tab and choose More > Create Backup.
  5. In the displayed dialog box, specify Backup Name and Description and click OK.

    • The manual backup name can be 4 to 64 characters long. It must start with a letter and can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).
    • The description contains a maximum of 256 characters and cannot contain the carriage return character and the following special characters: >!<"&'=

  6. Check the result:

    • During the creation of a manual backup, you can query the backup status on the Backup Management page or the Backups & Restorations tab. The backup status is Backing up. The time it takes to complete the backup depends on the size of the job.
    • If the manual backup is successfully created, the backup status is Complete. The manual backup type is Manual and the backup method is Physical.

Method 2

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click Service List. Under Database, click Document Database Service.
  4. On the Backup Management page, click Create Backup. In the displayed dialog box, select a DB instance type, select the target DB instance from DB Instance Name, specify Backup Name and Description, and click OK.

    • Only instances in Available status can be manually backed up.
    • The manual backup name can be 4 to 64 characters long. It must start with a letter and can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).
    • The description contains a maximum of 256 characters and cannot contain the carriage return character and the following special characters: >!<"&'=

  5. Check the result:

    • During the creation of a manual backup, you can query the backup status on the Backup Management page or the Backups & Restorations tab. The backup status is Backing up. The time it takes to complete the backup depends on the size of the job.
    • If the manual backup is successfully created, the backup status is Complete. The manual backup type is Manual and the backup method is Physical.

Method 3

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click Service List. Under Database, click Document Database Service.
  4. On the Instance Management page, locate an available DB instance on the Clusters tab or the Replica Sets tab and click its name.
  5. On the Backups & Restorations tab, click Create Backup. In the displayed dialog box, specify Backup Name and Description and click OK.

    • The manual backup name can be 4 to 64 characters long. It must start with a letter and can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).
    • The description contains a maximum of 256 characters and cannot contain the carriage return character and the following special characters: >!<"&'=

  6. Check the result:

    • During the creation of a manual backup, you can query the backup status on the Backup Management page or the Backups & Restorations tab. The backup status is Backing up. The time it takes to complete the backup depends on the size of the job.
    • If the manual backup is successfully created, the backup status is Complete. The manual backup type is Manual and the backup method is Physical.