I'm using the Datapump APi to import data into the magento store. Works quite well.
Now I need to switch the database, based on a setting in my custom system
I search for hours but I found no solution. The database parameters are saved globally (not per profile) and living in a ini file. I found no easy way without hacking the whole module in setting the database parameters per profile or in an order dynamic way.
How can this be achieved?