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

What Is a File System Snapshot?

PDF
フォーカスモード
フォントサイズ
最終更新日: 2024-01-22 22:15:48

Overview

Real-time replica of online data Snapshots are fully usable copies of file systems. When a problem occurs in a file system for which a snapshot has been created, you can use the snapshot to quickly restore the file system to normal status. We recommend you create a snapshot of the file system before making any major changes to your business, so that data can be quickly restored if the business changes fail.
Persistent backup at critical milestones Snapshots can be used as persistent backups of business data to keep the business data at milestones.
Quick business deployment Snapshots allow you to quickly clone multiple file systems for quick service deployment.

How snapshots work

A file system snapshot is a block-level clone or backup. In general, the snapshot size will be larger than the data size displayed in the file system because:
The underlying data block stores the metadata of the file system.
Deleting data modifies the blocks where data is written, which will be backed up to snapshots.

Use cases

Snapshots provide a convenient and efficient data protection service, which can be used in the following business scenarios:
Daily data backup You can use snapshots to regularly back up critical business data to avoid data loss caused by incorrect operations, attacks, and viruses.
Quick data recovery You can create snapshots before performing major operations, such as changing the operating system, upgrading applications, or migrating business data. If any problem occurs, you can use snapshots to restore the business data.
Application of multiple replicas of production data You can create snapshots for the production data to provide near real-time data for applications such as data mining, report query, and development testing.
Quick environment deployment You can use an existing snapshot to create one or more file systems to quickly deploy the same business environment in batches, saving the time of repeated configuration.

Billing

Quota limits

For details on snapshot quota limits, see Use Limits.

Snapshot types

Manual snapshot You can manually create a snapshot for a file system at a certain point in time. This snapshot can be used to create more file systems with identical data. For more information, see Creating Snapshots.
Scheduled snapshot If your business data changes frequently, you can use scheduled snapshots to provide continuous data backups. To achieve continuous backups of file system data over a certain time period, you only need to configure a backup policy and associate it with file systems, significantly enhancing data security. For more information, see Scheduled Snapshot.
Note:
During snapshot creation, application data saved in the memory may not be persistently stored. As such, snapshots may not capture the latest and all file system data. Refer to Notes to ensure snapshot data consistency.

Case review

Case 1: No manual snapshots were created before high-risk operations, resulting in data loss

Customer A has never created a snapshot for its file system. In May 2019, an operator performed a fio test on the file system, resulting in corruption of the file system. The data was permanently damaged. Analysis: If customer A has created a snapshot for the file system before testing, the snapshot can be used to create a new file system and resume business immediately after the data corruption.

Case 2: No scheduled snapshots were created for important data disks, resulting in data loss

Customer B created snapshots for multiple file systems, except those purchased after January 2019 for cost reasons. In June 2019, a file system without snapshot protection suffered an unrecoverable data loss due to an accidental deletion of system-layer file data. Analysis: If customer B has created scheduled snapshots for this file system, the data can be recovered to the point in time when the last snapshot was created, thereby minimizing loss. After the incident, customer B created a snapshot for that file system to enhance data protection.

Case 3: Using the scheduled snapshot to roll back data and restore business after an incorrect operation

Customer C created snapshots for all file systems. In May 2019, a startup exception occurred due to an incorrect operation. Analysis: Customer C promptly restored data using the scheduled snapshot that was created two days ago, and the business remains stable.
These cases all involve data loss due to incorrect operations, but the results are different. By comparison, we can find that:
In situations where a snapshot hasn't been created, data is rarely recoverable when a server or file system exception occurs, resulting in major loss.
In situations where a snapshot has been created, data can be recovered when a server or file system exception occurs, minimizing loss.
We recommend regularly creating snapshots for businesses based on business types, enhancing data security and achieving low-cost, high-efficiency disaster recovery.

ヘルプとサポート

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

フィードバック