By Lily / Last Updated December 17, 2020

Quick Navigation:

General Introduction of Wbadmin

NTBackup is used as an embedded backup tool in Windows 2000, Windows XP, and Windows Server 2003. Among some versions, users can use the NTBackup.exe to control the backup process. But in Windows 2008, Wbadmin command line replaces the NTBackup.exe to run backup and recovery operations. Wbadmin command is also available in Windows Server 2008 R2/2012(R2)/2016/2019, Windows Vista and Windows 7/8/10.

The Wbadmin is a command-line utility with the following features:

  • It supports to backup files, folders, partitions, system state and applications.

  • You can use Wbadmin command line to create a bare metal backup to restore OS to identical or dissimilar hardware.

  • Scheduled backup and full backup are also supported.

Then, how to realize backup and recovery using Wbadmin commands? Please move on to the next part.

How to Use Wbadmin Command Lines to Backup and Restore Windows?

No matter which system you are using, it should be noted that only administrator or a member of administrator group can run Wbadmin command line. Here I’d like to show you some Wbadmin commands that are often used to backup and restore data:

● wbadmin enable backup: set and enable a scheduled backup with Wbadmin.
● wbadmin start backup: it refers to one-time backup.
● wbadmin stop job: it stops the running backup or recovery operation.
● wbadmin get versions: list some detailed information of backup that can be restored from the local computer. If you want to restore from another computer, please specify another location.
● wbadmin get items: list the items that a backup contains.
● wbadmin start recovery: restore files, folders, volumes and applications. Supported only in a Windows Recovery Environment (Windows RE).
● wbadmin start systemstatebackup: run a system state backup. It only applies to Windows Server systems.

Wbadmin commands may differ in different Windows versions. How do you know the particular commands in various versions? Just search “cmd” from the Start menu or taskbar, input “wbadmin /?” in a command window and then you can see what Wbadmin commands are supported.

Wbadmin Command Prompt

Want Wbadmin command line examples? I’ll dwell on how to run system state backup and recovery in Windows Server 2008/2012/2016/2019 as follows:

Create a system state backup with Wbadmin backup command

1. Right click on the Start icon and select Command Prompt (Admin) from the menu.

2. Type wbadmin start systemstatebackup -backupTarget:F: and press Enter to create a system image and store it on volume F.

3. Type y and press Enter to confirm that you want to start the backup operation.

Wbadmin System State Backup

4. Wait until you see “The backup operation successfully completed”. Type exit and press Enter to close the Command Prompt window.

Restore server system via Wbadmin recovery command

1. Right click on the Start icon and select Command Prompt (Admin) from the menu.

2. Type wbadmin start systemstaterecovery -version:11/03/2020-02:50 and press Enter to restore server system from the backup made at 2:50 A.M. on 11/03/2020.

Tips: If you don’t know which backup version to be used, please run wbadmin get versions to check.

3. When asked if you want to start the recovery operation, type y and press Enter. Then, type y and press Enter to permit a system restart.

Wbadmin System State Recovery

4. After the recovery process is done, type y and press Enter to restart the computer immediately.

5. After the computer restarts, log in with administrator account. There will be a pop-up window showing you the system state recovery operation has successfully completed. Press Enter to continue.

System State Recovery Complete

Best Backup Software for Windows PCs and Servers

Now you know how to backup and restore via Wbadmin commands. However, Wbadmin commands randomly fail, and you may receive an error message like “The backup operation of the volume did not start”, “Failed to format media”, etc.

Luckily, the best server backup software - AOMEI Backupper Server can help you out under those conditions.

  • It supports various backup types, including system/disk/partition/file backup, schedule backup, incremental and differential backup.

  • It offers flexible backup options. While you backup data, you can add comments for images, encrypt or split images. Also, you can set email notification to tell you a successful backup.

  • It supports both Windows Server operating systems (Windows Server 2019/2016/2012(R2)/2008(R2)/2003, etc) and Windows PC operating systems (Windows 10/8.1/8/7/Vista/XP).

Just download AOMEI Backupper to have a try. After launching it, you’ll see a user-friendly interface. To create a system state backup, click Backup > System Backup. With a backup image at hand, you can restore your system and data anytime you need.

Download Free Trial Windows Server & PC
Secure Download

System Backup

To Sum up

In a word, Wbadmin command lines can help users to backup and restore files, folders, system state and applications by writing some commands. However, the way is a little troublesome and difficult for common users if they are not familiar with specific parameters.

To ensure that the backup and recovery run smoothly, using professional software like AOMEI Backupper Server to finish the operations is a good idea. With the concise interface, all you need to do are a few clicks. If you want more advanced server backup strategy, AOMEI Centralized Backupper is recommended.