2
Assuming you have a database matched up to a fileset of a particular XOOPS installation and set of modules, then yes, you should be able to switch it back and forth using the config file, assuming the domain name and such match as well overall.
Is that the question you were asking?