You can use a properties file to simplify or automate the export of vSphere Replication configuration data.

Prerequisites

Procedure

  1. Download the vSphere Replication 8.4 Configuration Import/Export Tool in a folder on the vSphere Replication host virtual machine.
  2. Open a command shell, navigate to the folder where you extracted the tool, and run the following command.
    java -jar C:\Users\Administrator\Downloads\impex\vr-import-export-tool-8.4.0.jar --export --exportPropererties=Path_to_properties_file
    To make the XML file more human-readable, add the format option. Adding the format option significantly increases the XML file size.

    java -jar C:\Users\Administrator\Downloads\impex\vr-import-export-tool-8.4.0.jar --export --format --exportProperties=Path_to_properties_file

Example

Example of Export with Properties File
C:\Users\Administrator>java -jar C:\Users\Administrator\Downloads\impex\vr-import-export-tool-8.4.0.jar --format --exportProperties=C:\Users\Administrator\Downloads\impex\sample.properties --exportPath=C:\Users\Administrator\Downloads\impex\
***Copyright (c) 2018-2019 VMware, Inc. All rights reserved.***

Initiating using properties file.

Establishing connection...

Collecting data...

Starting export...

2019-10-28 07:56:52,529 DEBUG - VR inventory export started.

2019-10-28 07:56:52,632 DEBUG - Replication groups export started.

2019-10-28 07:56:52,668 DEBUG - VR inventory export ended.

2019-10-28 07:56:53,329 DEBUG - Replication groups export ended.

Writing to file started.

Writing to file finished.

Export ended successfully.