The windows backup utility comes with an option to backup the system-state. What is this for? Has it a real utility? Can I recover that windows on another machine?
5 Answers
The system state contains a number of items:
- System Registry
- COM + Database
- Certificate Services
- Active Directory
- SysVol
- IIS Metabase
Some of these items are only included if the specified service is installed (AD, IIS, Certificates). (Details are online. TechNet: Server 2003/2003R2. MSDN: Server 2003/2003R2.TechNet forums: Server 2008. MSDN: Server 2008 and upwards)
If you need to restore a server, you will need this state to recover the registry, or your AD Domain, or IIS sites.
You can restore system state to the same server, or another server with identical hardware. Microsoft does not support restoring system state to different hardware (see this article), however it is possible in some occasions, and with some parts of the system state, for example the IIS metabase. In that guess its really a case of try it an see, but its not a recommended solution..
- 1,754
- 12
- 21
- 38,158
- 6
- 77
- 113
-
And can ber recoverend on another machine, different hardware? – FerranB Jun 02 '09 at 10:50
-
See updates to answer – Sam Cogan Jun 02 '09 at 11:21
-
How does this relate to installed applications? If you do a system image and DONT include "system state" does that means apps are no longer "installed" when you restore the image? (assuming their installation state is stored in registry) – Schneider Feb 06 '11 at 07:27
-
@jack if you do a system image, then you should be able to restore the whole system to it's original state including applications, this is separate to doing a standard backup, where the system state would include the registry settings for the application. – Sam Cogan Feb 06 '11 at 11:31
Regardless of what Microsoft says - it's possible to restore the system to basically any compatible hardware.
Here how this works (Windows 2000 & 2003 validated):
- Create a machine with identical CPU type (e.g x32 or x64 as the original server)
- Apply all the latest SP to it.
Copy to
C:\exclude
folder (just as example) the following files:%systemdrive%\boot.ini %systemdrive%\ntdetect.com %systemdrive%\ntldr %systemroot%\system32\hal.dll %systemroot%\system32\kernel32.dll %systemroot%\system32\ntoskrnl.exe %systemroot%\system32\ntkrnlpa.exe %systemroot%\system32\ntdll.dll %systemroot%\system32\win32k.sys %systemroot%\system32\winsrv.dll %systemroot%\system32\drivers\etc\hosts
Perform full system restore. Do not reboot.
- Perform System State restore. Do not reboot.
- Copy the excluded files back to the original location. Reboot.
- System will boot and will request to install drivers for the hardware.
- After several reboots, the server will be exactly as a previous one, just on the different hardware.
It works for AD DCs as well.
-
This looks very interesting (and I'm bookmarking it) but how much have you tested this procedure? – John Gardeniers Mar 16 '11 at 10:26
-
2Oh, extensively, believe me. I have entire DR for a major company relying on this procedure. It has been tested numerous times. – Vick Vega Mar 16 '11 at 16:32
-
This looks absolutely *brilliant*. I will be testing it out this weekend. For bare metal restores- this looks far superior to using 3rd party tools. EASEUS Todo Backup is outstanding for workstations but, unfortunately, it had trouble finding our HighPoint RocketRAID drivers (so we could not use it to image our SBS 2003 server). I am excited to potentially have a way to clone the server to different hardware in case of serious hardware or operating system failures. Will update with my experiences using Vick's method soon. – Austin ''Danger'' Powers Jul 20 '13 at 18:57
-
1Returning to my old post .... Eventually I did the same thing for Windows 2008 / 2008 R2 / 2012 R2, The steps are slightly different because of the recovery partition, but it works. Of cause there was NOT that much testing done, however multiple retries provided the needed result. In the 2008/2012 area, it's even easier as much as I can say. – Vick Vega Aug 04 '15 at 22:29
-
I'll be checking this out. Do you have the modified steps for 2008/2012? – Abraxas Dec 23 '15 at 21:37
-
-
The System State Backup should be part of your Windows Server backup plan and preparation for a disaster recovery.
The System State contains the operating configuration files. Before you install a driver, patch or program on your server, consider, what will be your fall back position if the operating system crashes. You should create a System State backup which you could use to rollback in case of a problem.
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 service is installed, the Certificate Store. If your server runs IIS, the IIS Metadirectory will be includedand Cluster Service information if the server is part of a cluster.
You don’t have to know which of these components to choose. The Backup/Restore application will do this automatically when you start a System State backup. Likewise you cannot choose which components to restore: all System State data will be restored, because of possible dependencies among the components. It is possible to restore the System State to an alternative location. Not all data is restored when you restore to an alternative location. Only the components System boot files, registry files, SYSVOL directory files and Cluster database information files will be restored.
Note: When you backup System State, you can either include or exclude system-protected boot files. System-protected boot files are not used for installations from restored backup media. When the backup file that you create is to be used for additional domain controller installations, you can uncheck the advanced option to back up system-protected files. Clearing this option decreases the size of the .bkf
file, as well as the time required to backup, restore, and copy the System State files.
- 28,348
- 19
- 97
- 147
Windows in-built backup utility is basically useful.
For regular office backup, I do the following
- A full backup for system state (maybe a system partition backup is necessary)
- File backup for those important data, and then do incremental file backup with daily rate (it means an automatic backup with pre-set schedules)
For regular home PC backup:
- Full backup for system state
- Back up important data, maybe docs, photos, and other things. No matter which utility you use, please check the image integrity after you finish the backup work.
And I thought the way you referred, recovering system windows on another machine, is universal restore. It seems that windows in-built backup does not support universal restore. Two ways you can restore system to another machine:
Directly clone your system based HDD to another hard drive disk, and you will get a new HDD with system installed and programs saved. For sure, the SAM configuration. Useful but value-added backup programs ToDo backup XXclone.
Back up system firstly, and then use universal restore to restore it to another. I've checked some popular programs, little of them can do universal restore. For a program with built-in universal restore, I only found ToDo Backup can do this, and works well. That means, if you pay for a backup program, there is no need for you to pay more to get universal restore.
- 2,800
- 1
- 23
- 34
- 11
- 1
System statebackup data contains active directory database, registry, system files, boot files, sysvolv directory and Com + Registartion database. We can easily restore it in directory services restore mode.