Perform Windows Server Backup Command Line Easily (2 Ways)

You will learn how to use Windows Server Backup command line with Wbadmin or third-party tool. Besides, you can use the GUI version of backup software if you want a simpler way.


by Ivy Updated on December 13, 2023

Share this: instagram reddit

Windows Server Backup Command Line Tool - WBadmin

Microsoft has brought us the Windows Server Backup since Windows Server 2008, both command line and graphic user interface, as a replacement of NTBackup. It is at the block level and allows you to backup or restore operating system, volume, file, folder or application in a faster, simpler, and more reliable way. 

You can choose to create a bare metal backup to restore server computer to similar or dissimilar hardware under the recovery environment. The backup image is created mainly in the form of virtual hard drive (vhd) files, with some accompanying XML configuration files. And you can mount it in Windows Disk Manager to view content or copy individual files if the orginal one is damaged or corrupted. 

And it uses a different engine to update the backup files. Once the original backup file is created, it will update the changes using Volume Shadow Copy Service. The scheduled task is set to daily or more.

Execute Windows Server Backup Command Line Step by Step 

Here you will use the command line interface of Windows Server Backup to backup and restore system in Windows Server 2022, 2019, 2016, 2012 or 2008. Before using this tool, you need to install Windows Server Backup and Wbadmin command line in Server Manager. 

To use Wbadmin.exe, you need to open an elevated command prompt with administrator permission, and then run a backup or recovery job referring to the following WBadmin examples

1. To create a system state backup to E: drive:

wbadmin start systemstatebackup -backuptarget:E:

Backup to E

2. To create wbadmin backup to network share including all critcal volumes, system state, and “chrun” folder in D:drive to network shared folder:

wbadmin start backup -allcritical -systemstate -include:D:\chrun -backuptarget:\\networkshare\backup -quiet

3. To create a scheduled backup job at 00:00 daily to the shared folder that can only be accessed with username and password:

wbadmin enable backup -addtarget:\\\Public\schedule -include:D: -systemstate -user:admin -password:1234 -schedule:00:00

4. To restore a full server backup to dissimilar hardware with version:11/11/2015-00:00 to another server with machine name Varlar:

wbadmin start sysrecovery –version: 11/11/2015-00:00 –backuptarget:E: -machine:Varlar

5. To restore system state with version: 01/11/2016-01:09:

wbadmin start systemstaterecovery -version:01/11/2016-01:09 -backupTarget: F: -quiet

The switch: -quiet means to run the task without being prompted to enter “Y” to confirm.
Besides backup and restore, you can still delete old backup with Windows Server Backup.

Although the Wbadmin command line tool is convenient for those who know how to use it, it does have some restrictions, such as:

  • Only partitions formatted with NTFS can be used as backup source or backup target,

  • You cannot configure a scheduled backup less frequently than daily.

Therefore, if you need more advanced command-line backup solutions, you can use third-party backup software.

Advanced Way to Perform Windows Server Backup Command Line

As the best Windows Server Backup command line alternative, AOMEI Backupper Server allows you to perform backup and recovery with more options and in a more flexible way. 

◈ Backup types and locations
You can choose any files, folders, partitions, disks, or system as backup source. You could backup files to any locations, like local disk, external hard disk, USB flash drive, CD/DVD, Network share or NAS, even clouds, etc.
◈ Backup schedule
Unlike Windows Server Backup, AOMEI Backupper allows you to schedule daily/weekly/monthly/Event triggers/USB plug in backup task followed by full/incremental/differential backups.
◈ Backup scheme
It will delete old backup images automatically to help you free up disk space. There are 3 automatic backup cleanup methods in the backup schemes.

To use command line backup feature, please download and install AOMEI Backupper Server. Windows Server 2022, 2019, 2016, 2012, 2008, 2003 (including R2), SBS 2003, 2008, 2011 and Windows PCs are supported. For unlimited servers and PCs, try AOMEI Backupper TechPlus version.

Download Free Trial Win 11/10/8.1/8/7 & Server
Secure Download

