Help Center/ Elastic Cloud Server/ Best Practices/ Restoring ECS Data/ Partitioning Disks and Rolling Back Data on a Windows ECS
Updated on 2025-08-07 GMT+08:00

Partitioning Disks and Rolling Back Data on a Windows ECS

Scenarios

If the data on a Windows ECS is lost due to deletion by mistake, formatting, or system breakdown, you can use specific tools or methods to restore the data.

Procedure

  1. Log in to the ECS.
  2. Partition disks.

    1. In the lower left corner of the desktop, enter Computer Management in the search box.

    2. Choose Storage > Disk Management.

    3. Right-click the partition of the disk you want to compress and choose Shrink Volume...

    4. Enter the desired size of the partition after compression in the Enter the amount of space to shrink in MB text box.

    5. Click Shrink. The unallocated space of the corresponding size is displayed for the disk.

    6. In the Unallocated area of the disk, right-click the blank area and choose New Simple Volume...

      The New Simple Volume Wizard window is displayed.

    7. Click Next to go to the Specify Volume Size page.
    8. Specify the volume size and click Next. The system selects the maximum volume size by default. You can specify the volume size as required. In this example, the default setting is used.

    9. Assign a drive letter or path to your partition and click Next. The system assigns drive letter D by default. In this example, the default setting is used.

    10. Specify format settings and click Next. The system selects the NTFS file system by default. You can specify a file system format as required. In this example, the default setting is used.

    11. Click Finish.

      Wait for the initialization to complete. When the volume status changes to Healthy, the initialization has succeeded.

  3. Create a snapshot.

    For details, see Creating an EVS Snapshot in the Elastic Volume Service User Guide.

  4. Roll back disk data from a snapshot.

    1. Log in to the Elastic Volume Service console.
    2. In the navigation pane on the left, choose Elastic Volume Service > Snapshots.

      The Snapshots page is displayed.

    3. In the snapshot list, locate the target snapshot and click Roll Back Disk in the Operation column.
    4. In the displayed dialog box, click OK.

      The snapshot list is displayed. After the snapshot status changes from Rolling back to Available, the data rollback is successful.