OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: jw on October 22, 2010, 09:00:12 PM

Title: how to copy data from one cmod environment to another
Post by: jw on October 22, 2010, 09:00:12 PM
As I am new to CMOD, please bear with me if I am asking stupid question.

I have some data in one CMOD database, but I do not have the original data source anymore.  Is there anyway to copy the data from the CMOD database to another CMOD database.  The definition for application group and applications are the same in 2 different environment.

Any idea?

Thanks very much.
JW
Title: Re: how to copy data from one cmod environment to another
Post by: Justin Derrick on October 23, 2010, 02:09:12 PM
You can use 'arsdoc get' to extract data from the server, then use arsload to load it to the new one.  You'll want to use the generic index options during extract and load.  Good luck!
Title: Re: how to copy data from one cmod environment to another
Post by: Justin Derrick on October 26, 2010, 01:56:22 PM
Once you've got the documents extracted, you can override the indexer settings in the Application by using the command line option -X G  (inde_X_er, _G_eneric).  This uses the .ind file generated by arsdoc, instead of trying to re-index the documents you've output.

Since you already have the indexes for the documents (and you won't have to search the file for them) the load should be relatively fast.

Good luck!

-JD.
Title: Re: how to copy data from one cmod environment to another
Post by: jw on October 26, 2010, 02:14:28 PM
Thanks Justin.  Very much appreciated

-jw