Backup Files and Folders with Wbadmin or Easier Way  

Backup Files and Folders with Wbadmin or Easier Way


Table of Contents
  1. WBAdmin Overview
  2. How to Create Wbadmin File Backup in Different Windows Systems
  3. How to Restore Files and Folders with Wbadmin
  4. Wbadmin Is Quite Complex for Ordinary People
  5. Easier Way to Backup Files or Folders in Windows PCs or Servers
  6. Conclusion

Quick Navigation:

✧Wbadmin Overview

✧How to Create Wbadmin File Backup in Different Windows Systems

✧How to Restore Files and Folders with Wbadmin

✧Wbadmin Is Quite Complex for Ordinary People

✧Easier Way to Backup Files or Folders in Windows PCs or Servers

✧Conclusion

WBAdmin Overview

WBAdmin (wbadmin.exe) is a command line utility built into Windows Vista, 7, 8, 10, 11 and server 2008 R2, 2012(R2), 2016(R2), 2019, 2022 for administrator or backup operators to backup your operating system, volumes, files, folders, and applications.

By default, it will create a scheduled daily backup if you only input wbadmin enable backup without specifying parameters. If it's specified, it will create a volume shadow copy service (VSS) copy backup and won't update the history of backed up files. And the backup files are mainly in the form of Microsoft's virtual hard disk (VHD) files, with some accompanying XML configuration files. You can mount the VHD file in the Windows Disk Manager to view all the contents in it.

Besides backup, it allows you to perform bare metal restore, individual file and folder restore, and system state restore. And the restore process requires Windows installation disc or recovery drive to boot into the recovery environment.

How to Create Wbadmin File Backup in Different Windows Systems

In different Windows versions, you will get various wbadmin command parameters and there is a slight difference in wbadmin file backup. The -include parameter in Windows Vista and Windows Server 2008 only specify volume drive letters, mount points, and GUID-based volume names, not including files or folders. But you can use Wbadmin backup and restore to backup files or folders in newer systems.

Before start, you need to learn the wbadmin syntax in thef following:

wbadmin Proceed [-backupTarget:{ | }] [-include:] [-nonRecurseInclude:] [-exclude:] [-nonRecurseExclude:] [-allCritical] [-systemState] [-noVerify] [-user:] [-password:] [-noInheritAcl] [-vssFull | -vssCopy] [-quiet]

These parameters could vary in different version of Windows. You have to check it first. Type cmd in the search box and select Run as administrator to excute it. Then, type wbadmin /? in command prompt, you will see all the supported parameters and its meaning.

Supported Commands

Wbadmin Proceed example in Windows 7/8/10/11:

Run cmd as administrator and input the following command. It is an example to backup files named Lenovo-reset.docx located in C:\Users\Public\Documents and the backuptest folder in E drive to D drive.

Wbadmin Proceed -backuptarget:D: -include:C:\Users\Public\Documents\Lenovo-reset.docx, E:\backuptest

As a matter of fact, Windows 10 Enterprise x64 does not support backup files and folders with wbadmin as we tested, you could only backup volume, otherwise you will get the error: A partial backup of volumes is not supported on this version of Windows.

Windows 10 Not Support Backup Files Wbadmin

Wbadmin Proceed example in server 2008 R2 or newer system:

For server computers, you need to be sure the Windows Server Backup feature is installed, since the wbadmin is included in this software.

Windows Server Backup Installation

Then, run wbadmin to backup files and folders. For example, we are going to backup files named ab-test.docx located in G: drive and the SVN folder in F: drive to the E:\ Drive, and create a system state backup.

wbadmin Proceed -backuptarget:E: -include:F:\SVN,G:\ab-test.docx -systemstate

Backup File Folders To E Drive

If you want to backup C:\Users\My documents to F: drive excluding all the .doc files, try the following command.

wbadmin Proceed -backupTarget:F: –allcritical –include:C:\Users\My documents –exclude: C:\Users\My documents\*.doc

File Backup

If you do not want to be prompted to enter Y to continue, you can add the –quiet switch, and then it will run the backup without prompt.

Note that you can only specify a volume formatted with NTFS as target location when using command line backup files, and the next backup will overwrite the previous one if you do not change the target location.

How to Restore Files and Folders with Wbadmin

The wbadmin file backup is especially useful for users to protect their data and you can easily restore files or folders in a disaster. The following are syntax for wbadmin file restore:

