tencent cloud

피드백

Creating a Snapshot

마지막 업데이트 시간:2024-01-22 22:15:48

    Overview

    You can create snapshots for a file system to save its data at specific points of time. The file system snapshot feature adopts the incremental mode to create snapshots, and it creates a snapshot that records only the data changes compared with the last snapshot. This process is quick if the data changes a little. Although snapshots are created in incremental mode, if there are snapshots available, you can always use an undeleted snapshot to restore the data at the time when the snapshot is created.
    You can create a snapshot of a file system in the normal state, but the snapshot can only capture the written data rather than data being written by an app or process. Therefore, according to your business needs, you can choose to temporarily stop all data writes and create a snapshot after data synchronization to obtain a complete snapshot.

    Prerequisites

    You have activated CFS.
    Note:
    Currently, only Standard and High-Performance file systems support the snapshot feature.
    You have not reached the upper limits for the number and total size of snapshots in the current region. For more information, see Use Limits.

    Notes

    A snapshot can only capture the written data but not cached data in the memory (such as files in the /run directory in a Linux system) of a file system. We strongly recommend that you ensure that all data in the memory is written to the file system and suspend read and write operations of the file system before creating a snapshot. The recommended method for writing data in the memory to the file system is as follows:
    For better system performance, data is stored in the memory buffer before it is written to the file system at a proper moment. Therefore, the snapshot created for the file system does not contain data that is stored in the memory buffer and is not written to the file system. As a result, data inconsistency occurs.
    To resolve this issue, run the sync command to forcibly write the data in the memory buffer immediately to the file system, and ‍do not write new data to the file system before creating a snapshot. If no error message is returned after the command is executed, the data in the memory buffer has been successfully written to the file system.
    

    Directions

    1. Log in to the CFS console.
    2. Click Create Snapshot in the row of the target file system.
    3. In the pop-up window, enter a snapshot name and click OK.
    
    
    
    문의하기

    고객의 업무에 전용 서비스를 제공해드립니다.

    기술 지원

    더 많은 도움이 필요하시면, 티켓을 통해 연락 바랍니다. 티켓 서비스는 연중무휴 24시간 제공됩니다.

    연중무휴 24시간 전화 지원