Your VPS provider offers snapshots, and your backup tool offers file backups, and both claim to protect you. They protect you against different things, and mixing them up is how people lose data while believing they are safe. A snapshot is a frozen image of the whole disk at one moment. A file-level backup is a copy of selected files, usually with history. A snapshot vs file-level backup comparison is not about which one is better in general. It is about which failure you are planning for.
The short version: snapshots are for rolling the whole server back after a bad change. File-level backups are for getting one file, one folder, or one database back, and for surviving the loss of the server itself. Most small servers need both, and the two together cost less than either one misunderstood.
What a VPS Snapshot Actually Is
A snapshot captures the state of a virtual disk at a point in time. The provider copies the disk blocks, or records which blocks changed so it can reconstruct the disk later. Restoring a snapshot replaces the current disk with the captured state. Everything returns to that moment: the operating system, the configuration, the files, and the databases, all as they were when the snapshot was taken.
That whole-disk restore is the snapshot’s strength. If an update breaks the server, a snapshot taken before the update puts it back in minutes, with no need to reinstall anything or remember which files changed. It is also the snapshot’s weakness. Restoring a snapshot throws away everything that changed since it was taken. A snapshot from yesterday restores yesterday’s database too, including orders and comments posted since then. Snapshots have no sense of which files matter and which do not.
Snapshots also live with the provider. They are stored on the provider’s infrastructure, tied to the VPS they belong to, and they cost money for as long as you keep them. Some providers charge per gigabyte per month, which makes a stack of old snapshots quietly expensive. Check official pricing before you keep more than a few. A snapshot is a convenience feature of your hosting account, not an independent backup, and treating it as one is the most common mistake in this whole topic.
What a File-Level Backup Actually Is
A file-level backup copies files, not disk blocks. A tool like rsync, Restic, or BorgBackup reads the files you name, stores them in a repository or on another server, and keeps several versions so you can restore a file as it was yesterday, last week, or last month. You choose what gets backed up: the website files, the database dumps, the configuration in /etc. You also choose what gets skipped: caches, logs, and temporary files that add size without adding value.
The file-level backup’s strength is precision. You can restore one deleted image without touching the database, or restore a single configuration file without rolling back the whole server. It also keeps history cheaply. Deduplication and incremental copies mean ten daily versions of a mostly unchanged website cost little more than one full copy. And because the backup can live on a second server or in object storage, it survives the loss of the VPS itself. The rsync backup tutorial for a second VPS shows the simplest version of this, while the Restic tutorial for encrypted backups to S3-compatible storage covers the encrypted offsite version.
The weakness is speed of full recovery. Restoring a whole server from file-level backups means reinstalling the operating system, restoring the configuration, restoring the files, and restoring the database, in that order. It works, and you should practise it, but it takes longer than a snapshot restore. File-level backups also depend on you listing the right files. A directory you forgot to include is a directory you cannot restore.
Snapshot vs File-Level Backup: Side by Side
| Question | Snapshot | File-level backup |
|---|---|---|
| What it captures | The whole disk at one moment | Selected files, with history |
| Restore one file | Awkward, usually requires restoring the whole disk | Easy, pick the file and the date |
| Restore the whole server | Fast, minutes in the provider panel | Slower, rebuild then restore |
| Survives losing the VPS | No, it lives with the provider | Yes, if stored offsite |
| History depth | Shallow, a few snapshots before cost bites | Deep, many versions for little extra space |
| Best for | Rolling back a bad update | Daily protection and disaster recovery |
Read the table as a division of labour, not a contest. The snapshot handles the “I broke the server just now” case. The file-level backup handles the “I need that file from Tuesday” case and the “the server is gone” case. A vps snapshot backup plan that uses only snapshots has no answer for a deleted file from last week and no answer for a dead provider. A file-level-only plan works, but it makes every bad update a slow rebuild instead of a five-minute rollback.
When Snapshots Are the Right Tool
Take a snapshot before any change that could break the server: a major OS upgrade, a control panel update, a PHP version change, or a risky configuration edit. The snapshot is your undo button, and the cost of one snapshot kept for a few days is small. Delete it once the change has proven stable for a week. Snapshots kept forever become a quiet monthly charge for protection you no longer need.
Snapshots also suit servers you rarely change. A small VPS that runs one stable site for months can keep a single recent snapshot as a quick rollback point, with file-level backups doing the daily work. The snapshot is the spare tyre: you hope you never need it, but you want it there before a long drive, not after a blowout.
One warning: never snapshot a running database and call it a database backup. A snapshot of a disk with a database mid-write can capture the data files in an inconsistent state, and the restore may need crash recovery or fail outright. For databases, use the database’s own dump tool first, then let the file-level backup carry the dump. That rule applies to every snapshot you take, on every provider.
When File-Level Backups Are the Right Tool
File-level backups are the daily driver. Schedule them nightly, keep a month of history, and store a copy offsite. They cover the failures that happen most often: a deleted file, an overwritten configuration, a plugin update that corrupts the uploads folder, a database row deleted by a bad query. Each of these is a small, precise restore, and a file-level backup restore does it in minutes without touching anything else.
They also cover the failure snapshots cannot: the loss of the whole VPS. A provider outage, a suspended account, or a deleted instance leaves your snapshots behind with it, because snapshots belong to the account and the instance. A file-level backup stored on a second VPS or in object storage is independent of both. That independence is the point of the 3-2-1 backup rule for servers, which is the framework this whole decision sits inside.
File-level backups need a list, and the list needs maintenance. Every time you add a site or a service, add its data to the backup. Every quarter, review the list and the exclusions. A backup that silently stopped covering a new directory is a backup that fails the one day you need that directory.
A Simple Setup That Uses Both
For a single small VPS, this combination covers nearly everything. First, a nightly file-level backup to an offsite location, with seven daily and four weekly versions kept. Second, a snapshot before any risky change, deleted a week after the change proves stable. Third, a database dump as part of the nightly file backup, never a snapshot alone. Fourth, a test restore every month: one file from the file-level backup, and once or twice a year, a full rebuild from the offsite copy.
The cost is modest. The file-level backup costs the storage at the offsite destination, which for a small VPS is usually a few gigabytes. The snapshots cost whatever the provider charges for the one or two you keep at a time. The time cost is a monthly five-minute restore test and a few minutes to take a snapshot before an upgrade. Compare that with the cost of rebuilding a site from memory after a failure with no backup at all, and the choice is not close.
If you can only do one thing this week, set up the file-level backup first. A snapshot vs backup difference that matters most is independence: the file-level backup stored offsite is yours even when the provider is not. Add snapshots second, as the fast rollback for risky changes. Together they cover the bad update, the deleted file, and the dead server, which are the three failures a small VPS actually faces.