Export user queries with the following procedure:
- Go to Explore > Query > User Queries
- Select all
- Actions > Export (this generates an xml file)
Import user queries with the following procedure:
- Go to Explore > Query > User Queries
- Click on Import
- Select the xml file containing the exported queries
This procedure has a good chance to work if the export/import is executed on different versions. For example from 11.3 to 12.2.