Windows Servers
Windows Server Backup: How to Back Up and Restore Your Server
By NileVPS Team · Published · 5 min read
اقرأ المقال بالعربيA Windows server without a tested backup is a server you are prepared to rebuild from memory. Disks fail, updates go wrong and people delete the wrong folder. Windows Server ships with a built-in tool, Windows Server Backup, that covers most of what a single server needs: volume backups, system state, bare metal recovery and file-level restores. This guide covers installing it, running backups from the GUI and wbadmin, and the details that decide whether a restore actually works.
What Windows Server Backup can and cannot do
Windows Server Backup uses the Volume Shadow Copy Service (VSS), so it can copy files that are open, including databases that have a VSS writer. It supports:
- Full server backups of all volumes.
- Bare metal recovery, which includes everything needed to rebuild the OS on new hardware or a fresh disk.
- System state, which covers the registry, boot files and, on a domain controller, the Active Directory database.
- Custom selections of volumes, folders or files.
There are limits worth knowing before you rely on it:
- Only one scheduled backup job exists per server. You can change what it includes, but you cannot run two independent schedules.
- A volume cannot be backed up onto itself. The target must be a different volume, disk or network share.
- When the target is a remote shared folder, each run overwrites the previous one, so you keep only the latest copy.
- It is a single-server tool with no central console, no deduplicated archive and no off-site replication on its own.
Installing the feature
The feature is not installed by default. From an elevated PowerShell window:
Install-WindowsFeature Windows-Server-Backup -IncludeManagementToolsAfter installation you will find Windows Server Backup under Server Manager > Tools, or you can run wbadmin.msc. The command-line tool wbadmin is available immediately.
Choosing a backup target
Where the backup lands matters more than any other setting.
| Target | Versions kept | Notes |
|---|---|---|
| Dedicated extra disk | Many (until full) | Best option for schedules; disk is formatted and hidden from Explorer |
| Separate volume on an existing disk | Many | Shares the disk with the data, so a disk failure loses both |
| Network share (SMB) | Only the latest | Good as an off-server copy; protect the share credentials |
On a VPS, the practical setup is an extra attached volume as the backup target, provider snapshots for whole-machine rollbacks, and a copy of critical data outside the server. A snapshot rolls back everything; a file-level backup lets you pull one folder from last Tuesday.
Running a one-off backup with wbadmin
A manual backup of the C: drive with everything needed for bare metal recovery, written to volume E:
wbadmin start backup -backupTarget:E: -include:C: -allCritical -quiet-allCriticaladds every volume that holds OS components, which is what bare metal recovery needs.-quietskips the confirmation prompt, which is useful in scripts.
To back up only the system state:
wbadmin start systemstatebackup -backupTarget:E: -quietTo include a data folder on another volume as well, list it with commas: -include:C:,D:\Data.
Scheduling daily backups
The simplest way is the Backup Schedule wizard in the console: choose Full server or Custom, pick the times (once a day or several times a day), and select a dedicated disk. From the command line the equivalent is:
wbadmin enable backup -addtarget:{DiskIdentifier} -include:C:,D: -allCritical -schedule:02:00 -quietGet the disk identifier with wbadmin get disks. Pick a time when the server is quiet, because VSS snapshots and the copy itself use disk I/O.
Checking that backups exist
List the available backup versions:
wbadmin get versionsEach version has an identifier such as 11/21/2026-02:00. Check this list regularly, and watch the Microsoft-Windows-Backup log in Event Viewer for failures. See our guide to Event Viewer logs for filtering tips.
Restoring files and folders
To restore a folder from a specific version to its original location:
wbadmin start recovery -version:11/21/2026-02:00 -itemType:File -items:D:\Data\Invoices -recursiveAdd -recoveryTarget:D:\Restore to put the files elsewhere so you can compare before overwriting. In the GUI, choose Recover, select the date, then Files and folders.
System state and bare metal recovery
System state restores are done with wbadmin start systemstaterecovery -version:<id>. On a domain controller this normally requires booting into Directory Services Restore Mode first.
Bare metal recovery is done from the Windows Recovery Environment: boot from the Windows Server installation media, choose Repair your computer > Troubleshoot > System Image Recovery, and point it at the backup disk. On a VPS this means mounting the installation ISO and using the browser console, so rehearse it once on a test server.
A practical backup checklist
- Back up to a separate disk, never to the volume you are protecting.
- Include
-allCriticalor system state so the OS itself can be recovered. - Keep at least one copy off the server (network share, object storage or a second location).
- Check
wbadmin get versionsand the backup event log weekly. - Perform a test restore of a real folder every month, and document the steps.
If you are setting up a new Windows machine, you can deploy a Windows VPS with an extra volume for backups from the start.
FAQ
Can Windows Server Backup keep more than one version on a network share?
No. When the target is a remote shared folder, each backup replaces the previous one. To keep several versions, use a dedicated local disk or volume as the scheduled target and copy selected backups elsewhere.
Do I still need backups if my VPS has snapshots?
Yes. Snapshots are excellent for rolling back the whole server after a failed update, but they live with the same provider and restore everything at once. File-level backups let you recover individual files and keep an independent copy.
How long should I keep backups?
It depends on how quickly you would notice a problem. Many teams keep daily backups for two to four weeks and monthly copies for longer. Ransomware and silent data corruption are often found late, so a single day of history is rarely enough.