Performs a system recovery using the parameters that you specify.

This subcommand can be run only from the Windows Recovery Environment, and it is not listed by default in the usage text of Wbadmin. (You can access the Windows Recovery Environment from a Windows Server 2008 or Windows Vista installation DVD: Insert the DVD and follow the steps in the wizard until you see the link Repair your computer. Click this link to open the System Recovery Options dialog box.)

Note

This subcommand applies only to Windows Server 2008.

To perform a system recovery with this subcommand, you must be a member of the Backup Operators group or the Administrators group, or you must have been delegated the appropriate permissions.

For examples of how to use this subcommand, see Examples.

Syntax

wbadmin start sysrecovery
-version:<VersionIdentifier>
-backupTarget:{<VolumeHostingBackup> | <NetworkShareHostingBackup>}
[-machine:<BackupMachineName>]
[-restoreAllVolumes]
[-recreateDisks]
[-excludeDisks]
[-skipBadClusterCheck]
[-quiet]

Parameters

Parameter Description

-version

Specifies the version identifier for the backup to recover in MM/DD/YYYY-HH:MM format. If you do not know the version identifier, type wbadmin get versions.

-backupTarget

Specifies the storage location that contains the backup or backups that you want to recover. This parameter is useful when the storage location is different from where backups of this computer are usually stored.

-machine

Specifies the name of the computer that you want to recover. This parameter is useful when multiple computers have been backed up to the same location. Should be used when -backupTarget is specified.

-restoreAllVolumes

Restores all volumes from the selected backup. If this parameter is not specified, only critical volumes (volumes that contain the operating system's state) are restored. This parameter is useful when you need to restore noncritical volumes during system recovery.

-recreateDisks

Restores a disk configuration to the state that existed when the backup was created.

Caution

This parameter deletes all data on volumes that host operating system components. It might also delete data from data volumes.

-excludeDisks

Valid only when specified with the -recreateDisks parameter and must be input as a comma-delimited list of disk identifiers (as listed in the output of wbadmin get disks). Excluded disks are not partitioned or formatted. This parameter helps preserve data on disks that you do not want modified during the recovery.

-skipBadClusterCheck

Skips checking your recovery disks for bad cluster information. If you are restoring to an alternate server or hardware, we recommend that you do not use this parameter. You can manually run chkdsk /b on your recovery disks at any time to check them for bad clusters, and then update the file system information accordingly.

Caution

Until you run chkdsk as described, the bad clusters reported on your recovered system may not be accurate.

-quiet

Runs the command with no prompts to the user.

Examples

To start recovering the information from the backup that was run on March 31, 2005 at 9:00 A.M., located on drive d:, type:

wbadmin start sysrecovery -version:03/31/2005-09:00 -backupTarget:d:

To start recovering the information from the backup that was run on April 30, 2005 at 9:00 A.M., located in the shared folder \\servername\shared: for server01, type:

wbadmin start sysrecovery -version:04/30/2005-09:00 -backupTarget:\\servername\share -machine:server01

Additional references