Avamar: VM Image Backup fails for VDI with avvcbimage Error <0000>: [IMG0009] Create Snapshot: snapshot creation or pre/post snapshot script failed.

Summary: VM Image Backup fails for Virtual desktop infrastructure (VDI) with "avvcbimage Error <0000>: [IMG0009] Create Snapshot: snapshot creation or pre/post snapshot script failed".

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

VMware Image Backup fails for Virtual desktop infrastructure (VDI) with avvcbimage Error <0000>: [IMG0009] Create Snapshot: snapshot creation or pre/post snapshot script failed.

Errors in /usr/local/avamarclient/var/vmimagew.log are as below:
avvcbimage FATAL <0000>: [IMG0002] The datastore information from VMX '[3PAR11_CITRIX02] Virtualmachine/Virtualmachine.vmx' will not permit a restore or backup.
avvcbimage Info <9772>: Starting graceful (staged) termination, Too many pre-existing snapshots on the datastore will not permit a restore or backup. (wrap-up stage)
avvcbimage Error <0000>: [IMG0009] Create Snapshot: snapshot creation or pre/post snapshot script failed.
avvcbimage Error <0000>: [IMG0009] Create Snapshot: snapshot creation/pre-script/post-script failed.

There are delta files exist in the VM files. This appears in /usr/local/avamarclient/var/vmimagew.log as below:

avvcbimage Info <14677>: All VM file Info:
File:'Virtualmachine-556-1ab17270-1eb2-4306-b818-1f4062fe5f71-xd-delta-ctk.vmdk' last modified on '05-May-2020 23:34'  size=7930
File:'Virtualmachine-1ab17270-1eb2-4306-b818-1f4062fe5f71-xd-delta-delta.vmdk' last modified on '12-May-2020 13:26'  size=13
File:'Virtualmachine-1ab17270-1eb2-4306-b818-1f4062fe5f71-xd-delta.vmdk' last modified on '05-May-2020 23:33'  size=573

Cause

Proxy Datastore check Feature is enabled in avvcbimageAll.cmd. This Feature is not recommended for Avamar image backups with VDI.

In order to verify that the above Feature is enable run the below command on the proxy server:

 
cat /usr/local/avamarclient/var/avvcbimageAll.cmd | grep -i skip_datastore_check

If enabled, The output should be as below:
 
cat /usr/local/avamarclient/var/avvcbimageAll.cmd | grep -i skip_datastore_check
#--skip_datastore_check=false


 

Resolution

We have two possible resolutions for this issue:
  • Edit in avvcbimageAll.cmd on the proxy server. uncomment skip_datastore_check line and set its value to true.
cat /usr/local/avamarclient/var/avvcbimageAll.cmd | grep -i skip_datastore_check
--skip_datastore_check=true

  • OR create a specific dataset for VDI backups and add the below flag:
[avvcbimage]skip_datastore_check=true
 

 

Affected Products

Avamar

Products

Avamar
Article Properties
Article Number: 000078741
Article Type: Solution
Last Modified: 10 Jan 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.