Problem description
When an EC2 instance assigned to a backup policy for consistent AMI backups encounters the following error:
Resolution
Make sure Amazon SSM Agent and VSS processes are excluded from Sentinel One, Symantec and SAP Application.
We expect all the VSS writer statuses to be in a stable state, basically we shouldn't be observing any "Waiting for completion" status.
On the server, start the following services
Background Intelligent Transfer Service,
COM+ Event System,
COM+ System Application,
Cryptographic Services
Volume Shadow Copy
Microsoft Software Shadow Copy Provider
If any anti virus application is installed on the Ec2 instance . We would recommend as a best practice to exclude the following from anti virus:
VSS processes ( vssadmin.exe, vssvc.exe, swprc.dll etc )
Folder "C:\ProgramData\Amazon\SSM\"
Process to be excluded 'amazon-ssm-agent.exe'
If the VSS writer status is still Waiting for completion, we would recommend rebooting the server once.