How to migrate a CACHE database and code to IRIS ?
I have a workstation with a CACHE instance up and running.
On that same workstation there is also an instance of IRIS (fresh install). I would like to migrate manually the CACHE database to IRIS (ideally, all globals, routines and classes).
What I tried is to copy C:\InterSystems\Cache\mgr\CACHE.DAT to C:\InterSystems\IRIS\mgr\IRIS.DAT (after shutting down both instances) but it does not work.
I got the following message : (112) The service for the IRIS instance did not start.
Is there a better way ? (eg: using Portal or some API from command line).
I was thinking about exporting all code from Studio to XML, same for database (to GOF, using Portal) but it will probably take ages and not sure if it will export everything.
I took a look at this link : https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=AMIG
It explain how to perform migration but only IRIS => IRIS.