01
Snapshot or backup: two different tools
A snapshot freezes the complete state of the VPS at a given moment. It is taken quickly from the customer area and lets you roll back after a failed update or a configuration mistake. But it lives on the same infrastructure as the VPS: it does not protect you from a problem affecting that infrastructure or from losing access to the service, and restoring a snapshot rolls back the whole VPS, recent data included.
A backup is a copy of your data stored elsewhere, which you can restore file by file. The most quoted rule is the 3-2-1 rule:
- 3 copies of the data: the original and two backups;
- on 2 different media;
- with 1 off-site, away from the server.
The two tools complement each other: a snapshot before each risky operation (see managing Windows Server updates), and regular backups off the VPS for everything else.
02
What to back up
Windows can be reinstalled; your data cannot. List what would be long or impossible to redo:
- Data folders: documents, websites, game worlds, application files. Keep them in one folder (for example
C:\Donnees), which is easier to back up.
- Settings: configuration files, scripts, the list of scheduled tasks and firewall rules you created.
- Databases: don't copy the files of a running database, they would be inconsistent. Make an export. For MariaDB, for example:
mariadb-dump -u root -p --single-transaction --result-file=C:\Donnees\export\base.sql nom_de_la_base
The --result-file option writes the file directly; it avoids PowerShell's > redirection, which can change the file's encoding. For a game server, the folders to keep are listed in FiveM on a Windows VPS and Minecraft on a Windows VPS; for other games, see game server on a Windows VPS.
03
Windows Server Backup and wbadmin
Windows Server Backup is provided by Microsoft but is not installed by default. Add it in Server Manager (Add Roles and Features, Features page), or in PowerShell as administrator:
Install-WindowsFeature -Name Windows-Server-Backup
The console then opens from Server Manager, Tools menu. On the command line, wbadmin runs a one-time backup, from a command prompt opened as administrator:
wbadmin start backup -backupTarget:\\serveur-de-sauvegarde\partage -include:C:\Donnees -user:compte -password:mot-de-passe -quiet
wbadmin get versions -backupTarget:\\serveur-de-sauvegarde\partage
-backupTarget: a drive letter or a shared folder on the network. Choose a target outside the disk being backed up: a copy on the same disk would protect you from nothing.
- A network share keeps only one version: according to Microsoft, a new backup to the same shared folder overwrites the previous one, and if it fails, you can end up with no usable backup. Rotate between several subfolders (for example one per weekday).
- The share itself: it must be reachable securely, for example through a VPN. Never expose a Windows share (SMB, port 445) directly to the Internet.
- The password: written in the command, it stays readable in a script. Use an account dedicated to backups, with access to that share only.
wbadmin get versions lists the existing backups, with their version identifier, which you need for a restore.
04
Copy the data off the VPS
Without Windows Server Backup, robocopy, built into Windows, copies a folder to another disk or a share:
robocopy C:\Donnees \\serveur-de-sauvegarde\partage\vps /E /Z /R:2 /W:5 /LOG:C:\Logs\robocopy.log
/E copies subfolders, even empty ones; /Z resumes a large file where the copy stopped.
/R:2 /W:5: two retries 5 seconds apart on a failed file. Without these options, robocopy retries a million times, every 30 seconds.
/MIR creates an exact mirror, deletions included: a file erased or damaged on the VPS will be erased or damaged in the copy too. On its own, it is not a backup.
- The result: an exit code of 8 or more means some files were not copied. Read the log.
To automate it, put the command in a script run by a scheduled task at night, as in game server on a Windows VPS. Keep several generations of copies, and at least one out of the VPS's own reach: ransomware that encrypts the server can also reach a share mounted with write access. To bring a copy back to your own computer from time to time, see transferring files over Remote Desktop. Finally, keep an eye on disk space, which exports fill quickly (monitoring a VPS's resources).
05
Test a restore
A backup that has never been restored is an assumption. Test it when you set it up, then regularly, without overwriting live data: restore to another folder.
wbadmin get versions -backupTarget:\\serveur-de-sauvegarde\partage
wbadmin start recovery -version:12/01/2026-03:00 -itemType:File -items:C:\Donnees -recursive -recoveryTarget:C:\TestRestauration -backupTarget:\\serveur-de-sauvegarde\partage -machine:NOM-DU-VPS
-version: the identifier shown by wbadmin get versions, in month/day/year-time format.
-machine: required with -backupTarget; it is the name of the computer that was backed up (hostname command).
- Checking: open a few restored files, and import a database export into a test database to check it is complete.
With robocopy, the test means copying the backed-up folder back to an empty folder and checking it the same way. Write down the procedure and how long it takes: on the day of a real failure, you won't be searching.
06
On CloudFive
CloudFive's Windows VPS, from €8.50 per month, provides the basic tools for this method:
- snapshots from the customer area, to take before each risky operation, and a console to regain control if Remote Desktop stops responding;
- Windows Server installed, license included, with Windows Server Backup and robocopy available;
- an AMD Ryzen 9 9950X, with DDR5 memory and NVMe storage, a dedicated IPv4 address and basic anti-DDoS protection included;
- a plan change from the VPS page if exports need more disk space, with the difference prorated.
Snapshots do not replace a copy off the VPS: keep yours elsewhere. The servers are in France, monthly with no commitment, with support in French 7 days a week. To compare plans, see which Windows VPS to choose; for connecting to the VPS, see connecting to a Windows VPS.
07
Frequently asked questions
Is a snapshot a backup?
No. A snapshot freezes the VPS's state on the same infrastructure as the VPS: it lets you roll back quickly, but does not protect you from a problem affecting that infrastructure. A backup is a copy of your data stored elsewhere, off the server.
How do I install Windows Server Backup?
In Server Manager, open Add Roles and Features and check Windows Server Backup on the Features page. In PowerShell run as administrator, the command is Install-WindowsFeature -Name Windows-Server-Backup.
Can I back up a Windows VPS to a network share?
Yes, wbadmin accepts a shared folder as its target. Each new backup to the same folder overwrites the previous one: rotate between several subfolders, and never make the share reachable directly from the Internet.
What is the 3-2-1 rule?
Keep three copies of your data, on two different media, with one off-site. On a VPS, that means for example the server's data, a backup on another server and a copy at home or in external storage.
How do I test a Windows backup?
Restore it to another folder, without touching live data: with wbadmin start recovery and the -recoveryTarget option, or by copying the robocopy backup into an empty folder. Then open a few files and import a database export into a test database.