Snapshot

Prev Next

Available in Classic

You can create a snapshot to save the storage data, and create storage after replicating a snapshot from the Region where it is created to another Region. Also, if you create new storage in a server using the created snapshot, you can recover the saved data.

Note
  • Additional fees apply when you use the snapshot feature. For more information about the pricing plan, see Pricing information on the portal.
  • Bare metal servers do not support the snapshot feature.

Check snapshot information

Describes the Snapshot interface configuration and how to view snapshot information.

Snapshot interface

From the NAVER Cloud Platform portal, navigate to Console > i_menu > Services > Compute > Server > Snapshot to view the Snapshot interface.

The Snapshot interface includes the following components:
server-snapshot-classic_screen_ko

Component Description
① Menu name Current menu name and the number of created snapshots.
② Basic features Features displayed when you first access the Snapshot menu.
  • [Create storage]: Create storage with snapshot you selected.
  • [Learn more]: Go to the Block Storage overview page.
  • [Download]: Download the snapshot list as an Excel file.
  • [Refresh]: Reload the snapshot list.
③ Post-creation features Features available after creating a snapshot.
④ Search bar Searches by snapshot name and original storage name.
⑤ Snapshot list List of created snapshots.
  • Snapshot name (Instance ID): Snapshot name you entered when creating a snapshot and the automatically assigned unique ID.
  • OS: Information about the operating system of the server.
  • Status/Progress: The current status of the snapshot.
    • Creating: The status in which the snapshot is being created with the information you entered.
    • Created: The status in which the snapshot has been created and is available for normal use.
    • Returning: The status in which the snapshot is being deleted.
    • Replicating: The status in which the current snapshot is being replicated by running Create storage with snapshot.
  • Original storage name: The name of the original storage from which the snapshot was created.
  • Total size: The capacity of the snapshot provided in GB.
  • Creation date and time: The date and time when the snapshot was created.

Create snapshot

You can create full storage snapshots that save all data within the storage as of the time the snapshot is created.
To create a snapshot:

  1. In the Classic environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Compute > Server.
  2. Click the Storage menu.
  3. From the storage list, click to select the storage you want to create a snapshot of, and then click Create snapshot.
  4. From the Create snapshot popup, enter the information of the snapshot to be created, and then click [Next].
    • Snapshot name: Must be 3-30 characters long and begin with a letter. They must contain uppercase and lowercase letters, numbers, hyphens, and/or underscores.
  5. After checking the settings, click [Create].
  6. In the popup, review the details and click [OK].
    • The snapshot is created and displayed in the list.

Create storage with snapshot

You can create storages by using snapshots to recover saved data.
For more information about how to create the storage with snapshots and how to configure the server by OS, see the following guides:

Caution

You can create storage with the snapshot only when the operating system of the server that the original storage of the snapshot is connected to is the same as that of the server you want to create storage on.

1. Create storage on console

First, use a snapshot to create storage from the console.
To create the storage using a snapshot:

  1. In the Classic environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Compute > Server.
  2. Click the Snapshot menu.
  3. On the snapshot list, select the snapshot you want to create storage with, and click [Create storage].
  4. From the Create storage popup, set the information of the storage to be created, and click [Create].
    • Snapshot name: The name of the snapshot you want to create storage for.
    • Storage volume type: Select the type you want according to the purpose of use.
      • Select SSD for high-performance I/O and HDD for general services.
    • Storage name: Must be 3-30 characters long and begin with a letter. They must contain uppercase and lowercase letters, numbers, hyphens, and/or underscores.
      • If you don't enter anything, the storage name is automatically created.
    • Zone: Select the zone to place the storage.
    • Select server: Select the server to which you want to connect the storage.
    • Size and Max IOPS values are automatically applied and cannot be changed.
    • Memo: Enter a description of the storage to be created.
  5. Review the settings and click [OK].
    • Storage is created. You can check the created storage from the Storage menu.

2. Set server (Linux)

To add the storage created by the snapshot to the Linux server, proceed with the following steps in order:

1. Check storage identifier and file system type.
2. Change storage identifier.
3. Mount storage.

1. Check storage identifier and file system type

Check storage identifier and file system type.

  1. Access the Linux server to which the storage is connected.
  2. Check the storage identifier and file system type created by the snapshot through the blkid command.
    • The storage identifier is displayed as the UUID value.
    • The file system type is displayed as the TYPE value. .
  3. According to the result of Step 2, proceed with the following steps:

