Updated on 2023-03-15 GMT+08:00

Creating a Manual Backup

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

Description

  • Backup type

    Full backup: All data is backed up even if no data is updated since the last backup.

  • Backup mode

    Physical backup: Data is copied from physical disks.

  • Table 1 lists the manual backup methods supported by DDS.
    Table 1 Backup methods

    Instance Type

    Backup Mode

    Backup Type

    Cluster

    Physical backup

    Full backup

    Replica set

    Physical backup

    Full backup

    Single node

    NOTE:

    Single node instances apply to only a few scenarios. You are advised to use a single node instance only for learning.

    Physical backup

    Full backup

Pricing Details

  • You can check your expenditure records for DDS backup fees by going to Billing Center > Bills.

Precautions

  • The backup process does not affect services.
  • When you delete a DB instance, its automated backups are also deleted but its manual backups are retained.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. Create a manual backup on the DDS console in any of the following ways:

    • On the Instances page, locate an available instance and choose More > Create Backup in the Operation column.
      Figure 1 Method 1: Creating a backup
    • On the Instances page, choose Backups in the navigation pane on the left. On the displayed page, click Create Backup.
      Figure 2 Method 2: Creating a backup
    • On the Instances page, click an available DB instance. In the navigation pane on the left, choose Backups & Restorations. On the Backups & Restorations page, click Create Backup.
      Figure 3 Method 3: Creating a 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 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. View the results.

    • During the creation of a manual backup, you can query the backup status on the Backups or the Backups & Restorations page. 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.