Complete system backup of Windows 11 with WbAdmin

One full backup of windows 11 is crucial at computer problems. If problems occur due to broken hardware, viruses, or a failed computer system, you can always restore a full system backup.

There are several ways to back up a system. Most people are familiar with backup through the settings in Windows 11. You can configure and start it through the settings.

Less well known is the tool “wbadmin”. WbAdmin is a tool for backing up a complete system via the Command Prompt or Windows Terminal. You can use WbAdmin on its own or you can implement it in a server and workstation environment via scripting.

There are several parameters that you can apply to wbadmin. Below you will see the different parameters with information about the relevant parameter. Requires some technical knowledge.

-backupTarget

Specifies the storage location for the backup. Requires a hard disk drive letter (eg: E :), a volume GUID-based path in the \\ Volume \ {GUID} format, or a Universal Naming Convention (UNC) path to a remote shared folder (\ \ \ ). Therefore, external media or an external network location is always required to store the backup.

-include

Specifies a comma-separated list of items to include in the backup. You can record multiple files, folders, or volumes. Volume paths can be specified using volume disk letters, volume mount points, or GUID-based volume names.

If you are using a GUID-based volume name, it must be closed with a backslash (\). You can use the wildcard

in the file name if you specify a path to a file. The -include parameter can only be used in combination with the -backupTarget parameter.

-exclude

Specifies a comma-separated list of items to exclude from the backup. You can exclude files, folders, or volumes. Volume paths can be specified using volume station letters, volume mount points, or GUID-based volume names.

If you are using a GUID-based volume name, it must be closed with a backslash (\). You can use the wildcard

in the file name if you specify a path to a file. The -exclude parameter can only be used in combination with the -backupTarget parameter.

-nonRecurseInclude

Specifies the non-recursive, comma-separated list of items to include in the backup. You can record multiple files, folders, or volumes. Volume paths can be specified using volume disk letters, volume mount points, or GUID-based volume names.

If you are using a GUID-based volume name, it must be closed with a backslash (\). You can use the wildcard

in the file name when specifying a path to a file. The -nonRecurseInclude parameter can also only be used in combination with the -backupTarget parameter.

-nonRecurseExclude

Specifies the non-recursive, comma-separated list of items to exclude from the backup. You can exclude files, folders, or volumes. Volume paths can be specified using volume station letters, volume mount points, or GUID-based volume names.

If you are using a GUID-based volume name, it must be closed with a backslash (\). You can use the wildcard

in the file name when specifying a path to a file. The -nonRecurseExclude parameter can only be used in conjunction with the -backupTarget parameter.

-allCritical

Specifies that all critical volumes (volumes that contain the status of the operating system) must be included in the backups. This parameter is useful if you are backing up for bare metal recovery. It should only be used if -backupTarget is specified, otherwise the command will fail. Can be used with the -include option.

Optional: The target volume for a critical volume backup may be a local drive, but it may not be one of the volumes included in the backup.

-systemState

Create a backup that contains the system status, in addition to any other items that you specified with the -include parameter. The system status includes startup files (Boot.ini, NDTLDR, NTDetect.com), the Windows Registry, the SYSVOL (Group Policy and Login Scripts), the Active Directory and NTDS.DIT ​​on domain controllers and, if the Certificate Service is installed, the Certificate Storage.

If the web server role is installed on the server, the IIS meta directory is also included. If the server is part of a cluster, the information about the Cluster Service is also included.

-noVerify

Indicates that backups stored on removable media (such as a DVD) are not checked for errors. If you do not use this parameter, backups stored on removable media will be checked for errors.

-user

If the backup is stored in an external shared folder, specify the username with write permissions for the folder.

-password

Specifies the password for the username specified by the -user parameter.

-noInheritAcl

Applies the Access Control List (ACL) permissions that match the credentials specified by the -user and -password parameters to WindowsImageBackup (the folder that contains the backup).

To access the backup later, you must use these credentials or be a member of the Administrators group or the Backup operators group on the shared folder computer. If -noInheritAcl is not used, the external shared folder ACL permissions are applied to the folder by default so that anyone with access to the external shared folder can access the backup.

-vssFull

Performs a full backup using the Volume Shadow Copy Service (VSS). All files are backed up, the history of each file is updated to indicate that it has been backed up, and the logs of previous backups can be shortened.

If this parameter is not used, wbadmin start backup will make a backup copy, but will not update the history of the backed up files.
Note: Do not use this parameter if you are using a product other than Windows Server Backup to back up apps that are on the volumes included in the current backup. This can interfere with the incremental, differential, or other types of backups that the other backup product makes, because the history they use to determine how much data should be backed up may be missing and they may need a full backup. be able to perform.

-vssCopy

Performs a backup copy using VSS. All files are backed up, but the history of the backed up files is not updated, so you keep all information about which files were modified, deleted, and so on, as well as all app logs.

The use of this type of backup does not affect the sequence of incremental and differential backups that can take place independently of this copy backup. This is the default value.

Note: A backup copy cannot be used for incremental or differential backups or restorations.

-quiet

Lastly. Quiet executes the command without messages to the operator.

Complete system backup of Windows 11 with WbAdmin

Connect the removable media to your PC. Verify that disk letter is assigned to the device, and that the removable media contains sufficient total disk space to provide a complete backup.

wbadmin start backup -backupTarget:E: -include:C: -allCritical -quiet

Right-click the Start button. In the menu, click on “Windows Terminal”.Open Windows Terminal Open Windows Terminal Now enter the following command: It’s important that you backupTarget: E: changes to the

disk letter assigned

to the device to which you want to back up. This is the

external hard drive

With the example above, you will make a complete backup of the C: disk to the E: disk. If you want to include other disc letters in the backup, add it with a comma-separated comma to “-include”. For example -include: C:, D:, E:, F: By using -allCritical as an argument, you specify that all critical volumes (volumes that contain the status of the operating system) should be included in the backups. wbadmin

wbadmin After making the backup via Wbadmin, you can via the

advanced startup options

restore the system backup.Also read:Back up files on your computer to Google Drive I hope you have helped with this. Thanks for reading!