text
stringlengths
0
4.23k
-quiet
Runs the command without prompts to the user.
Versions made up of exclusively system state backups can be deleted using this command. Run the wbadmin get items command to view the version type.
Examples
To delete the system state backup created on March 31, 2013 at 10:00 AM, type:
wbadmin delete systemstatebackup -version:03/31/2013-10:00
To delete all system state backups, except the three most recent, type:
wbadmin delete systemstatebackup -keepVersions:3
To delete the oldest system state backup stored on disk f:, type:
wbadmin delete systemstatebackup -backupTarget:f:\ -deleteOldest
wbadmin disable backup
Stops running the existing scheduled daily backups.
To disable a scheduled daily backup using this command, you must be a member of the Administrators group, or you must have been delegated the appropriate permissions. In addition, you must run wbadmin from an elevated command prompt, by right-clicking Command Prompt, and then selecting Run as administrator.
Syntax
wbadmin disable backup [-quiet]
Parameters
Parameter
Description
-quiet
Runs the command without prompts to the user.
wbadmin enable backup
Creates and enables a daily backup schedule or modifies an existing backup schedule. With no parameters specified, it displays the currently scheduled backup settings.
To configure or modify a daily backup schedule using this command, you must be a member of the Backup Operators group or the Administrators group. In addition, you must run wbadmin from an elevated command prompt, by right-clicking Command Prompt, and then selecting Run as administrator.
To view the disk identifier value for your disks, run the wbadmin get disks command.
Syntax
wbadmin enable backup [-addtarget:<BackupTarget>] [-removetarget:<BackupTarget>] [-schedule:<TimeToRunBackup>] [-include:<VolumesToInclude>] [-nonRecurseInclude:<ItemsToInclude>] [-exclude:<ItemsToExclude>] [-nonRecurseExclude:<ItemsToExclude>][-systemState] [-hyperv:<HyperVComponentsToExclude>] [-allCritical] [-system...
Parameters
Parameter
Description
-addtarget
Specifies the storage location for backups. Requires you to specify the location as a disk, volume, or Universal Naming Convention (UNC) path to a remote shared folder (\\<servername>\<sharename>). By default, the backup will be saved at: \\<servername>\<sharename> WindowsImageBackup <ComputerBackedUp>. If you specify ...
-removetarget
Specifies the storage location that you want to remove from the existing backup schedule. Requires you to specify the location as a disk identifier.
-schedule
Specifies times of day to create a backup, formatted as HH:MM and comma delimited.
-include
Specifies the comma-delimited list of items to include in the backup. You can include multiple files, folders, or volumes. Volume paths can be specified using volume drive letters, volume mount points, or GUID-based volume names. If you use a GUID-based volume name, it should end with a backslash (\). You can use the w...
-nonRecurseInclude
Specifies the non-recursive, comma-delimited list of items to include in the backup. You can include multiple files, folders, or volumes. Volume paths can be specified using volume drive letters, volume mount points, or GUID-based volume names. If you use a GUID-based volume name, it should end with a backslash (\). Yo...
-exclude
Specifies the comma-delimited list of items to exclude from the backup. You can exclude files, folders, or volumes. Volume paths can be specified using volume drive letters, volume mount points, or GUID-based volume names. If you use a GUID-based volume name, it should end with a backslash (\). You can use the wildcard...
-nonRecurseExclude
Specifies the non-recursive, comma-delimited list of items to exclude from the backup. You can exclude files, folders, or volumes. Volume paths can be specified using volume drive letters, volume mount points, or GUID-based volume names. If you use a GUID-based volume name, it should end with a backslash (\). You can u...
-hyperv
Specifies the comma-delimited list of components to be included in backup. The identifier can be a component name or component GUID (with or without braces).
-systemState
Creates a backup that includes the system state in addition to any other items that you specified with the -include parameter. The system state contains boot files (Boot.ini, NDTLDR, NTDetect.com), the Windows Registry including COM settings, the SYSVOL (Group Policies and Logon Scripts), the Active Directory and NTDS....
-allCritical
Specifies that all critical volumes (volumes that contain operating system's state) be included in the backups. This parameter is useful if you are creating a backup for full system or system state recovery. It should be used only when -backupTarget is specified; otherwise, the command fails. Can be used with the -incl...
-vssFull
Performs a full back up using the Volume Shadow Copy Service (VSS). All files are backed up, each file's history is updated to reflect that it was backed up, and the logs of previous backups may be truncated. If this parameter is not used, the wbadmin start backup command makes a copy backup, but the history of files b...
-vssCopy
Performs a copy backup using VSS. All files are backed up but the history of the files being backup up is not updated so you preserve the all the information on which files where changed, deleted, and so on, as well as any application log files. Using this type of backup does not affect the sequence of incremental and ...
-user
Specifies the user with write permission to the backup storage destination (if it's a remote shared folder). The user needs to be a member of the Administrators or Backup Operators group on the computer getting backed up.