What Are Snapshots on a NAS and How Do They Work?
Snapshots capture the state of your NAS at a moment in time, so you can restore files.
A snapshot is a point-in-time record of the files on your NAS. If you later delete or overwrite a file by accident, you can go back to the state at that moment. Snapshots are stored on the same NAS, so they complement a real backup rather than replace it.
What is a snapshot?
Think of a photo of your folder structure at a particular time. A snapshot remembers what every file looked like at that moment. If you change or delete something later, you can bring back an earlier state.
A snapshot does not copy everything again. The system only keeps track of what changes after the snapshot is made. As a result, snapshots are often quick to create and take up little space at first. How exactly it works depends on your NAS file system, such as Btrfs or ZFS, and on the manufacturer’s software.
What do you use snapshots for?
Snapshots help with everyday mistakes:
- A folder deleted by accident.
- A document overwritten with an older or wrong version.
- A large file changed that you want to roll back.
- A failed software update or wrong setting in a shared folder.
That is useful in a household or an office, because mistakes happen more easily when more people work on the same files. In the management screen you look for the snapshot you want and restore files or folders.
Snapshots and ransomware
With ransomware, files are encrypted. A snapshot from before the attack can help with recovery, provided the snapshot itself is not affected as well. Some NAS systems offer protected or immutable snapshots, which cannot be erased without extra steps.
That is a useful extra layer, but not a guarantee. If someone gains administrator rights on the NAS, they may also be able to delete snapshots. That is why a backup on a separate device or in another location remains important. You can read more on this topic in ransomware and backups explained and immutable backup and Object Lock.
How often and for how long do you keep snapshots?
You usually set a schedule and a retention period. A common set-up is: a snapshot regularly for recent changes, and a snapshot less often for older states. That way you can recover both a file deleted yesterday and a version from a month ago.
The more snapshots you keep and the more your data changes, the more disk space they take up. Start with a modest schedule, see after a few weeks how much space it uses and adjust it. On some systems you can also choose which folders get snapshots.
Snapshot or backup: what is the difference?
A snapshot is on the same drives as your original data. If the NAS fails, is stolen or the house burns down, the snapshots are gone too. A backup is a separate copy, preferably on another device or in another location.
Use both together: snapshots for quick recovery from mistakes, a backup for the bigger risks. See how that fits together in NAS backup strategy and the 3-2-1 backup rule. You can read about the difference from RAID in RAID explained for NAS users.
An example: restoring a deleted folder
Say it is Tuesday and you discover that last year’s tax papers folder has disappeared. Someone has probably deleted the folder by accident. If your NAS takes a snapshot every night, you open the snapshot overview, choose Monday night’s snapshot and restore the folder. This usually takes only a few minutes.
Without a snapshot and without a backup, that folder would be gone for good. That shows why snapshots are useful in daily life, even for people without technical knowledge.
If you want to set this up, look in your NAS management screen. Some systems have their own snapshot module, others require a specific file system. Check the specifications and the manual to see what your model supports, and test once that restoring works before you really need it.
Note that snapshots do not protect against disk errors that affect the whole system. If the file system becomes damaged, snapshots can be damaged with it. A regular integrity check and a separate backup reduce that risk.
Want to know how snapshots compare to version history in cloud services? Read version history and restoring files. Check your NAS manual to see which snapshot features are available and how to set them up.
What limits of snapshots should you know about?
Snapshots are useful, but they have characteristics that people sometimes overlook. In its data protection white paper, Synology describes that snapshots sit on the same volume and are read-only, so you need to restore or clone the data before you can edit it. You can also lock snapshots, so that the retention rules do not delete them automatically.
- Same storage: a snapshot does not protect you if the whole volume fails.
- Replication: some systems can copy snapshots to a second device, which gives you an extra copy in another place.
- Immutable: for its snapshot feature, Synology mentions ‘immutable’ snapshots with a fixed protection period. Whether your NAS supports this is listed in the specifications.
So combine snapshots with a separate backup, as described in NAS offsite backup.
Frequently asked questions
Do snapshots take up a lot of disk space?
They take up little space at first, but grow as files change and you keep more snapshots. Set a retention period and monitor usage.
Do snapshots replace a backup?
No. They are on the same NAS and are lost along with it in case of failure, theft or fire. Use them as a complement to a backup.
Do all NAS systems have snapshots?
Not all of them. It depends on the model, the file system and the software. Check the specifications.
Can I edit a snapshot directly?
Usually not. Snapshots are generally read-only: you restore files or create a clone to work with them. Check the manual to see how your NAS does this.
Further reading
Last updated on
