Monday, March 29, 2010

How to back up and restore the System State

By default, Windows Server 2008 R2 consumes 4GB of disk space in the default installation of an x64 based Computer as it has approximately 50,000 System State files. If you want to take the backup and restore a server’s System State easy and quick, you can go with Wbadmin. Using the Wbadmin, you can use the START SYSTEMSTATEBACKUP command to create a backup of the System State for a Computer and the START SYSTEMSTATERECOVERY command to restore a Computer’s System state. Remember, you have to be in the Directory Services Restore Mode, in order to select a System State Restore on a domain controller. Moreover, you can type the following at an elevated Command Prompt to backup a server’s System State.

wbadmin start systemstatebackup -backupTarget:VolumeName
In this, VolumeName is the storage location for the backup, such as F:.

If you want to restore a server’s system state, you can type the following at an elevated command prompt:
wbadmin start systemstaterecovery -backupTarget:VolumeName
In this, VolumeName is the storage location that contains the backup you want to recover, such as F:.

In addition, you can do the following:
•    You can use the –recoveryTarget parameter to restore to an alternate location.
•    You can use the –machine parameter to specify the name of the computer to recover if the original backup location contains backups for multiple computers.
•    You can also use the –authSysvol parameter to perform an authoritative restore of the SYSVOL.
•    In addition, you can easily recover the System State by using a backup that has the System State or by performing the Recovery.

By