You can use a properties file to simplify or automate the export of VMware Live Site Recovery configuration data in an XML file.
If you are using the
VMware Live Site Recovery appliance, you can
schedule a cron job to automate the export of configuration data.
Prerequisites
- Verify that you have Java 11.0.x or later installed on the VMware Live Site Recovery host virtual machine.
- Verify that you have a site pair with VMware Live Site Recovery running on both the protected and the recovery site.
- Verify that you have prepared an srm_configuration.properties file.
Procedure
- Log in to the VMware Live Site Recovery virtual appliance host virtual machine.
- Navigate to /opt/vmware/impex, and run the following command.
java -jar import-export.jar --exportProperties=Path_to_properties_file
To make the XML file more readable, add the
format
option.
java -jar import-export.jar --exportProperties=Path_to_properties_file --format