The VMware Live Site Recovery Configuration Import/Export Tool includes options that you can use to import or export configuration data.

You can also use the options to change the delay between retries when importing virtual machine recovery settings, to customize the number of retries, to override the network mappings with the mappings from the XML file, and so on.
Note: You can use Service Account authentication to import or export data from VMware Live Site Recovery 9.0. You cannot use solution user authentication to import or export configuration data from VMware Live Site Recovery 9.0. Solution user authentication is supported for VMware Live Site Recovery 8.6.x and earlier.
Table 1. VMware Live Site Recovery Configuration Import/Export Tool Options
Option Description
--export Required when doing an export. Cannot be used together with --import.
--exportProperties Used for exporting data by using a properties file.
--exportInteractive Used to start an interactive export with prompts for the required information.
--importProperties Required when importing configuration data with a properties file. Cannot be used together with --export.
--importInteractive Used to start an interactive import with prompts for the required information.
--lspp The vCenter Server address. It can be an IP address or FQDN.
--port <[1, 2147483647]> The port number for the Lookup Service. The default value is 443.
--localSrmName The name of the local VMware Live Site Recovery Server. Required unless you use --localSrmGuid.
--localSrmGuid The guid of the local VMware Live Site Recovery Server. Required unless you use --localSrmName.
--localAuthUseSA Used to specify whether to use a Service Account file to log in to the local site.
--localAuthCredsUsername The user name for the local vCenter Server.
--localAuthCredsPass The password for the local vCenter Server.
--localAuthSAPath Used to specify the path to the Service Account file.
--remoteAuthUseSA Used to specify whether to use a Service Account file to log in to the remote site.
--remoteAuthCredsUsername The password for the remote vCenter Server.
--remoteAuthCredsPass The password for the remote vCenter Server.
--remoteAuthSAPath Used to specify the path to the Service Account file.
--path Used for importing data. Path to the previously exported file.
--delay <[1, 2147483647]> An integer value for the desired delay between retries in milliseconds when importing recovery settings. The default value is 10000.
--retries <[1, 2147483647]> An integer value for the count of the retries when importing recovery settings. The default value is 5.
--overrideProtectionSettings Used to override the network mappings.
  • If there is a protection group, the tool attempts to update the network mappings for each protected virtual machine (override the site-level mappings) with the mappings from the XML file.
  • If there is a recovery plan, the tool attempts to update the test network mappings for the recovery plan with the mappings from the XML file.
--format Used to make the exported XML file better formatted and human-readable. The --format option significantly increases the file size.
--exportPath Path to a directory in which to create the exported file.