Skip to content

Commit 4ab3684

Browse files
author
AbhishekMallick01
committed
Freshness - Troubleshoot system state backup errors
1 parent fa6c953 commit 4ab3684

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

articles/backup/backup-azure-system-state-troubleshoot.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Troubleshoot System State Backup
33
description: In this article, learn how to troubleshoot issues in System State Backup for on-premises Windows servers.
44
ms.reviewer: srinathv
55
ms.topic: troubleshooting
6-
ms.date: 07/22/2019
6+
ms.date: 04/30/2025
77
author: jyothisuri
88
ms.author: jsuri
99
---
@@ -34,6 +34,8 @@ We recommend you perform the following validation steps, before you start troubl
3434

3535
### Limitation
3636

37+
Here are the limitations for System State backups:
38+
3739
- Recovering to different hardware using System State recovery isn't recommended by Microsoft
3840
- System State backup currently supports "on-premises" Windows servers. This functionality isn't available for Azure VMs.
3941

@@ -49,7 +51,7 @@ Ensure Windows Server Backup is installed and enabled in the server. To check th
4951
Get-WindowsFeature Windows-Server-Backup
5052
```
5153

52-
If the output displays the **Install State** as **available**, then it means Windows Server backup feature is available for the installation but not installed on the server. However, if Windows Server Backup isn't installed, then use one of the methods below to install it.
54+
If the output displays the **`Install State`** as **available**, then it means Windows Server backup feature is available for the installation but not installed on the server. However, if Windows Server Backup isn't installed, then use one of the methods below to install it.
5355

5456
#### Method 1: Install Windows Server Backup using PowerShell
5557

@@ -61,7 +63,7 @@ To install Windows Server Backup using PowerShell, run the following command:
6163

6264
#### Method 2: Install Windows Server Backup using Server Manager
6365

64-
To install Windows Server Backup using Server Manager, perform the following steps:
66+
To install Windows Server Backup using Server Manager, follow these steps:
6567

6668
1. In **Server Manger**, select **Add roles and features**. The **Add roles and features wizard** appears.
6769

@@ -99,48 +101,48 @@ Microsoft Software Shadow Copy Provider(SWPRV) | Manual
99101

100102
### Validate Windows Server Backup status
101103

102-
To validate Windows Server Backup status, perform the following steps:
104+
To validate Windows Server Backup status, follow these steps:
103105

104-
- Ensure WSB PowerShell is running
106+
1. Ensure WSB PowerShell is running
105107

106-
- Run `Get-WBJob` from an elevated PowerShell and make sure it doesn't return the following error:
108+
- Run `Get-WBJob` from an elevated PowerShell and make sure it doesn't return the following error:
107109

108-
> [!WARNING]
109-
> Get-WBJob: The term 'Get-WBJob' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
110+
> [!WARNING]
111+
> Get-WBJob: The term 'Get-WBJob' isn't recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
110112
111-
- If it fails with this error, then reinstall the Windows Server Backup feature on the server machine as mentioned in step 1 of the prerequisites.
113+
- If it fails with this error, then reinstall the Windows Server Backup feature on the server machine as mentioned in step 1 of the prerequisites.
112114

113-
- Ensure WSB backup is working properly, by running the following command from an elevated command prompt:
115+
1. Ensure WSB backup is working properly, by running the following command from an elevated command prompt:
114116

115-
`wbadmin start systemstatebackup -backuptarget:X: -quiet`
117+
`wbadmin start systemstatebackup -backuptarget:X: -quiet`
116118

117-
> [!NOTE]
118-
> Replace X with the drive letter of the volume where you want to store the system state back up image.
119+
> [!NOTE]
120+
> Replace X with the drive letter of the volume where you want to store the system state backup image.
119121
120-
- Periodically check the status of the job by running `Get-WBJob` command from elevated PowerShell
121-
- After backup job completes check the final status of the job by running `Get-WBJob -Previous 1` command
122+
1. Periodically check the status of the job by running `Get-WBJob` command from elevated PowerShell
123+
1. After backup job completes, check the final status of the job by running `Get-WBJob -Previous 1` command
122124

123125
If the job fails, it indicates a WSB issue that would result in MARS agent System State Backups failure.
124126

125127
## Common errors
126128

127-
### VSS Writer timeout error
129+
### VSS Writer time-out error
128130

129131
| Symptom | Cause | Resolution
130132
| -- | -- | --
131-
| - MARS agent fails with error message: "WSB job failed with VSS errors. Check VSS event logs to resolve the failure"<br/><br/> - Following error log is present in VSS Application event logs: "A VSS writer has rejected an event with error 0x800423f2, the writer's timeout expired between the Freeze and Thaw events."| VSS writer is unable to complete in time due to lack of CPU and memory resources on the machine <br/><br/> Another backup software is already using the VSS writer, as a result snapshot operation could not complete for this backup | Wait for CPU/memory to be freed up on system or abort the processes taking too much memory/CPU and try the operation again. <br/><br/> Wait for the ongoing backup to complete and try the operation at a later point when no backups are running on the machine.
133+
| - MARS agent fails with error message: "WSB job failed with VSS errors. Check VSS event logs to resolve the failure"<br/><br/> - Following error log is present in VSS Application event logs: "A VSS writer has rejected an event with error 0x800423f2, the writer's time-out expired between the Freeze and Thaw events."| VSS writer is unable to complete in time due to lack of CPU and memory resources on the machine <br/><br/> Another backup software is already using the VSS writer, as a result snapshot operation couldn't complete for this backup | Wait for CPU/memory to be freed up on system or abort the processes taking too much memory/CPU and try the operation again. <br/><br/> Wait for the ongoing backup to complete and try the operation at a later point when no backups are running on the machine.
132134

133135
### Insufficient disk space to grow shadow copies
134136

135137
| Symptom | Resolution
136138
| -- | --
137-
| - MARS agent fails with error message: Backup failed as the shadow copy volume could not grow due to insufficient disk space on volumes containing system files <br/><br/> - Following error/warning log is present in volsnap system event logs: "There was insufficient disk space on volume C: to grow the shadow copy storage for shadow copies of C: due to this failure all shadow copies of volume C: are at risk of being deleted" | - Free up space in the highlighted volume in the event log so that there's sufficient space for shadow copies to grow while backup is in progress <br/><br/> - While configuring shadow copy space we can restrict the amount of space used for shadow copy. For more information, see this [article](/windows-server/administration/windows-commands/vssadmin-resize-shadowstorage)
139+
| - MARS agent fails with error message: Backup failed as the shadow copy volume couldn't grow due to insufficient disk space on volumes containing system files <br/><br/> - Following error/warning log is present in volsnap system event logs: "There was insufficient disk space on volume C: to grow the shadow copy storage for shadow copies of C: due to this failure all shadow copies of volume C: are at risk of being deleted" | - Free up space in the highlighted volume in the event log so that there's sufficient space for shadow copies to grow while backup is in progress <br/><br/> - While configuring shadow copy space we can restrict the amount of space used for shadow copy. For more information, see this [article](/windows-server/administration/windows-commands/vssadmin-resize-shadowstorage)
138140

139141
### EFI partition locked
140142

141143
| Symptom | Resolution
142144
| -- | --
143-
| MARS agent fails with error message: "System state backup failed as the EFI system partition is locked. This can be due to system partition access by a third-party security or back up software" | - If the issue is due to a third-party security software, then you need to contact the Anti Virus vendor so that they can allow MARS agent <br/><br/> - If a third-party backup software is running, then wait for it to finish and then retry back up
145+
| MARS agent fails with error message: System state backup operation failed as the EFI system partition is locked. This can be due to system partition access by a third-party security or back up software. | - If the issue is due to a third-party security software, then you need to contact the Anti Virus vendor so that they can allow MARS agent <br/><br/> - If a third-party backup software is running, then wait for it to finish and then retry backup.
144146

145147
## Next steps
146148

0 commit comments

Comments
 (0)