You can use a properties file to simplify or automate the import of VMware Live Site Recovery configuration data from an XML file.

Prerequisites

  • Provide a clean VMware Live Site Recovery installation, registered with the same vCenter Server instance or with a vCenter Server instance with the same inventory as the exported.
  • Verify that you have Java 11.0.x or later installed and environment variables configured on the VMware Live Site Recovery host virtual machine.
  • Verify that you have prepared an srm_configuration.properties file.

Procedure

  1. Log in to the VMware Live Site Recovery virtual appliance host virtual machine.
  2. Navigate to /opt/vmware/impex, and run the following command.
    java -jar import-export.jar --importProperties=Path_to_properties_file --path Path_to_exported_XML_file