(PS: The free trial version of works within 30 days, to continuously protect system, it's suggested to upgrade server trail. 100$ off for one server computer. )

1. In an elevated command prompt, enter the path of the installation directory of this software and press Enter. For example, “cd C:\Program Files (x86)\AOMEI Backupper”.

Allocate Backupper

2. Type in the right backup command of AOMEI Backupper and press Enter. For example, to perform a system backup of your server to a folder named “system backup” in F: drive, run the command below:

AMBackup.exe /b new /t system /d “f: \system backup” /n “Backup System”

System Backup

Use GUI Version of Backup Software to Protect Server 

Besides the Windows Server Backup command line, you could try GUI operations. Since the GUI version of Windows Server Backup still has limitations as Wbadmin, it's suggested to use specialized server backup programs. However, if you want to know WSB GUI operations, refer to this article: image backup Windows Server.

1. AOMEI Backupper Server

Follow the steps below to backup server computer with AOMEI Backupper Server.

1. Launch AOMEI Backupper Server, choose Backup > System Backup subsequently.

System Backup

2. Rename the Task Name if required and choose a destination to save the Windows Server 2019 system image. All the partitions related to Windows Server 2019 system files and boot files will be selected by default.

Select Backup Destination

3. Press Start Backup >> button to create a system image for Windows Server 2019 or other systems. To schedule backup system, you need to set Schedule Backup, you have 5 options, namely using Daily, Weekly, Monthly, Event triggers, and USB plug in.

Start Backup

It seems to be good since you don't need to backup system manually. And it is able to minimize the size of backup image using incremental backup, normal compression, intelligent sector backup, and automatic splitting. But in the long run, the disk space will be fulfilled due to accumulated backups. In this case, you can choose to delete old backups manually or automatically. 

If you do this manually, based on the nature of incremental backups, it is possible that all backups between two full backups will become invalid. Thus you need to enable Backup Scheme and delete backup file automatically. You have 3 options, By quantity,  By time, By daily/weekly/monthly.

Backup Scheme

At the same time, you can choose to use differential backup as backup method for the scheduled task, which completely compensates for this problem with incremental backups. For differences between them, please refer to: Incremental or Differential Backup.

Besides, you still can enable email notification to confirm if the backup task is completed successfully or not. Comment, split, compress the backup image, or select a backup mode, etc. 

AOMEI Email SMS Notification Settings

Sometimes, you may meet the unbootable issues when the Windows computer fails to boot, and intend to backup system without Windows using bootable media created before.

Also, if you made a recovery environment in advance, you just need to restart your computer and then you will see an option like Enter into AOMEI Backupper. Select it and you will see the main page of AOMEI Backupper just as in Step 1. 

Recovery Environment

2. AOMEI Cyber Backup

AOMEI Cyber Backup provides a convenient and reliable solution for centralized backup management of all Windows operating systems.

  • It enables you to create a system image, disk image or partition image for client Windows PCs and Servers.
  • You are allowed to save backup images on a local disk, external hard drive, network share or NAS device, etc.
  • You can schedule a backup task to run every day/week/month using the full/incremental/differential backup method.
  • It also allows you to backup VMware, Hyper-V, and SQL databases.

Download this powerful enterprise backup software now to try it out!

Download Free TrialEasiest Enterprise Backup Software
Secure Download

To make backups for client computers, follow these steps:

1. Log in AOMEI Cyber Backup, and add the Windows Server device that you want to backup.

2. Click Backup Task on the left menu bar and select Backup Task Create New Task.

3. Choose System Backup as the Backup Type and finish the rest settings.

Select Backup Type

🌟 Notice:

If you don’t know how to choose between AOMEI Backupper and AOMEI Cyber Backup, check the comparison table on page Windows Server Backup.


You can use both Windows Server Backup and AOMEI Backupper Server to perform Windows Server backup command line. Also, you can use their GUI version to create a system image backup in Windows Server 2012/2016/2019/2022, etc. And it makes the backup process becomes really easy, you can set multiple backup settings in Schedule Backup, Backup Scheme, Options in a few clicks.

If you want a simpler way, the GUI version of backup software will be a better choice. If you only want to backup or sync files between Windows Server to protect data, you could use File Backup, Basic Sync, Real-Time Sync, Mirror Sync, and Two-Way Sync. Believe me, it's one of the best backup software to help you protect server computer. And you can even create portable version of it with its TechPlus edition.

Ivy · Editor
Ivy is an editor of AOMEI Technology, she covers backup & restore,hard disk & partitions management and cloud files transfer and so on for AOMEI. She is an outgoing girl and enjoys helping people find solutions to their problems. She loves traveling, eating, reading and so on. She usually hangs out with friends at her leisure time.