text stringlengths 0 4.23k |
|---|
-password |
Specifies the password for the user name provided by the parameter -user. |
-allowDeleteOldBackups |
Overwrites any backups made before the computer was upgraded. |
-quiet |
Runs the command without prompts to the user. |
\\<servername>\<sharename> |
\\<servername>\<sharename> WindowsImageBackup <ComputerBackedUp> |
Important: If you save a backup to a remote shared folder, that backup is overwritten if you use the same folder to back up the same computer again. In addition, if the backup operation fails, you could end up with no backup because the older backup will be overwritten, but the newer backup won't be usable. You can avoid this by creating sub-folders in the remote shared folder to organize your backups. If you do this, the sub-folders need twice the space of the parent folder.Only one location can be specified in a single command. Multiple volume and disk backup storage locations can be added by running the command again. |
Only one location can be specified in a single command. Multiple volume and disk backup storage locations can be added by running the command again. |
\ |
* |
\ |
* |
\ |
* |
\ |
* |
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. |
Caution: Don't use this parameter if you're 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 backup copy can't be used for incremental or differential backups or restores. |
Examples |
To schedule daily backups at 9:00 AM and 6:00 PM for hard disk drives E:, D:\mountpoint, and \\?\Volume{cc566d14-44a0-11d9-9d93-806e6f6e6963}\, and to save the files to the disk named, DiskID, type: |
\\?\Volume{cc566d14-44a0-11d9-9d93-806e6f6e6963}\ |
wbadmin enable backup -addtarget:DiskID -schedule:09:00,18:00 -include:E:,D:\mountpoint,\\?\Volume{cc566d14-44a0-11d9-9d93-806e6f6e6963}\ |
To schedule daily backups of the D:\documents folder at 12:00 AM and 7:00 PM to the network location \\backupshare\backup1, using the network credentials for the Backup Operator, Aaren Ekelund (aekel), who's password is $3hM9^5lp and who is a member of the domain CONTOSOEAST, used to authenticate access to the network share, type: |
\\backupshare\backup1 |
wbadmin enable backup –addtarget:\\backupshare\backup1 –include: D:\documents –user:CONTOSOEAST\aekel –password:$3hM9^5lp –schedule:00:00,19:00 |
To schedule daily backups of volume T: and the D:\documents folder at 1:00 AM to drive H:, excluding the folder d:\documents\~tmp, and performing a full backup using the Volume Shadow Copy Service, type: |
d:\documents\~tmp |
wbadmin enable backup –addtarget:H: –include T:,D:\documents –exclude D:\documents\~tmp –vssfull –schedule:01:00 |
wbadmin get disks |
Lists the internal and external disks that are currently online for the local computer. |
To list the online disks 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 get disks |
wbadmin get items |
Lists the items included in a specific backup. |
To list the items included in a specific backup 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 get items -version:<VersionIdentifier> [-backupTarget:{<BackupDestinationVolume> | <NetworkSharePath>}] [-machine:<BackupMachineName>] |
Parameters |
Parameter |
Description |
-version |
Specifies the version of the backup in MM/DD/YYYY-HH:MM format. If you don't know the version information, run the wbadmin get versions command. |
-backupTarget |
Specifies the storage location that contains the backups for which you want the details. Use for listing backups stored at that target location. Backup target locations can be a locally attached disk drive or a remote shared folder. If this command is run on the same computer where the backup was created, this parameter isn't needed. However, this parameter is required to get information about a backup created from another computer. |
-machine |
Specifies the name of the computer that you want the backup details for. Useful when multiple computers have been backed up to the same location. Should be used when -backupTarget is specified. |
Examples |
To list items from the backup that was run on March 31, 2013 at 9:00 A.M., type: |
wbadmin get items -version:03/31/2013-09:00 |
To list items from the backup of server01 that was run on April 30, 2013 at 9:00 A.M. and stored on \\<servername>\<share>, type: |
\\<servername>\<share> |
wbadmin get items -version:04/30/2013-09:00 -backupTarget:\\servername\share -machine:server01 |
wbadmin get status |
Reports the status of the backup or recovery operation that is currently running. |
To get the status of the currently running backup or recovery operation 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. |
Important |
This command doesn't stop until the backup or recovery operation is finished. The command continues to run even if you close the command window. To stop the current backup or recovery operation, run the wbadmin stop job command. |
Syntax |
wbadmin get status |
wbadmin get versions |
Lists details about the available backups that are stored on the local computer or another computer. The details provided for a backup include the backup time, the backup storage location, the version identifier, and the type of recoveries you can perform. |
To get details about available backups 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. |
If this command is used without parameters, it lists all backups of the local computer, even if those backups are not available. |
Syntax |
wbadmin get versions [-backupTarget:{<BackupTargetLocation> | <NetworkSharePath>}] [-machine:BackupMachineName] |
Parameters |
Parameter |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.