System state backups fail

Article ID: WFS0015 System state backups fail.

Symptom

System state backup might fail with the following error in ClBackup.log on the client computer. The log file is located in software_installation_path\Log Files.

7524 1c40 01/12 07:28:27 7420315 CDefaultWriterBackup::SaveWriterXML(2020) - Entering...
7524 1c40 01/12 07:28:27 7420315 CDefaultWriterBackup::BackupWriter(1213) - SaveWriterXML(writer, writerGuid, xmlPath) - [FAILED] 0x80004005
7524 1c40 01/12 07:28:27 7420315 Entering [CsVssBackupComponents::~CsVssBackupComponents]
7524 1c40 01/12 07:28:27 7420315 Entering [CsVssBackupComponents::Delete]
7524 1c40 01/12 07:28:27 7420315 CsVssBackupComponents::Delete() - Assigned set, so not freeing metadata
7524 1c40 01/12 07:28:27 7420315 FsBackupTw::BackupComponentTemplate(644) - ---------------------------------------------------------------->>>
7524 1c40 01/12 07:28:27 7420315 FsBackupTw::BackupComponentTemplate(645) - Failed to backup [System Protected Files]
7524 1c40 01/12 07:28:27 7420315 FsBackupTw::BackupComponentTemplate(646) - ---------------------------------------------------------------->>>
7524 1c40 01/12 07:28:27 7420315 FsBackupTw::DoSystemStateBackup(571) - Critical error detected in component [System Protected Files]. Failing system state backup

Cause

A multiple path environmental variable for temporary directories was configured. However, multiple path entries for environmental variables, such as "TMP" and "Temp", are not supported for system state backups.

For example, the environmental variable for temporary directories "TMP" and "Temp" was configured as follows:

C:\Windows\TEMP;D:\tmp\

Resolution

Make sure that you provide a single entry only for the environmental variable. For more information, see the Microsoft Technet article "Configure an Environment Variable Item", https://technet.microsoft.com/en-us/library/cc772047.aspx.

For example, to configure environmental variable for "TMP" and "Temp", you must configure it as a single entry.

  • C:\Windows\TEMP
  • C:\Windows\TMP

To check the configured paths, run the following commands using the command prompt, and verify that the configured paths exist on the File System:

ECHO %TEMP%
ECHO %TMP%