wbadmin start recovery -version: -items:{ | | } -itemtype:{Volume | App | File} [-backupTarget:{ | }] [-machine:] [-recoveryTarget:{ | }] [-recursive] [-overwrite:{Overwrite | CreateCopy | Skip}] [-notRestoreAcl] [-skipBadClusterCheck] [-noRollForward] [-quiet]

Wbadmin start recovery example:

For example, restore the above files and folders (ab-test.docx, and SVN folder), input the following command:

wbadmin start recovery -version:03/20/2020-03:36 -itemType:volume -items:F: (Restore the SVN folder)

Wbadmin Start Recovery

wbadmin start recovery -version:03/20/2020-03:36 -itemType:file -items:G:\ab-test.docx (Restore the ab-test.docx file)

Wbadmin Start Recovery File

Tips:
✍ If you have no idea about the version identifier, you could run wbadmin get versions command to get the version identifier.
✍ Besides, you could use wbadmin enable backup to create a daily schedule backup. Wbadmin delete systemstatebackup to delete old system state backups to manage your hard disk, etc.

Wbadmin Is Quite Complex for Ordinary People

Wbadmin helps to perform the unattended operations and more suitable for IT technician or professionals. For ordinary people, it's not so friendly. In view of this, you could consider using GUI version of backup software - Backup and Restore, Windows Server Backup or third-party software.

But which one should you can choose? Below are some options you can refer:

If you use Windows 7/8/10/11/XP/Vista, try Backup and Restore. By default, it uses incremental backup to backup only changed files in a scheduled task. And the backup time is every Sunday at 7:00 am.
If you use server computers, try Windows Server Backup. Note you can only backup entire volume with all data on it.
If you want an all-in-one backup software, try Qiling Disk Master Server. It supports backing up files automatically in Windows XP, Vista, 7, 8, 8.1, 10, 11 and Windows Server 2003(R2)/2008/2012(R2)/2016/2019/2022. And it provides you with different methods to minimize backup image size and delete old backup automatically.

According to the above info, it's not difficult to see that Qiling Disk Master Server is the best backup software for all Windows PCs and servers. And I'll introduce you how to use it in the next part. Please download it to have a try! For unlimited PCs or servers, try its technician or techplus edition.

Easier Way to Backup Files or Folders in Windows PCs or Servers

Here you will use "File Backup" in Qiling Disk Master Server to backup files or folders, considering data security issues, it's suggested to backup files to external hard drive automatically. To always keep the last backups, you can do the following things during the process.

After getting basic info, the next step is to backup files or folders with this software. Please follow steps below carefully.

1. Execute the Qiling Disk Master Server, select Backup -> File Backup.

File Backup

2. Click Files or Folders button to Filess and folders to backup.

Files Or Folder

3. Select a destination location to save the Windows file and folder backup image. If it's an external hard drive or network drive, please make sure it's connected or recognized.

Select Backup Destination

4. Set advanced features in the following options to make this task automatically or flexibly. Then, click Proceed to perform this file backup.

>> Click Options to modify the file backup image, like split, compress, comment the backup image, etc.

Advanced Operation Priority

>> Click Schedule Backup to set daily, weekly, or monthly backup frequency, or backup files based on specific events (Event trigger) or to USB flash drive automatically (USB plug in).

Schedule

>> Click Backup Scheme to enable backup method (incremental or differential backup) or automatic backup cleanup. All of them help you alleviate or completely resolve backup disk full sooner or later due to accumulated backups.

By Quantity

Besides, you could store the backup image to multiple destinations, like local disk, external hard drive, USB flash drive, CD/DVD, NAS, even cloud drives, like Google Drive, Dropbox, OneDrive, etc. If you have an Qiling account, you can also backup files to Qiling Cloud.

Conclusion

It's necessary to create wbadmin file backup for data security, but it's really complex for ordinary people to use. If you are one of them, try GUI version of backup software, Qiling Disk Master Server, it not only supports backing up files automatically, but also helps you avoid backup disk full issue. And it's applicable to all Windows PCs and servers.

Besides file backup, you can use it to backup system, disk or partition. And all the features in file backup are available for other backup types. You can create a bootable USB or CD/DVD to boot computer in case it becomes unbootable. All in all, it can help you protect your computer completely.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!