text stringlengths 0 4.23k |
|---|
Description |
-backupTarget |
Specifies the storage location that contains the backups that you want the details for. Use for listing backups stored at that target location. Backup target locations can be locally attached disk drives, volumes, remote shared folders, removable media such as DVD drives or other optical media. 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 computer that you want backup details for. Use when backups of multiple computers are stored in the same location. Should be used when -backupTarget is specified. |
Examples |
To see a list of available backups that are stored on volume H:, type: |
wbadmin get versions -backupTarget:H: |
To see a list of available backups that are stored in the remote shared folder \\<servername>\<share> for the computer server01, type: |
\\<servername>\<share> |
wbadmin get versions -backupTarget:\\servername\share -machine:server01 |
wbadmin restore catalog |
Recovers a backup catalog for the local computer from a storage location that you specify. |
To recover a backup catalog 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. |
Note |
If the location (disk, DVD, or remote shared folder) where you store your backups is damaged or lost and can't be used to restore the backup catalog, run the wbadmin delete catalog command to delete the corrupted catalog. In this case, we recommend creating a new backup after your backup catalog is deleted. |
Syntax |
wbadmin restore catalog -backupTarget:{<BackupDestinationVolume> | <NetworkShareHostingBackup>} [-machine:<BackupMachineName>] [-quiet] |
Parameters |
Parameter |
Description |
-backupTarget |
Specifies the location of the backup catalog of the system as it was at the point after the backup was created. |
-machine |
Specifies the name of the computer that you want to recover the backup catalog for. Use when backups for multiple computers have been stored at the same location. Should be used when -backupTarget is specified. |
-quiet |
Runs the command without prompts to the user. |
Examples |
To restore a catalog from a backup stored on disk D:, type: |
wbadmin restore catalog -backupTarget:D |
To restore a catalog from a backup stored in the shared folder \\<servername>\<share> of server01, type: |
\\<servername>\<share> |
wbadmin restore catalog -backupTarget:\\servername\share -machine:server01 |
wbadmin start backup |
Creates a backup using specified parameters. If no parameters are specified and you have created a scheduled daily backup, this command creates the backup by using the settings for the scheduled backup. If parameters are specified, it creates a Volume Shadow Copy Service (VSS) copy backup and won't update the history of the files that are being backed up. |
To create a one-time 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 start backup [-backupTarget:{<BackupTargetLocation> | <TargetNetworkShare>}] [-include:<ItemsToInclude>] [-nonRecurseInclude:<ItemsToInclude>] [-exclude:<ItemsToExclude>] [-nonRecurseExclude:<ItemsToExclude>] [-allCritical] [-systemState] [-noVerify] [-user:<UserName>] [-password:<Password>] [-noInheritAcl] [-vssFull | -vssCopy] [-quiet] |
Parameters |
Parameter |
Description |
-backupTarget |
Specifies the storage location for this backup. Requires a hard disk drive letter (f:), a volume GUID-based path in the format of \\?\Volume{GUID}, or a Universal Naming Convention (UNC) path to a remote shared folder (\\<servername>\<sharename>\). By default, the backup will be saved at: \\<servername>\<sharename>\WindowsImageBackup\<ComputerBackedUp>\. |
-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 be terminated with a backslash (\). You can use the wildcard character (*) in the file name when specifying a path to a file. The -include parameter should only be used in conjunction with the -backupTarget parameter. |
-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 be terminated with a backslash (\). You can use the wildcard character (*) in the file name when specifying a path to a file. The -exclude parameter should only be used in conjunction with the -backupTarget parameter. |
-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 be terminated with a backslash (\). You can use the wildcard character (*) in the file name when specifying a path to a file. The -nonRecurseInclude parameter should only be used in conjunction with the -backupTarget parameter. |
-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 be terminated with a backslash (\). You can use the wildcard character (*) in the file name when specifying a path to a file. The -nonRecurseExclude parameter should only be used in conjunction with the -backupTarget parameter. |
-allCritical |
Specifies that all critical volumes (volumes that contain operating system's state) be included in the backups. This parameter is useful if you're creating a backup for bare metal recovery. It should be used only when -backupTarget is specified, otherwise the command fails. Can be used with the -include option.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. |
-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.DIT on Domain Controllers and, if the certificates service is installed, the Certificate Store. If your server has the Web server role installed, the IIS Metadirectory will be included. If the server is part of a cluster, Cluster Service information will also be included. |
-noVerify |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.