ODBC error: (22001) - ERROR: value too long for type character varying(##)For some reason when the VM is restored the “MAC Address” field value in the VM’s vmx file populates with text of “Backup Encryption Key:…”, which is an invalid value. It seems the VCSA is blocking the value from being added to the VCDB.
From the vSphere client UI:
It is possible the error relates to an invalid entry in the VCDB. If the above scenario does not match yours, please review the below linked article.