What is the difference between snapshots and backups?
A snapshot is the state of data recorded by a storage system at a specific point in time, stored on the same device and in the same storage pool as the original data. A backup, on the other hand, is a complete copy of the data stored on another device, a different type of media, or at another location.
Snapshots let you revert to a version from before an incident in seconds; backups give you an independent copy of your data to recover from if the entire device is damaged, stolen, or encrypted by ransomware. The difference lies in the levels of risk they address. Businesses need both snapshots and backups—not a choice between the two.
On Monday morning, colleagues in the sales department discovered that the quotations in the shared data folder had been overwritten by an erroneous sync the previous day. If NAS takes a snapshot every hour, IT can right-click in File Explorer, select “Restore previous versions,” and resolve the issue in five minutes. But if the entire hard disk drives fails, the snapshots on this NAS will disappear along with the original data. In that case, only a backup stored elsewhere can save the day.
What is a snapshot?
A snapshot is a record of the state of data at a specific point in time, not a complete copy. When creating a snapshot, the system does not copy all files again. Instead, it freezes the current data block mappings (metadata, an index describing where the data is stored). If files are subsequently modified, the system only records the changed blocks separately.
This snapshot recording method is called Copy-on-Write or Redirect-on-Write, giving snapshots three characteristics:
-
Quick to create: Usually takes only a few seconds, without interrupting the user's ongoing work.
-
Initially takes up almost no space: The snapshot size gradually increases as data changes, rather than taking up the space of a full copy from the start.
-
Can be created frequently: Snapshots can be created hourly or at even shorter intervals, preserving multiple points in time to which data can be restored.
Think of snapshots as placing bookmarks throughout a book and keeping track of which pages changed with each revision. Turn back to any bookmark, and you can see the content as it was at that point. But the bookmarks and revision records are all kept in the same book. If the book itself burns up, the bookmarks will be lost too.
The biggest limitation of snapshots is that they depend on the original Storage Space. If the hard disk drives group (RAID) is damaged, the entire device fails, or an account with administrative privileges is compromised and the snapshots are deleted, the points in time preserved by the snapshots will disappear along with the original data.
To prevent snapshots from becoming unusable if the storage pool is damaged or compromised, you can replicate them to another device or an off-site location. This copy is separate from the original storage pool, giving it the independence of a backup—for example, Snapshot Replica in QNAP NAS. However, if the off-site device remains connected and shares an administrator account with the primary device, the copy could still be deleted in the same attack. It is best to also retain an offline or immutable copy.
What is backup?
A backup is an independent copy of data stored on a different device from the original data, such as another NAS, an external hard disk drives, tape, or cloud storage. Even if the original device cannot boot at all, the backup can still be used on its own to restore the data.
Because backups require actually transferring data, they are usually slower than snapshots and require additional storage capacity and network bandwidth, so most businesses perform them daily or weekly. The strength of backups lies in isolation: the farther away they are stored and the more separated they are from everyday accounts and networks, the better they can withstand regional disasters or cybersecurity incidents.
In its #StopRansomware Guide, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) recommends that businesses maintain offline, encrypted backups of critical data and regularly test whether they can be successfully restored. This is because many types of ransomware deliberately seek out backups accessible over the network and delete or encrypt them first, leaving victims with no option but to pay the ransom.
Snapshots vs. backups: Differences at a glance
The table below summarizes the key practical differences between snapshots and backups:
| Comparison Items |
Snapshot |
Backup |
| Storage Location |
On the same device and in the same storage pool as the original data |
On another device, on a different type of media, or at an off-site location |
| Creation speed |
A few seconds |
Several minutes to hours, depending on data volume and bandwidth |
| Space usage |
Only records modified blocks; increases with the amount of changes |
At least one full copy, plus incremental versions |
| Typical frequency |
Hourly or more frequently |
Daily, weekly |
| Restore speed |
Within seconds; can restore a single file or an entire volume |
Slower; requires transferring data back from the backup device |
| Best suited for handling |
Accidental deletion, accidental modification, failed software updates, encryption attacks originating from a computer |
Device failure, RAID corruption, fires and floods, device theft |
| Unable to handle |
Damage to the original device or storage pool itself |
Data added between two backups (long intervals between versions) |
Why use snapshots and backups together?
Using only snapshots or only backups can leave you unable to recover from certain incidents. The table below compares five common scenarios:
| Incident scenario |
Snapshots only |
Backups only |
Snapshots + backups |
| An employee accidentally deletes or overwrites files |
Recoverable; restore within minutes |
Recoverable, but changes made since the last backup may be lost |
Recoverable; restore using the most recent snapshot |
| Ransomware infects an employee's computer and encrypts the shared data folder on NAS |
Recoverable by reverting to a snapshot taken before encryption |
Recoverable, but restoration takes longer |
Recoverable: restore the snapshot first, with backup as a second line of defense |
| NAS hard disk drives group damage or host failure |
Unrecoverable; snapshots are also lost |
Recoverable |
Recoverable |
| Server room fire, flooding, or equipment theft |
Cannot be recovered |
Can be recovered from off-site or cloud backups |
Can be recovered |
| Administrator account compromised; attacker deletes snapshots and local data |
Cannot be recovered |
Can be recovered from offline or immutable backups |
Can be recovered |
Combining snapshots with backups aligns with the industry's widely cited 3-2-1 backup principle: keep at least 3 copies of your data, store them on 2 different types of media, and keep 1 copy offsite. In recent years, this has evolved into the 3-2-1-1-0 principle to address ransomware, adding requirements for 1 offline or immutable copy and 0 errors in restore testing. Snapshots provide everyday “quick rollback,” while backups fulfill the offsite and offline protection requirements of the backup strategy.
How QNAP NAS combines snapshots and backups into a unified protection strategy
Snapshots are a standard feature of QNAP NAS, allowing you to create block-level snapshots of volumes and iSCSI LUNs through Storage & Snapshots. During recovery, you can revert an entire volume or restore only specific files or data folder.
The number of snapshots that can be retained depends on the operating system. QuTS hero, which uses the ZFS file system, can retain up to 65,535 snapshots; for QTS, the limit depends on the processor and memory. For example, Intel or AMD models with 4GB or more of memory can retain 1,024 snapshots per NAS and 256 snapshots per volume. At least 1GB of memory is required to use snapshots.
Read more: QNAP FAQ: How many snapshots can I create on my QNAP NAS?
QNAP provides three ways to store snapshots beyond a single device:
-
Snapshot Replica: Replicates snapshots to the Snapshot Vault on another QNAP NAS, transferring only the blocks changed since the last snapshot. Replication can be scheduled. If the host fails, you can restore or clone a volume directly on the backup NAS. The source and destination NAS must use the same operating system.
-
SnapSync: Real-time synchronization supported by QuTS hero and QES immediately synchronizes modified data to a second NAS, bringing the recovery point objective (RPO, the allowable duration of data loss) close to zero. The official recommendation is to place both NAS on the same network with a round-trip latency below 10 ms.
-
Hybrid Backup Sync (HBS 3): Back up files to other NAS, external devices, or the cloud to add an off-site copy. If you need an offline copy, use Airgap+ to enable the connection only during the backup window.
In practice, small and medium-sized businesses can use the following combination of backups and snapshots as a reference: Schedule local snapshots based on how frequently data changes. For example, take hourly snapshots during business hours of shared data folder edited daily by multiple users. For data that changes infrequently, daily snapshots are sufficient. Retain several days of versions to address accidental deletions and ransomware attacks on client computers; replicate to a second NAS every night using Snapshot Replica; and send an additional copy to the cloud or an offline device each week using HBS 3 to ensure comprehensive data protection.
When using snapshots, pay attention to Storage Space. QNAP reserves 20% of capacity for snapshots by default and provides smart snapshot space management. When available space falls below 16GB, NAS enters read-only protection mode. When planning snapshot frequency and retention periods, you should also configure storage pool capacity alerts.
FAQ
Do snapshots count as backups? Can they replace backups?
A snapshot itself is not a backup and cannot replace one. Snapshots created by NAS and the original data reside in the same storage pool, so both will be lost if the hard disk drives group is damaged or the device fails or is stolen. Only when you use Snapshot Replica to copy a snapshot to another NAS does that copy serve as a backup.
How can I use a snapshot to recover an accidentally deleted file?
As long as snapshots are enabled on the volume containing data folder, you can find the version from before the deletion in the snapshot directory in File Station and copy it back to its original location.
Windows users can also right-click data folder in File Explorer and select “Restore previous versions” to recover files.
Learn More: Restore files and data folder from snapshots »
Do snapshots take up a lot of space?
Snapshots take up almost no space when first created, then grow based on the amount of data changed. Frequently changing data (such as virtual machine images) causes snapshots to grow faster. QNAP NAS reserves 20% of capacity for snapshots by default, which can be adjusted as needed.
What can I do if snapshots take up too much space? Can old snapshots be deleted automatically?
Old snapshots can be deleted automatically. You can set a separate snapshot retention policy for each volume or LUN in QNAP NAS (each shared data folder or LUN in QuTS hero) by selecting one of the following options in Snapshot Manager in Storage & Snapshots:
-
Time-based retention: Snapshots are automatically deleted after the specified retention period, for example, keeping them for only 7 days.
-
Count-based retention: Once the specified number of snapshots is reached, the system deletes the oldest snapshot each time a new one is created.
-
Smart Versioning: Specify how many hourly, daily, weekly, and monthly versions to retain—for example, 24 hourly snapshots and 7 daily snapshots. Keeping more recent versions and fewer older versions lets you cover a longer time span while using less storage space.
After you adjust the retention policy, the system immediately applies it to existing snapshots; if you shorten the retention period, older snapshots outside that period will be deleted.
In addition to retention policies, QTS also provides intelligent snapshot space management: When the available space in the storage pool falls below 32GB, the system automatically deletes snapshots, starting with the oldest, until at least 40GB of space has been freed up. Snapshots set to be retained permanently will not be deleted. If snapshots still take up too much space, this is usually caused by data that changes frequently, such as virtual machine images or large numbers of temporary files. You can shorten the retention period for this type of data or move it to a volume that does not require snapshots.
Learn More: Snapshot retention policy »
Can snapshots help me recover from a ransomware infection?
Snapshots can restore files encrypted by ransomware, provided the snapshots themselves have not been deleted. When ransomware on an employee's computer encrypts files on NAS through a network drive, it cannot modify existing snapshots, so you can revert directly to a version from before the encryption. However, if attackers gain administrative access to NAS and delete the snapshots, you will need a backup on another device, preferably an offline or immutable copy.
Can snapshots be stored on another NAS or in the cloud?
Snapshots can be stored on another NAS or in the cloud. QNAP NAS can use Snapshot Replica to replicate snapshots to another QNAP NAS, transferring only changed blocks. Both NAS must use the same operating system. Files or data folder in snapshots can also be restored to a remote NAS or the cloud. To regularly back up data to the cloud, use HBS 3 for file-level backups.
How often should I take snapshots?
Snapshot frequency depends on how much data you can afford to lose. For file servers, a common practice is to take hourly snapshots and retain them for several days. For services with frequent changes, such as databases or virtual machines, you can shorten the interval or use SnapSync for real-time synchronization.
Does my QNAP NAS support snapshots?
All currently available QNAP NAS models support snapshots, which require at least 1 GB of memory.
Snapshot và bản sao lưu khác nhau như thế nào?
Snapshot là trạng thái dữ liệu được hệ thống lưu trữ ghi lại tại một thời điểm cụ thể, được lưu trên cùng thiết bị và trong cùng vùng lưu trữ với dữ liệu gốc. Ngược lại, bản sao lưu là bản sao đầy đủ của dữ liệu được lưu trên một thiết bị khác, một loại phương tiện lưu trữ khác hoặc tại một vị trí khác.
Snapshot cho phép bạn quay về phiên bản trước khi xảy ra sự cố chỉ trong vài giây; bản sao lưu cung cấp một bản sao dữ liệu độc lập để khôi phục nếu toàn bộ thiết bị bị hỏng, bị đánh cắp hoặc bị mã độc tống tiền mã hóa. Sự khác biệt nằm ở mức độ rủi ro mà mỗi phương pháp xử lý. Doanh nghiệp cần cả snapshot lẫn bản sao lưu, chứ không phải chọn một trong hai.
Sáng thứ Hai, các đồng nghiệp trong bộ phận kinh doanh phát hiện các báo giá trong thư mục dữ liệu dùng chung đã bị ghi đè do một lần đồng bộ sai vào ngày hôm trước. Nếu NAS tạo snapshot mỗi giờ, bộ phận CNTT có thể nhấp chuột phải trong File Explorer, chọn “Khôi phục phiên bản trước” và giải quyết vấn đề trong năm phút. Nhưng nếu toàn bộ ổ đĩa cứng bị hỏng, các snapshot trên NAS này sẽ biến mất cùng với dữ liệu gốc. Trong trường hợp đó, chỉ bản sao lưu được lưu ở nơi khác mới có thể cứu vãn tình hình.
Snapshot là gì?
Snapshot là bản ghi trạng thái dữ liệu tại một thời điểm cụ thể, không phải bản sao đầy đủ. Khi tạo snapshot, hệ thống không sao chép lại tất cả các tệp. Thay vào đó, hệ thống cố định các ánh xạ khối dữ liệu hiện tại (siêu dữ liệu, một chỉ mục mô tả nơi dữ liệu được lưu trữ). Nếu các tệp sau đó được sửa đổi, hệ thống chỉ ghi riêng các khối đã thay đổi.
Phương pháp ghi snapshot này được gọi là Copy-on-Write hoặc Redirect-on-Write, mang lại cho snapshot ba đặc điểm:
-
Tạo nhanh: Thường chỉ mất vài giây, không làm gián đoạn công việc đang thực hiện của người dùng.
-
Ban đầu gần như không chiếm dung lượng: Kích thước snapshot tăng dần khi dữ liệu thay đổi, thay vì chiếm dung lượng bằng một bản sao đầy đủ ngay từ đầu.
-
Có thể tạo thường xuyên: Có thể tạo snapshot mỗi giờ hoặc với khoảng thời gian ngắn hơn, lưu giữ nhiều thời điểm để khôi phục dữ liệu.
Hãy hình dung snapshot giống như đặt dấu trang xuyên suốt một cuốn sách và theo dõi những trang thay đổi sau mỗi lần chỉnh sửa. Lật lại bất kỳ dấu trang nào, bạn có thể xem nội dung như tại thời điểm đó. Nhưng các dấu trang và bản ghi chỉnh sửa đều được giữ trong cùng cuốn sách. Nếu chính cuốn sách bị cháy, các dấu trang cũng sẽ mất.
Hạn chế lớn nhất của snapshot là chúng phụ thuộc vào không gian lưu trữ gốc. Nếu nhóm ổ đĩa cứng (RAID) bị hỏng, toàn bộ thiết bị gặp sự cố hoặc tài khoản có quyền quản trị bị xâm phạm và các snapshot bị xóa, những thời điểm được snapshot lưu giữ sẽ biến mất cùng với dữ liệu gốc.
Để tránh việc snapshot không thể sử dụng khi vùng lưu trữ bị hỏng hoặc bị xâm phạm, bạn có thể sao chép chúng sang một thiết bị khác hoặc một địa điểm ngoài cơ sở. Bản sao này tách biệt với vùng lưu trữ gốc, mang lại tính độc lập của một bản sao lưu — chẳng hạn như Snapshot Replica trên QNAP NAS. Tuy nhiên, nếu thiết bị ngoài cơ sở vẫn kết nối và dùng chung tài khoản quản trị với thiết bị chính, bản sao vẫn có thể bị xóa trong cùng một cuộc tấn công. Tốt nhất bạn nên giữ thêm một bản sao ngoại tuyến hoặc bất biến.
Sao lưu là gì?
Bản sao lưu là bản sao dữ liệu độc lập được lưu trên thiết bị khác với dữ liệu gốc, chẳng hạn như một NAS khác, ổ đĩa cứng ngoài, băng từ hoặc dịch vụ lưu trữ đám mây. Ngay cả khi thiết bị gốc hoàn toàn không thể khởi động, bản sao lưu vẫn có thể được sử dụng độc lập để khôi phục dữ liệu.
Vì sao lưu đòi hỏi phải thực sự truyền dữ liệu, quá trình này thường chậm hơn việc tạo snapshot và cần thêm dung lượng lưu trữ cùng băng thông mạng, nên phần lớn doanh nghiệp thực hiện hằng ngày hoặc hằng tuần. Điểm mạnh của bản sao lưu nằm ở sự cách ly: bản sao càng được lưu ở xa và càng tách biệt với các tài khoản, mạng sử dụng hằng ngày thì càng có khả năng chống chịu các thảm họa khu vực hoặc sự cố an ninh mạng.
Trong Hướng dẫn #StopRansomware, Cơ quan An ninh mạng và An ninh cơ sở hạ tầng Hoa Kỳ (CISA) khuyến nghị doanh nghiệp duy trì các bản sao lưu ngoại tuyến, được mã hóa cho dữ liệu quan trọng và thường xuyên kiểm tra xem có thể khôi phục thành công hay không. Lý do là nhiều loại mã độc tống tiền cố tình tìm kiếm các bản sao lưu có thể truy cập qua mạng rồi xóa hoặc mã hóa chúng trước, khiến nạn nhân không còn lựa chọn nào khác ngoài trả tiền chuộc.
Snapshot và bản sao lưu: Tổng quan về sự khác biệt
Bảng dưới đây tóm tắt những khác biệt thực tế chính giữa snapshot và bản sao lưu:
| Tiêu chí so sánh |
Snapshot |
Bản sao lưu |
| Vị trí lưu trữ |
Trên cùng thiết bị và trong cùng vùng lưu trữ với dữ liệu gốc |
Trên thiết bị khác, trên loại phương tiện lưu trữ khác hoặc tại địa điểm ngoài cơ sở |
| Tốc độ tạo |
Vài giây |
Vài phút đến vài giờ, tùy thuộc vào lượng dữ liệu và băng thông |
| Dung lượng sử dụng |
Chỉ ghi lại các khối đã sửa đổi; tăng theo lượng thay đổi |
Ít nhất một bản sao đầy đủ, cộng thêm các phiên bản gia tăng |
| Tần suất thông thường |
Mỗi giờ hoặc thường xuyên hơn |
Hằng ngày, hằng tuần |
| Tốc độ khôi phục |
Trong vài giây; có thể khôi phục một tệp hoặc toàn bộ ổ lưu trữ |
Chậm hơn; cần truyền dữ liệu trở lại từ thiết bị sao lưu |
| Phù hợp nhất để xử lý |
Vô tình xóa, vô tình sửa đổi, cập nhật phần mềm thất bại, tấn công mã hóa bắt nguồn từ máy tính |
Thiết bị hỏng, RAID hỏng, hỏa hoạn và lũ lụt, thiết bị bị đánh cắp |
| Không thể xử lý |
Hư hỏng của chính thiết bị gốc hoặc vùng lưu trữ gốc |
Dữ liệu được thêm giữa hai lần sao lưu (khoảng thời gian dài giữa các phiên bản) |
Tại sao nên kết hợp snapshot và bản sao lưu?
Chỉ sử dụng snapshot hoặc chỉ sử dụng bản sao lưu có thể khiến bạn không thể khôi phục sau một số sự cố. Bảng dưới đây so sánh năm tình huống phổ biến:
| Tình huống sự cố |
Chỉ dùng snapshot |
Chỉ dùng bản sao lưu |
Snapshot + bản sao lưu |
| Nhân viên vô tình xóa hoặc ghi đè tệp |
Có thể khôi phục; khôi phục trong vài phút |
Có thể khôi phục, nhưng các thay đổi kể từ lần sao lưu gần nhất có thể bị mất |
Có thể khôi phục; sử dụng snapshot gần nhất |
| Mã độc tống tiền lây nhiễm máy tính của nhân viên và mã hóa thư mục dữ liệu dùng chung trên NAS |
Có thể khôi phục bằng cách quay về snapshot được tạo trước khi mã hóa |
Có thể khôi phục, nhưng mất nhiều thời gian hơn |
Có thể khôi phục: khôi phục snapshot trước, với bản sao lưu làm lớp phòng vệ thứ hai |
| Nhóm ổ đĩa cứng NAS bị hỏng hoặc máy chủ gặp sự cố |
Không thể khôi phục; snapshot cũng bị mất |
Có thể khôi phục |
Có thể khôi phục |
| Phòng máy chủ bị cháy, ngập nước hoặc thiết bị bị đánh cắp |
Không thể khôi phục |
Có thể khôi phục từ bản sao lưu ngoài cơ sở hoặc trên đám mây |
Có thể khôi phục |
| Tài khoản quản trị bị xâm phạm; kẻ tấn công xóa snapshot và dữ liệu cục bộ |
Không thể khôi phục |
Có thể khôi phục từ bản sao lưu ngoại tuyến hoặc bất biến |
Có thể khôi phục |
Kết hợp snapshot với bản sao lưu phù hợp với nguyên tắc sao lưu 3-2-1 được nhắc đến rộng rãi trong ngành: giữ ít nhất 3 bản sao dữ liệu, lưu trên 2 loại phương tiện lưu trữ khác nhau và giữ 1 bản sao ngoài cơ sở. Trong những năm gần đây, nguyên tắc này đã phát triển thành nguyên tắc 3-2-1-1-0 để đối phó với mã độc tống tiền, bổ sung yêu cầu có 1 bản sao ngoại tuyến hoặc bất biến và 0 lỗi trong quá trình kiểm tra khôi phục. Snapshot cung cấp khả năng “quay về nhanh” phục vụ nhu cầu hằng ngày, trong khi bản sao lưu đáp ứng các yêu cầu bảo vệ ngoài cơ sở và ngoại tuyến của chiến lược sao lưu.
Cách QNAP NAS kết hợp snapshot và bản sao lưu thành một chiến lược bảo vệ thống nhất
Snapshot là tính năng tiêu chuẩn của QNAP NAS, cho phép bạn tạo snapshot cấp khối cho các ổ lưu trữ và iSCSI LUN thông qua Storage & Snapshots. Khi khôi phục, bạn có thể đưa toàn bộ ổ lưu trữ về trạng thái trước đó hoặc chỉ khôi phục các tệp hay thư mục dữ liệu cụ thể.
Số lượng snapshot có thể lưu giữ phụ thuộc vào hệ điều hành. QuTS hero, sử dụng hệ thống tệp ZFS, có thể lưu giữ tối đa 65.535 snapshot; với QTS, giới hạn phụ thuộc vào bộ xử lý và bộ nhớ. Ví dụ, các mẫu dùng Intel hoặc AMD có bộ nhớ từ 4GB trở lên có thể lưu giữ 1.024 snapshot trên mỗi NAS và 256 snapshot trên mỗi ổ lưu trữ. Cần ít nhất 1GB bộ nhớ để sử dụng snapshot.
Đọc thêm: Câu hỏi thường gặp về QNAP: Tôi có thể tạo bao nhiêu snapshot trên QNAP NAS?
QNAP cung cấp ba cách lưu trữ snapshot ngoài phạm vi một thiết bị:
-
Snapshot Replica: Sao chép snapshot vào Snapshot Vault trên một QNAP NAS khác, chỉ truyền các khối đã thay đổi kể từ snapshot gần nhất. Có thể lên lịch sao chép. Nếu máy chủ gặp sự cố, bạn có thể khôi phục hoặc nhân bản một ổ lưu trữ trực tiếp trên NAS sao lưu. NAS nguồn và đích phải sử dụng cùng hệ điều hành.
-
SnapSync: Tính năng đồng bộ theo thời gian thực được QuTS hero và QES hỗ trợ sẽ lập tức đồng bộ dữ liệu đã sửa đổi sang NAS thứ hai, đưa mục tiêu điểm khôi phục (RPO, khoảng thời gian mất dữ liệu cho phép) về gần bằng không. Khuyến nghị chính thức là đặt cả hai NAS trên cùng mạng với độ trễ khứ hồi dưới 10 ms.
-
Hybrid Backup Sync (HBS 3): Sao lưu tệp sang NAS khác, thiết bị ngoài hoặc đám mây để bổ sung một bản sao ngoài cơ sở. Nếu cần bản sao ngoại tuyến, hãy sử dụng Airgap+ để chỉ bật kết nối trong khoảng thời gian sao lưu.
Trong thực tế, các doanh nghiệp vừa và nhỏ có thể tham khảo cách kết hợp sao lưu và snapshot sau đây: Lên lịch tạo snapshot cục bộ dựa trên tần suất thay đổi dữ liệu. Ví dụ, tạo snapshot mỗi giờ trong giờ làm việc cho thư mục dữ liệu dùng chung được nhiều người dùng chỉnh sửa hằng ngày. Với dữ liệu ít thay đổi, snapshot hằng ngày là đủ. Lưu giữ các phiên bản trong vài ngày để xử lý việc vô tình xóa và các cuộc tấn công mã độc tống tiền trên máy tính khách; sao chép sang NAS thứ hai mỗi đêm bằng Snapshot Replica; đồng thời gửi thêm một bản sao lên đám mây hoặc thiết bị ngoại tuyến mỗi tuần bằng HBS 3 để bảo vệ dữ liệu toàn diện.
Khi sử dụng snapshot, hãy chú ý đến không gian lưu trữ. Theo mặc định, QNAP dành riêng 20% dung lượng cho snapshot và cung cấp tính năng quản lý dung lượng snapshot thông minh. Khi dung lượng khả dụng xuống dưới 16GB, NAS chuyển sang chế độ bảo vệ chỉ đọc. Khi lập kế hoạch về tần suất tạo và thời gian lưu giữ snapshot, bạn cũng nên cấu hình cảnh báo dung lượng vùng lưu trữ.
Câu hỏi thường gặp
Snapshot có được coi là bản sao lưu không? Chúng có thể thay thế bản sao lưu không?
Bản thân snapshot không phải là bản sao lưu và không thể thay thế bản sao lưu. Snapshot do NAS tạo và dữ liệu gốc nằm trong cùng vùng lưu trữ, nên cả hai sẽ mất nếu nhóm ổ đĩa cứng bị hỏng hoặc thiết bị gặp sự cố hay bị đánh cắp. Chỉ khi bạn sử dụng Snapshot Replica để sao chép snapshot sang một NAS khác thì bản sao đó mới đóng vai trò là bản sao lưu.
Làm thế nào để sử dụng snapshot khôi phục một tệp bị xóa nhầm?
Miễn là snapshot được bật trên ổ lưu trữ chứa thư mục dữ liệu, bạn có thể tìm phiên bản trước khi xóa trong thư mục snapshot của File Station và sao chép về vị trí ban đầu.
Người dùng Windows cũng có thể nhấp chuột phải vào thư mục dữ liệu trong File Explorer và chọn “Khôi phục phiên bản trước” để khôi phục tệp.
Tìm hiểu thêm: Khôi phục tệp và thư mục dữ liệu từ snapshot »
Snapshot có chiếm nhiều dung lượng không?
Snapshot gần như không chiếm dung lượng khi mới được tạo, sau đó tăng kích thước theo lượng dữ liệu thay đổi. Dữ liệu thay đổi thường xuyên (chẳng hạn như ảnh máy ảo) khiến snapshot tăng kích thước nhanh hơn. Theo mặc định, QNAP NAS dành riêng 20% dung lượng cho snapshot và có thể điều chỉnh theo nhu cầu.
Tôi có thể làm gì nếu snapshot chiếm quá nhiều dung lượng? Có thể tự động xóa snapshot cũ không?
Có thể tự động xóa snapshot cũ. Bạn có thể đặt chính sách lưu giữ snapshot riêng cho từng ổ lưu trữ hoặc LUN trên QNAP NAS (từng thư mục dữ liệu dùng chung hoặc LUN trên QuTS hero) bằng cách chọn một trong các tùy chọn sau trong Snapshot Manager thuộc Storage & Snapshots:
-
Lưu giữ theo thời gian: Snapshot được tự động xóa sau khoảng thời gian lưu giữ đã chỉ định, chẳng hạn chỉ giữ trong 7 ngày.
-
Lưu giữ theo số lượng: Khi đạt đến số lượng snapshot đã chỉ định, hệ thống sẽ xóa snapshot cũ nhất mỗi khi tạo snapshot mới.
-
Quản lý phiên bản thông minh: Chỉ định số lượng phiên bản theo giờ, ngày, tuần và tháng cần lưu giữ — chẳng hạn 24 snapshot theo giờ và 7 snapshot theo ngày. Giữ nhiều phiên bản gần đây hơn và ít phiên bản cũ hơn giúp bạn bao quát khoảng thời gian dài hơn mà sử dụng ít dung lượng lưu trữ hơn.
Sau khi bạn điều chỉnh chính sách lưu giữ, hệ thống sẽ áp dụng ngay cho các snapshot hiện có; nếu bạn rút ngắn thời gian lưu giữ, những snapshot cũ nằm ngoài khoảng thời gian đó sẽ bị xóa.
Ngoài chính sách lưu giữ, QTS còn cung cấp tính năng quản lý dung lượng snapshot thông minh: Khi dung lượng khả dụng trong vùng lưu trữ xuống dưới 32GB, hệ thống tự động xóa snapshot, bắt đầu từ snapshot cũ nhất, cho đến khi giải phóng được ít nhất 40GB dung lượng. Snapshot được đặt lưu giữ vĩnh viễn sẽ không bị xóa. Nếu snapshot vẫn chiếm quá nhiều dung lượng, nguyên nhân thường là dữ liệu thay đổi thường xuyên, chẳng hạn như ảnh máy ảo hoặc số lượng lớn tệp tạm thời. Bạn có thể rút ngắn thời gian lưu giữ cho loại dữ liệu này hoặc chuyển dữ liệu sang ổ lưu trữ không cần snapshot.
Tìm hiểu thêm: Chính sách lưu giữ snapshot »
Snapshot có thể giúp tôi khôi phục sau khi bị nhiễm mã độc tống tiền không?
Snapshot có thể khôi phục các tệp bị mã độc tống tiền mã hóa, miễn là chính các snapshot chưa bị xóa. Khi mã độc tống tiền trên máy tính của nhân viên mã hóa tệp trên NAS thông qua ổ đĩa mạng, nó không thể sửa đổi các snapshot hiện có, nên bạn có thể quay trực tiếp về phiên bản trước khi mã hóa. Tuy nhiên, nếu kẻ tấn công có quyền quản trị NAS và xóa các snapshot, bạn sẽ cần bản sao lưu trên thiết bị khác, tốt nhất là bản sao ngoại tuyến hoặc bất biến.
Có thể lưu snapshot trên NAS khác hoặc trên đám mây không?
Có thể lưu snapshot trên NAS khác hoặc trên đám mây. QNAP NAS có thể sử dụng Snapshot Replica để sao chép snapshot sang một QNAP NAS khác, chỉ truyền các khối đã thay đổi. Cả hai NAS phải sử dụng cùng hệ điều hành. Các tệp hoặc thư mục dữ liệu trong snapshot cũng có thể được khôi phục sang NAS từ xa hoặc đám mây. Để sao lưu dữ liệu thường xuyên lên đám mây, hãy sử dụng HBS 3 để sao lưu cấp tệp.
Tôi nên tạo snapshot bao lâu một lần?
Tần suất tạo snapshot phụ thuộc vào lượng dữ liệu bạn có thể chấp nhận mất. Với máy chủ tệp, cách làm phổ biến là tạo snapshot mỗi giờ và lưu giữ trong vài ngày. Với các dịch vụ có thay đổi thường xuyên, chẳng hạn như cơ sở dữ liệu hoặc máy ảo, bạn có thể rút ngắn khoảng thời gian hoặc sử dụng SnapSync để đồng bộ theo thời gian thực.
QNAP NAS của tôi có hỗ trợ snapshot không?
Tất cả các mẫu QNAP NAS hiện có trên thị trường đều hỗ trợ snapshot; tính năng này yêu cầu ít nhất 1 GB bộ nhớ.