Site Recovery Manager fails to export data due to empty export.sh file
book
Article ID: 312788
calendar_today
Updated On:
Products
VMware Live Recovery
Issue/Introduction
Symptoms:
The impex export fails execution because the file /opt/vmware/impex/bin/export.sh is empty.
Environment
VMware Site Recovery Manager 8.4.x VMware Site Recovery Manager 8.3.x VMware Site Recovery Manager 8.5.x
Resolution
The instance of Site Recovery Manager appliance is upgraded and initially it is deployed in 8.1 or 8.2, where the impex tool was not a part of the deployment. The pairing of SRMs was done when the instance was in this initial 8.1 or 8.2 version and then in the newer versions no breaking/creating pairs are made.
After such scenario the file /opt/vmware/impex/bin/export.sh stays empty.
Workaround:
To workaround, you may try two different options:
The SRM instances to be re-paired
The file /opt/vmware/impex/bin/export.sh needs to be filled manually
Manually fix is available in the attached script, which must be download on the instance in separate folder, /opt/vmware/bin for example. Then to change the permissions to allow execution, and then to execute using root.
Download the script "create_export_sh.sh" in the "Attachments" section to the right.
As root user, place the script in "/opt/vmware/bin" with the name create_export_sh.sh
Set the script to be executable:
chmod 755 /opt/vmware/bin/create_export_sh.sh
4. Manually execute the script to create the file /opt/vmware/impex/bin/export.sh