Query definitions can be Imported using the following command:
There is no automatic way to Export Queries, you have to do the following:
1. Right-click on the Query and select Export Definition
2. Select the Folder you want to Export to and Save the File.
3. The copy that folder to the other Domain Manager.
4. Run the command above, pointing to the folder you created.
(You will not get any output from the command).
5. Refresh the GUI and you should see the Imported Queries.
Note: This command can be executed only on the Domain Manager.