text
stringlengths
0
4.23k
Specifies that backups saved to removable media (such as a DVD) are not verified for errors. If you do not use this parameter, backups saved to removable media are verified for errors.
-user
If the backup is saved to a remote shared folder, specifies the user name with write permission to the folder.
-password
Specifies the password for the user name that is provided by the parameter -user.
-noInheritAcl
Applies the access control list (ACL) permissions that correspond to the credentials provided by the -user and -password parameters to \\<servername>\<sharename>\WindowsImageBackup\<ComputerBackedUp>\ (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 computer with the shared folder. If -noInheritAcl is not used, the ACL permissions from the remote shared folder are applied to the \<ComputerBackedUp> folder by default so that anyone with access to the remote shared folder can access the backup.
-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 isn't used, wbadmin start backup makes a copy backup, but the history of files being backed up is not updated.Caution: Don't 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. Doing so can potentially break the incremental, differential, or other type of backups that the other backup product is creating because the history that they are relying on to determine how much data to backup might be missing and they might perform a full backup unnecessarily.
-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 differential backups that might happen independent of this copy backup. This is the default value.Warning: A copy backup can't be used for incremental or differential backups or restores.
-quiet
Runs the command without prompts to the user.
\\?\Volume{GUID}
(\\<servername>\<sharename>\)
\\<servername>\<sharename>\WindowsImageBackup\<ComputerBackedUp>\
\
*
\
*
\
*
\
*
Tip: The target volume for a critical-volume backup can be a local drive, but it Can't be any of the volumes that are included in the backup.
\\<servername>\<sharename>\WindowsImageBackup\<ComputerBackedUp>\
\<ComputerBackedUp>
Caution: Don't 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. Doing so can potentially break the incremental, differential, or other type of backups that the other backup product is creating because the history that they are relying on to determine how much data to backup might be missing and they might perform a full backup unnecessarily.
Warning: A copy backup can't be used for incremental or differential backups or restores.
Remarks
If you save your backup to a remote shared folder, and then perform another backup to the same computer and the same remote shared folder, you will overwrite your previous backup.
If your backup operation fails, you can end up without a backup because the older backup is overwritten, but the newer backup isn't usable. To avoid this, we recommend creating subfolders in the remote shared folder to organize your backups. However, because of this organization, you must have twice the space available as the parent folder.
Examples
To create a backup of volumes e:, d:\mountpoint, and \\?\Volume{cc566d14-4410-11d9-9d93-806e6f6e6963}\ to volume f:, type:
\\?\Volume{cc566d14-4410-11d9-9d93-806e6f6e6963}\
wbadmin start backup -backupTarget:f: -include:e:,d:\mountpoint,\\?\Volume{cc566d14-44a0-11d9-9d93-806e6f6e6963}\
To perform a one-time backup of f:\folder1 and h:\folder2 to volume d:, to backup the system state, and to make a copy backup so the normally scheduled differential backup isn't impacted, type:
wbadmin start backup –backupTarget:d: -include:g\folder1,h:\folder2 –systemstate -vsscopy
To perform a one-time, non-recursive backup of d:\folder1 to the \\backupshare\backup1* network location, and to restrict access to members of the Administrators or Backup Operators group, type:
\\backupshare\backup1*
wbadmin start backup –backupTarget: \\backupshare\backup1 -noinheritacl -nonrecurseinclude:d:\folder1
wbadmin start recovery
Runs a recovery operation based on the parameters that you specify.
To perform a recovery using this command, you must be a member of the Backup Operators group or 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 start recovery -version:<VersionIdentifier> -items:{<VolumesToRecover> | <AppsToRecover> | <FilesOrFoldersToRecover>} -itemtype:{Volume | App | File} [-backupTarget:{<VolumeHostingBackup> | <NetworkShareHostingBackup>}] [-machine:<BackupMachineName>] [-recoveryTarget:{<TargetVolumeForRecovery> | <TargetPathForRecovery>}] [-recursive] [-overwrite:{Overwrite | CreateCopy | Skip}] [-notRestoreAcl] [-skipBadClusterCheck] [-noRollForward] [-quiet]
Parameters
Parameter
Description
-version
Specifies the version identifier of the backup to recover in MM/DD/YYYY-HH:MM format. If you don't know the version identifier, run the wbadmin get versions command.
-items
Specifies a comma-delimited list of volumes, apps, files, or folders to recover. You must use this parameter with the -itemtype parameter.
-itemtype
Specifies type of items to recover. Must be Volume, App, or File. If the -itemtype is Volume, you can specify only a single volume, by providing the volume drive letter, volume mount point, or GUID-based volume name. If the -itemtype is App, you can specify only a single application or you can use the value ADIFM to recover an installation of Active Directory. To be recovered, the app must have registered with Windows Server Backup. If the -itemtype is File, you can specify files or folders, but they should be part of the same volume and they should be under the same parent folder.
-backupTarget
Specifies the storage location that contains the backup that you want to recover. This parameter is useful when the location is different from where backups of this computer are usually stored.
-machine
Specifies the name of the computer that you want to recover the backup for. This parameter must be used when the -backupTarget parameter is specified. The -machine parameter is useful when multiple computers have been backed up to the same location.
-recoveryTarget
Specifies the location to restore to. This parameter is useful if this location is different than the location that was previously backed up. It can also be used for restorations of volumes, files, or apps. If you're restoring a volume, you can specify the volume drive letter of the alternate volume. If you're restoring a file or app, you can specify an alternate recovery location.
-recursive
Valid only when recovering files. Recovers the files in the folders and all files subordinate to the specified folders. By default, only files which reside directly in the specified folders are recovered.