2. Change storage identifier

If the identifier of the storage in the original server is the same as the identifier of the created storage, the storage cannot be mounted in the following cases:

  • Creating a snapshot in one of the existing storages of the server to which storages were added
  • Creating a snapshot from the basic boot storage of another server

If applicable, you need to first change the identifier of the created storage.
1. Check storage identifier and file system type, proceed with the task according to the file system type checked in it.

xfs file system type

To change the identifier of a storage using the xfs file system: The description is based on the xvdb1 storage.

Caution

Since /dev/xvda is the device file name of the basic boot storage, do not change this identifier. If you change the identifier of the basic boot storage, the server may not be able to boot.

  1. Enter the xfs_repair -L /dev/xvdb1 command.
    • The storage identifier of xvdb1 is deleted.
  2. Enter the xfs_admin -U generate /dev/xvdb1 command.
    • A new identifier is created for the xvdb1 storage.
  3. Check if it is changed into a new identifier by the blkid command.

ext4 file system type
To change the identifier of a storage using the ext4 file system: The description is based on the xvdb1 storage.

Caution

Since /dev/xvda is the device file name of the basic boot storage, do not change this identifier. If you change the identifier of the basic boot storage, the server may not be able to boot.

  1. Enter the tune2fs -U "UUID" /dev/xvdb1 or tune2fs -U random /dev/xvdb1 command.
    • Enter the desired storage identifier into the "UUID" location and run it.
    • The random option sets the UUID as a random value.
Note

You can create a new UUID by entering the uuidgen command.

  1. Check if it is changed into a new identifier by the blkid command.
    The following errors may occur if the UUID is changed with the tune2fs command after creating and allocating a snapshot and storage while operating the server for the basic boot storage of the ext4 file system type.

    Note

    For the booting disk, create the snapshot when the server is stopped to prevent data loss issues.

    # tune2fs /dev/xvdb1 -U random
    This operation requires a freshly checked filesystem.
    Please run e2fsck -f on the filesystem.
    

    Perform the following procedures in the relevant cases:

    1. Check storage device status
    # file -s /dev/xvdb1
    

    Check if the phrase "needs journal recovery" is output in the command execution result value. If the phrase is output, it means that the file system is damaged. Conduct the file system inspection and recovery with the following commands:

    1. Conduct the file system inspection and recovery
    # e2fsck -f /dev/xvdb1 -y
    
    1. Conduct the storage identifier change task
    # tune2fs /dev/xvdb1 -U random
    

3. Mount storage

See Mount storage to mount the created storage.

Note

Since the storage data is read and recovered from the snapshot, skip the disk partition and storage format tasks.

2. Set server (Windows)

To add the storage created by the snapshot to the Windows server, set the storage status to online.
To set the storage status online on the Windows server:

  1. Access the Windows server to which the storage is connected.
  2. After clicking i-server_window_start, navigate to Windows Administrative Tools > Computer Management > Disk Management.
    • Alternatively, you can enter diskmgmt.msc on the run command window.
  3. Find the disk marked with Offline from the disk list, right-click the button, and click Online.
    • You can now use the storage.
Note

Since the storage data is read and recovered from the snapshot, skip the disk partition and storage format tasks.

Replicate snapshot

To replicate the created snapshot to another Region:

  1. In the Classic environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Compute > Server.
  2. Click the Snapshot menu.
  3. From the snapshot list, click to select the snapshot to replicate, and then click [Replicate to another Region].
  4. From the Replicate to another Region popup, select the Region you want to replicate the snapshot to, enter the snapshot name, and then click [Create].
  5. In the popup, review the details and click [OK].
    • It may take several minutes to several hours to replicate a snapshot depending on the size of the snapshot you want to replicate.
    • You can't cancel replication or delete the snapshot that is being replicated until the replication is completed.

Delete snapshot

To delete the created snapshot:

Caution

Deleted snapshot data can't be recovered. Make sure to review carefully before deleting.

  1. In the Classic environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Compute > Server.
  2. Click the Snapshot menu.
  3. Click to select the snapshot to delete from the snapshot list, and click [Delete snapshot].
  4. In the confirmation popup, review the details and click [Yes].
    • The snapshot is deleted and disappears from the list.