• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
iGuRu

iGuRu

Real-time Technology News. Opinions & Tweaks

  • / news
  • / infosec
  • / tools
  • / tweaks
  • / dummies
  • / opinions
  • / support
home / tweaks / Back up Windows using Wbadmin

Back up Windows using Wbadmin

04/05/2019 11:13 by Dimitris

Wbadmin Utility is a Windows command-line tool that allows you to back up your entire system or back up individual units, directories, files, and restore your data from such a backup.

backup - Back up Windows using Wbadmin

The Wbadmin tool can be used to automate backups on all modern versions of Windows. Earlier versions of Windows, from Vista and earlier, had another built-in utility, the NTBackup, used to back up. Remaining Windows XP users have it on their system.

WBADMIN FEATURES
The capabilities of Wbadmin.exe are quite different in desktop versions compared to Windows server versions. For example, in Windows 10, you can set the following available wbadmin subcommands:

wbadmin.exe /?

wbadmin 1.0 - Backup command-line tool (Backup command line tool)
(C) Copyright Microsoft Corporation. All Rights Reserved.

  • ENABLE BACKUP - Creates or modifies a daily backup schedule. (Create or modify a scheduled backup job.)
  • DISABLE BACKUP - Disables the scheduled backups. (Disable automatic backup work)
  • START BACKUP - Runs a one-time backup. (Start the backup once)
  • STOP JOB - Stops the currently running backup or recovery operation. (Stop performing the backup or restore).
  • GET VERSIONS - Lists details of backups that can be recovered from a specified location. (List of available copies in the specified storage)
  • GET ITEMS - Lists items contained in a backup. (See the list of items stored in a backup)
  • GET STATUS - Reports the status of the currently running operation. (Display the status of a current backup or restore job)
  • DELETE BACKUP - Deletes one or more backups. (Delete one or more backups)

wbadmin 1 - Back up Windows using Wbadmin

To use the wbadmin utility on Windows Server 2016/2012 R2, you must install the Windows Server Backup component using Server Manager or PowerShell:

install-WindowsFeature -Name Windows-Server & Hosting-Backupwbadmin

word image 1 - Back up Windows using Wbadmin

In Windows Server 2016, the wbadmin utility supports more options and features, as follows:

  • GET DISKS
  • GET VIRTUALMACHINES
  • START SYSTEMSTATERECOVERY
  • START SYSTEMSTATEBACKUP
  • DELETE SYSTEMSTATEBACKUP

 

HOW WRITTEN
First you have to run it Command Prompt with administrator privileges. For each subdomain of Wbadmin there is a list of individual switches that can customize its operation to your liking. To see these switches for each sub-command, ask for the corresponding help. For example to see the START BACKUP switches enter:

wbadmin start backup /?

wbadmin 2 - Back up Windows using Wbadmin

As you can see, the wbadmin tool in Windows 10 is capable of backing up your Windows image and individual drives.

For example, you can make a backup image of the Windows 10 operating system, add the F: disk to the backup, and burn it to a D: drive. The command would be formulated as follows:

wbadmin start backup -backupTarget:D: -include:F: -allCritical quiet

When you make a backup, the directory is created automatically WindowsImageBackup to the disk specified in the backupTarget parameter, in which the system backup image is stored. BackupTarget can not be the disk that contains your operating system, nor what is stated on the include switch.

word image 2 - Back up Windows using Wbadmin

The include parameter allows you to specify the disks to be included in the image backup.

The allCritical parameter is used to ensure that all partitions needed to restore the system are added to the backup.

The quiet parameter is used to make the backup in the background.

wbadmin 3 - Back up Windows using Wbadmin

When you run the backup command, you will see the progress of the backup and the list of partitions that will be contained in it.

 

OTHER EXAMPLES
Note that the Windows backup system is based on the Volume Shadow Copy Service (VSS). The wbadmin utility first creates a shadow snapshot of the specified volume and then creates a backup system image based on that snapshot. Computer performance may be reduced when backing up.

A. You can back up multiple folders and save them on a separate drive:

wbadmin start backup backupTarget:d: -include:c:\ docs \, c:\ backup -vsscopy

B. You can also save the backup to a shared network folder:

wbadmin start backup backupTarget:\ srv1 \ backup -include:c:\ docs \, c:\ backup

Note. This feature of wbadmin is not supported on desktop versions of Windows. If you execute such a command, an error will occur.

C. You can create an automatic backup task that backs up a system image and a specific folder or drivers once a day:

wbadmin enable backup -include:c:\ docs \* -addtarget:d: -allCritical -schedule:00:00

D. The list of available copies can be displayed with the command:

wbadmin get versions

E. Delete all copies except the last two (0 - delete all backups):

wbadmin delete systemstatebackup -keepversions:2

ST. You can only delete the older backup:

wbadmin delete systemstatebackup backupTarget:d: deleteOldest -quiet
Back up Windows using Wbadmin was last modified: May 4, 2019, 11: 13 am by Dimitris

Subscribe to our newsletter

no spam

spread the news

  • Facebook
  • Twitter
  • Reddit
  • Printing
  • Email

Read them Technology News from all over the world, with the validity of iGuRu.gr

Follow us on Google News


Competition: tweakstag: 2012, Backups, operation, start, Windows Server

You May Also Like

The first blood sugar meter is on the clock and without a needle
12 free alternatives to Windows
2019 was the year of Windows 10

About Us Dimitris

Dimitris hates on Mondays .....

Previous Post: « WoeUSB: Bootable USB Windows 10 build on Linux
Next Post: Firefox add-ons are disabled due to an expired certificate Firefox »

Reader Interactions

Comment Policy:

IGuRu.gr does not publish the comments immediately. Malicious comments, comments that include ads, or comments that are offensive are deleted without notice. We do not adopt the opinions expressed by our readers.
Your comments will be displayed after approval by the administrators


Leave your comment
Ακύρωση απάντησης

Your email address is not published. Τα υποχρεωτικά πεδία σημειώνονται με *

 

 © 2021 · iGuRu.gr · ☢ · Keep It Simple Stupid Genesis theme

about  ·   get in touch  ·  rss  ·  sitemap  ·  cough

loadingCancel
Could not post post - check your email address!
Email verification failed, please try again
Your blog can not post posts via email.