All Products
Search
Document Center

:Create a snapshot

Last Updated:Dec 16, 2024

Before you perform important operations, such as rolling back cloud disks, modifying critical system files, and replacing operating systems, we recommend that you create snapshots for system disks or data disks to back up data. If unexpected issues or data loss occurs, you can use the snapshots to restore data and ensure business continuity. This topic describes how to create a snapshot for a cloud disk.

Prerequisites

The disk for which you want to create a snapshot is in the In Use or Pending state. The following list describes the mappings between the statues of the cloud disk and the RDS Custom instance:

  • If the cloud disk is in the In Use state, make sure that the RDS Custom instance to which the cloud disk is attached is in the Running or Stopped state.

  • If the cloud disk is in the Pending state, make sure that the cloud disk has been attached to an RDS Custom instance. Snapshots cannot be created for cloud disks that have never been attached to an RDS Custom instance.

Usage notes

When you create a snapshot, take note of the following items:

  • Do not perform operations that change the status of the associated RDS Custom instance, such as stopping or restarting the instance. Otherwise, snapshot creation fails.

  • We recommend that you create snapshots during off-peak hours because snapshot creation degrades disk I/O performance by up to 10% and slows down data reads and writes.

  • If operations are performed on the cloud disk and incremental data is generated when a snapshot is being created, the incremental data is not included in the snapshot.

  • You cannot resize a cloud disk for which a snapshot is being created. Wait until the snapshot is created before you resize the cloud disk.

  • After you create snapshots, you are charged snapshot storage fees per region based on the total size of the snapshots that are stored in the region.

Procedure

This section describes how to create a snapshot on the Storage and Snapshots page.

Note

You can also create a snapshot on the Storage Information page of the instance. On the Instances page, click the ID of the required RDS Custom instance. In the left-side navigation pane of the page that appears, click Storage Information. On the page that appears, find the cloud disk for which you want to create a snapshot and click Create Snapshot in the Actions column.

  1. Log on to the ApsaraDB RDS console. In the left-side navigation pane, choose RDS Custom > Storage and Snapshots.

  2. On the Custom Disk tab, find the cloud disk for which you want to create a snapshot and click Create Snapshot in the Actions column.

  3. In the Create Snapshot dialog box, configure a value for Snapshot Name and click OK.

Related API operation

You can also call the CreateRCSnapshot operation to create a snapshot for a disk. For more information, see CreateRCSnapshot.