When you attempt to export the VMware Live Site Recovery configuration by using a script without credentials, the export fails with an error.
Problem
In a
VMware Live Site Recovery environment with only array-based replications, when you attempt to export the
VMware Live Site Recovery configuration by using a script without credentials, the export fails. The Impex log contains the following error:
YYYY-MM-DD 04:35:57,061 [srm-reactive-thread-13] ERROR com.vmware.srm.client.impex.Main - Export SRM configuration ended.(vim.fault.NoPermission) { faultCause = null, faultMessage = null, object = ManagedObjectReference: type = Folder, value = group-d1, serverGuid = ,privilegeId = StorageProfile.View }
Solution
Add policy-driven storage view to the remote VMware Live Site Recovery solution user role or export the Site Recovery Manager configuration by either using a properties file, or in interactive mode with credentials. See, Use a Properties File to Export VMware Live Site Recovery Configuration Data and Export VMware Live Site Recovery Configuration Data with the Standalone Import/Export Tool.