tencent cloud

Cloud File Storage

Releases Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Strengths
Storage Classes and Performance
Use Cases
Recommended Regions
Use Limits
Service Regions and Service Providers
Purchase Guide
Billing Overview
Pricing Overview
General Series Billing
Turbo Series Billing
High-Throughput CFS Billing
Billing Mode
IA ‍Storage Billing
Storage Resource Units
Resource Purchase
Viewing Bills
Arrears Reminder
Getting Started
Creating File Systems and Mount Targets
Using CFS File Systems on Linux Clients
Using CFS File Systems on Windows Clients
Using CFS Turbo on Linux Clients
Using the CFS Client Assistant to Mount File Systems
Operation Guide
Access Management
Managing File Systems
Permission Management
Using Tags
Snapshot Management
Guide for Cross-AZ and Cross-Network Access
Automatically Mounting File Systems
Data Migration Service
User Permission Management
User Quotas
Data Encryption
Data Lifecycle Management
Upgrading Standard File Systems
Practical Tutorial
Selecting Kernels for NFS Clients
Managing Turbo CFS Directories
Terminating Compute Instances
Using CFS on TKE
Using CFS on SCF
Using CFS Turbo on TKE
Using CFS Turbo on TKE Serverless Cluster
Selecting a Network for Turbo CFS
Copying Data
CFS Storage Performance Testing
API Documentation
History
Introduction
API Category
Snapshot APIs
File system APIs
Lifecycle APIs
Other APIs
Data Flow APIs
Making API Requests
Permission Group APIs
Service APIs
Scaling APIs
Data Migration APIs
Data Types
Error Codes
Troubleshooting
Client Use Bottleneck due to Large Number of Small Files or Parallel Requests
FAQs
CFS Service Level Agreement
Contact Us
Glossary

Creating a Snapshot

PDF
フォーカスモード
フォントサイズ
最終更新日: 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.




ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック