You can use the standalone VMware Site Recovery Manager 8.7 Configuration Import/Export Tool to export Site Recovery Manager configuration data in an XML file.
Prerequisites
- Verify that you have Java 11.0.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 sites.
Procedure
- Log in to the Site Recovery Manager virtual appliance host virtual machine.
- Navigate to /opt/vmware/impex, and run the following command.
java -jar import-export.jar --exportInteractiveTo make the XML file more human-readable, add the
format
option. Adding theformat
option significantly increases the XML file size.java -jar import-export.jar --exportInteractive --format
- Enter the host name or the IP address of the Lookup Service.
- Enter the port number or press Enter, if you use the default port.
- Accept the SHA-1 Thumbprint.
- (Optional) Select whether to use service account instead of the local vCenter Server credentials.
- If you select yes, follow the prompts and provide the necessary information.
Option Description Service account path Path to the service account. For example, path:/opt/vmware/impex/sa/file.
- If you select yes, follow the prompts and provide the necessary information.
- (Optional) If you selected no, select whether to use Java keystore instead of the local vCenter Server credentials.
Note: The Java keystore must hold certificate and key for a solution user with read permissions for the local vCenter Server and Site Recovery Manager.
- If you select yes, follow the prompts and provide the necessary information.
Option Description Keystore type Press Enter to use the default keystore type JCEKS, or provide a keystore type. Keystore path Path to the Java keystore. For example, path:/opt/vmware/impex/ks/ks.keystore. Keystore password The password for the Java keystore. Keystore certificate The certificate alias for the solution user for the local vCenter Server. Keystore key The key alias for the solution user for the local vCenter Server. Keystore key password The key password for the solution user for the local vCenter Server.
- If you select yes, follow the prompts and provide the necessary information.
- If you selected no, enter the user name and password for the local vCenter Server instance.
- Select a local Site Recovery Manager instance.
- (Optional) Select whether to use service account instead of the remote vCenter Server credentials.
- If you select yes, follow the prompts and provide the necessary information.
Option Description Service account path Path to the service account. For example, path:/opt/vmware/impex/sa/file.
- If you select yes, follow the prompts and provide the necessary information.
- (Optional) If you selected no, select whether to use Java keystore instead of the remote vCenter Server credentials.
Note: The Java keystore must hold certificate and key for a solution user with read permissions for the remote vCenter Server and Site Recovery Manager.
- If you select yes, follow the prompts and provide the necessary information.
Option Description Keystore type Press Enter to use the default keystore type JCEKS, or provide a keystore type. Keystore path Path to the Java keystore. For example, path:/opt/vmware/impex/ks/ks.keystore. Keystore password The password for the Java keystore. Keystore certificate The certificate alias for the solution user for the remote vCenter Server. Keystore key The key alias for the solution user for the remote vCenter Server. Keystore key password The key password for the solution user for the remote vCenter Server.
- If you select yes, follow the prompts and provide the necessary information.
- If you selected no, enter user name and password for the remote vCenter Server instance.