You can use a properties file to simplify or automate the export of Site Recovery Manager configuration data in an XML file.

If you are using the Site Recovery Manager appliance, you can schedule a cron job to automate the export of configuration data.

Prerequisites

  • Verify that you have Java 1.8.x or later installed on the Site Recovery Manager host virtual machine.
  • Verify that you have a site pair with Site Recovery Manager running on both the protected and the recovery site.
  • Verify that you have prepared an srm_configuration.properties file.

Procedure

  1. Download the VMware Site Recovery Manager 8.3 Configuration Import/Export Tool in a folder on the Site Recovery Manager host virtual machine.
  2. Open a command shell, navigate to the download folder, and run the following command.
    java -jar import-export-tool-8.3.0-<build_number>.jar --exportProperties=Path_to_properties_file
    To make the XML file more readable, add the format option.

    java -jar import-export-tool-8.3.0-<build_number>.jar --exportProperties=Path_to_properties_file --format