Skip to content

Commit 7c27254

Browse files
VM TS updates
1 parent fdc65c4 commit 7c27254

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

articles/backup/backup-azure-vms-troubleshoot.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ title: Troubleshoot backup errors with Azure VMs
33
description: In this article, learn how to troubleshoot errors encountered with backup and restore of Azure virtual machines.
44
ms.reviewer: srinathv
55
ms.topic: troubleshooting
6-
ms.date: 12/23/2022
6+
ms.date: 07/20/2023
77
ms.service: backup
8-
author: jyothisuri
9-
ms.author: jsuri
8+
author: AbhishekMallick-MS
9+
ms.author: v-abhmallick
1010
---
1111

1212
# Troubleshooting backup failures on Azure virtual machines
@@ -133,7 +133,12 @@ Error message: Snapshot operation failed because VSS writers were in a bad state
133133

134134
This error occurs because the VSS writers were in a bad state. Azure Backup extensions interact with VSS Writers to take snapshots of the disks. To resolve this issue, follow these steps:
135135

136-
Step 1: Restart VSS writers that are in a bad state.
136+
**Step 1**: Check the **Free Disk Space**, **VM resources as RAM and page file**, and **CPU utilization percentage**.
137+
138+
- Increase the VM size to increase vCPUs and RAM space.
139+
- Increase the disk size if the free disk space is low.
140+
141+
**Step 2**: Restart VSS writers that are in a bad state.
137142

138143
* From an elevated command prompt, run `vssadmin list writers`.
139144
* The output contains all VSS writers and their state. For every VSS writer with a state that's not **[1] Stable**, restart the respective VSS writer's service.
@@ -145,13 +150,13 @@ Step 1: Restart VSS writers that are in a bad state.
145150
> [!NOTE]
146151
> Restarting some services can have an impact on your production environment. Ensure the approval process is followed and the service is restarted at the scheduled downtime.
147152
148-
Step 2: If restarting the VSS writers did not resolve the issue, then run the following command from an elevated command-prompt (as an administrator) to prevent the threads from being created for blob-snapshots.
153+
Step 3: If restarting the VSS writers did not resolve the issue, then run the following command from an elevated command-prompt (as an administrator) to prevent the threads from being created for blob-snapshots.
149154

150155
```console
151156
REG ADD "HKLM\SOFTWARE\Microsoft\BcdrAgentPersistentKeys" /v SnapshotWithoutThreads /t REG_SZ /d True /f
152157
```
153158

154-
Step 3: If steps 1 and 2 did not resolve the issue, then the failure could be due to VSS writers timing out due to limited IOPS.<br>
159+
Step 4: If steps 1 and 2 did not resolve the issue, then the failure could be due to VSS writers timing out due to limited IOPS.<br>
155160

156161
To verify, navigate to ***System and Event Viewer Application logs*** and check for the following error message:<br>
157162
*The shadow copy provider timed out while holding writes to the volume being shadow copied. This is probably due to excessive activity on the volume by an application or a system service. Try again later when activity on the volume is reduced.*<br>

0 commit comments

Comments
 (0)