Help Center/ Document Database Service/ User Guide/ Data Backups/ Setting Backup Method for a DB Instance
Updated on 2024-08-08 GMT+08:00

Setting Backup Method for a DB Instance

DDS allows snapshot backup for a DB instance.

Huawei Cloud has discontinued the sale of DDS single node instances since July 15, 2023.

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. On the Instances page, click the instance name.
  5. In the navigation pane on the left, choose Backups & Restorations.
  6. On the Backups & Restorations page, click Set Backup Policy.

    Figure 1 Setting backup method for a DB instance
    Table 1 Parameter description

    Parameter

    Description

    Retention Period (days)

    Number of days that your automated backups can be retained. The retention period is from 1 to 732 days and the default value is 7.

    • Extending the retention period improves data reliability. You can configure the retention period if needed.
    • If you shorten the retention period, the new backup policy takes effect for existing backups. Any automated backups (including full and incremental backups) that have expired will be automatically deleted. Manual backups will not be automatically deleted but you can delete them manually.

    Time Zone

    The default backup time zone is the UTC time.

    Time Window

    The backup interval is one hour. You are advised to set the backup window to an off-peak period.

    Backup Cycle

    • If you set the retention period to 1 to 6 days, data is automatically backed up each day of the week and the backup cycle cannot be changed.
    • If you set the retention period to 7 to 732 days, you must select at least one day of the week for the backup cycle.

    Backup Method

    • Physical: Data is copied from physical disks.
    • Snapshot: The data status at a particular point in time is retained. Compared with physical backup, snapshot backup is faster.
    • Logical: A tool is used to read data and logically export the data.

  7. Set Backup Method to Snapshot and click OK.