A snapshot is a point-in-time backup of a disk. Snapshots can be used to back up data, recover data after accidental instance releases, recover data after network attacks, and create custom images. This topic describes how to use the Simple Server Application console to create and delete snapshots, roll back disks based on snapshots, and create custom images from snapshots.

Background information

The maximum number of snapshots that you can retain within your account is three times the number of the simple application servers that you have, but cannot exceed 15. If a simple application server is reset or is automatically released when it expires, the snapshots created for the disks of this server are deleted.

Create a snapshot

  1. Log on to the Simple Application Server console.
  2. In the left-side navigation pane, click Servers.
  3. On the Servers page, find the simple application server for whose disk you want to create a snapshot and click the card of the server.
  4. In the left-side navigation pane, choose Server Maintenance > Disk.
  5. In the System Disk or Data Disk section, click Create Snapshot in the Actions column.
    If no data disk is attached to your simple application server, you can create snapshots only for the system disk.
  6. In the Create Snapshot dialog box, confirm the disk information, enter a snapshot name, and then click OK.
  7. In the left-side navigation pane, choose Server Maintenance > Snapshots to view the created snapshot.

Roll back a disk by using a snapshot

Before you roll back a disk attached to a simple application server, take note of the following items:
  • The rollback operation is irreversible. After a disk is rolled back, all data changes made from when the snapshot was created to when the disk is rolled back are lost. To avoid data loss caused by incorrect operations, we recommend that you create a snapshot for the disk before you roll back the disk.
  • If the simple application server is in the Running (Running) state when you roll back the disk, the system stops the server to roll back the disk.
  1. Log on to the Simple Application Server console.
  2. In the left-side navigation pane, click Servers.
  3. On the Servers page, find the simple application server whose disk you want to roll back and click the card of the server.
  4. In the left-side navigation pane, choose Server Maintenance > Snapshots.
  5. Find the snapshot that you want to use for the rollback operation and click Rollback in the Actions column.
  6. In the Rollback Disk dialog box, confirm the disk information and click OK.
    The system stops the simple application server to roll back the disk and then restarts the server for the rollback operation to be complete.

Delete a snapshot

  1. Log on to the Simple Application Server console.
  2. In the left-side navigation pane, click Servers.
  3. On the Servers page, find the simple application server for which you want to delete a snapshot and click the card of the server.
  4. In the left-side navigation pane, choose Server Maintenance > Snapshots.
  5. Find the snapshot that you want to delete and click Delete in the Actions column.

What to do next

You can create custom images from snapshots to save data of simple application servers. The created custom images can be shared to Elastic Compute Service (ECS) or used to create simple application servers that have the same configurations as the source servers. For more information, see Overview.