You can use the VMware Live Site Recovery Configuration Import/Export Tool to export and import configuration data.
If you plan to migrate VMware Live Site Recovery to a different host, you can use the tool to export inventory mappings, recovery plans, protection groups, and the related objects into an XML file. You can then import the configuration data from the previously exported file.
The VMware Live Site Recovery Configuration Import/Export Tool is available through the VMware Live Site Recovery User Interface and as a standalone .jar file. When you deploy the VMware Live Site Recovery appliance, the tool is also deployed with the appliance. The tool is located in the /opt/vmware/impex directory.
Requirements for Using the Standalone Configuration Import/Export Tool
- You must have Java 11.0.x or later installed on the VMware Live Site Recovery host machine.
- If you want to use the standalone VMware Live Site Recovery Configuration Import/Export Tool from a different virtual machine, you must properly configure the JAVA_HOME environment variable. For example, JAVA_HOME=/usr/lib/java-11-openjdk-11.0.18.
Requirements for Exporting and Importing VMware Live Site Recovery Configuration Data
- Before you can export a configuration, you must have a site pair with VMware Live Site Recovery up and running on both the protected and the recovery site.
- Import is supported in a clean VMware Live Site Recovery installation, registered to the same vCenter Server instance or to a vCenter Server instance which contains the same inventory.
Input Parameters Required for Import with the Standalone Configuration Tool
- Lookup Service host name. The host name of the vCenter Server.
- vCenter Single Sign-On administrator user name and password for both sites or service account.
Exported Information
The VMware Live Site Recovery Configuration Import/Export Tool exports the VMware Live Site Recovery version, build number, local and remote site names, inventory mappings, and placeholder datastores. Other exported information includes advanced settings, array managers with SRA information, protection groups, recovery plans, power on and power off settings, shutdown actions, and so on. The information is stored in an XML file. You can validate the XML file by using the following XSD schema.