This article outlines the steps to obtain a list of destination datastores configured for Virtual Machines in vSphere Replication.
You can retrieve the list of destination datastores by checking the replication configuration for individual Virtual Machines:
Alternatively, you can access this information directly from the VRMS database:
SSH into the vSphere Replication Appliance and navigate to the following directory:cd /opt/vmware/vpostgres/current/bin
Connect to the VRMS database using the following command:./psql -U vrmsdb
You will be prompted for a password, which can be found in the following file:/opt/vmware/hms/conf/embedded_db.cfg
\d
virtualmachineentity):SELECT * FROM virtualmachineentity;SELECT name, rpo, quiesceguestenabled, recoverystate FROM groupentity; SELECT name, configfilespath, instanceuuid, destconfigfilesdatastoreuuid FROM virtualmachineentity;Look for the column destconfigfilesdatastoreuuid, which contains the GID for all virtual machines and their associated datastore UUIDs.
Additional Information
To back up the VRMS database:
Navigate to the directory:cd /opt/vmware/vpostgres/current/bin
./pg_dump -U vrmsdb -Fp -c > /tmp/DBBackup.bak