Облачная платформаAdvanced

EVS Snapshot Overview

Эта статья полезна?
Язык статьи: Английский
Перевести

Data security is critical to daily enterprise operations. However, data loss can still occur due to misoperations, software faults, or malicious attacks. Such incidents pose significant challenges to service continuity and data recovery. An EVS snapshot is a point-in-time copy or image of the disk data and serves as a key approach to data disaster recovery. When data is lost, the ability to restore it quickly and effectively becomes critical. With EVS snapshots, enterprises can restore data to the time when the snapshot was created, helping ensure service continuity and data security.

Benefits of EVS Disk Snapshots

  • Efficient incremental storage: Snapshots use an incremental storage mechanism. The first snapshot is a full snapshot, and subsequent snapshots only capture changed data blocks. This avoids repeated full backups, greatly reducing both storage use and cost.
  • Fast data restoration: If an EVS disk encounters data errors, you can quickly restore it to the previous healthy state captured in the snapshot, minimizing service downtime.
  • No impact on online services: Snapshots can be created without stopping the cloud server or detaching the disk. The system continues to run, enabling hot backup.
  • High data security and reliability: If encryption is enabled for the source disk, the snapshot automatically inherits the encryption attribute. This ensures data confidentiality during both storage and transmission.

Snapshot Usage Scenarios

The snapshot function helps address your following needs:

  • Routine data backup

    You can create snapshots of your disks regularly and use them to restore your data if data loss or data inconsistency occurs due to accidental operations, viruses, or attacks.

  • Rapid data restoration

    You can create a snapshot or multiple snapshots before an application software upgrade or a service data migration. If an exception occurs during the upgrade or migration, service data can be rapidly restored to the time when the snapshot was created.

    For example, a fault occurred on system disk A of server A, and therefore server A cannot be started. As system disk A is already faulty, data on system disk A cannot be restored by rolling back data from snapshots. However, you can create disk B using an existing snapshot of system disk A and attach disk B to a properly running server, for example server B. In this case, server B obtains the data of system disk A from disk B.

    Note

    When rolling back data from snapshots, data can only be rolled back to the source disk, and a rollback to a different disk is not possible.

  • Multi-service quick deployment

    You can use a snapshot to create multiple disks containing the same initial data. These disks can be used as data resources for various services, such as data mining, report queries, and development and testing. This method protects the initial data and creates disks rapidly, meeting diverse service requirements.

Snapshot Function

Table 1 Snapshot-related operations

Operation

Description

Reference

Creating snapshots

You can create a snapshot to save the disk data at a specific time.

NOTE:

Snapshots are read-only. After snapshots are created, data in the snapshots cannot be modified.

Creating an EVS Snapshot

Rolling back data

If data on a disk is incorrect or damaged, you can roll back data from a snapshot to the source disk.

Rolling Back Disk Data from a Snapshot

Creating disks from a snapshot

You can create new disks from a snapshot to quickly copy snapshot data to new disks.

Creating a Disk from a Snapshot

Checking snapshot information

You can check the snapshot details, including the region and AZ, source disk information, and tags.

Checking EVS Snapshot Details

Deleting snapshots

When using EVS, you may encounter insufficient storage space, especially when the number of snapshots approaches the quota limit. This can directly affect the creation of new snapshots and other storage needs. If certain snapshots are no longer required or the snapshot count reaches the maximum allowed, you can delete unnecessary snapshots. It is recommended that you regularly check the snapshot usage and delete unnecessary snapshots to free up storage space and optimize resource management.

Deleting an EVS Snapshot

Snapshot Principles

Creating snapshots establishes relationships between snapshots and the disk data. Snapshots are stored on the physical disks that provide storage resources for EVS disks.

The following example describes the snapshot principles with two snapshots s1 and s2 created for disk v1 at different points in time:

  1. Disk v1 was created with no data.
  2. Data d1 and d2 were written to disk v1, and they were written to new spaces.
  3. Snapshot s1 was created for disk v1, which was modified in step 2. Data d1 and d2 were not saved as another copy elsewhere. Instead, a relationship between snapshot s1 and data d1 and d2 was established.
  4. Data d3 was written to disk v1, and data d2 was changed to d4. Data d3 and d4 were written to new spaces, without overwriting data d2. The relationship between snapshot s1 and data d1 and d2 remained valid. Snapshot s1 can be used to restore data if needed.
  5. Snapshot s2 was created for disk v1, which was modified in step 4, and a relationship between snapshot s2 and data d1, d3, and d4 was established.

    Figure 1 Snapshot principles


Differences Between Disk Backups and Disk Snapshots

Both disk backups and disk snapshots provide redundancies for improved disk data reliability. Table 2 lists the differences between them.

Table 2 Differences between backups and snapshots

Item

Definition

Storage Solution

Data Synchronization

Service Recovery

Disk Backups

Provides backup for cloud servers, cloud disks, cloud databases, cloud desktops, SFS Turbo file systems, as well as cloud and local files and directories, protecting against threats such as viruses, accidental deletion, and software or hardware failures.

Backups are stored in OBS, instead of on disks. They can be used to restore data when the disk is damaged.

A backup is a copy of a disk taken at a given time and is stored in a different location. Automatic backup can be performed based on backup policies. Deleting a disk will not delete its backups.

You can use a backup to roll back data to its source disk or create a new disk. The data durability is high.

Snapshots

An EVS snapshot is a complete copy or image of the disk data taken at a specific time. Snapshot is a major disaster recovery approach. You can use a snapshot to restore disk data to the time when the snapshot was created.

Snapshots are stored on the physical disks that provide storage resources for EVS disks. Therefore, snapshots do not use the EVS disk space.

NOTE:

Creating a backup requires a certain amount of time because data needs to be transferred to OBS. Creating a snapshot or rolling back data from a snapshot consumes less time than creating a backup.

A snapshot captures the state of a disk at a specific point in time. If the disk is deleted, all its snapshots will also be deleted.

For example, if you reinstall or change the server OS, snapshots of the system disk will also be automatically deleted. Snapshots of the data disks can be used as usual.

You can use a snapshot to roll back data to its source disk or create a new disk.