Entire LabKey Migration | lewis j mcgibbney | 2015-10-05 21:48 | |||||||||||||||
Status: Closed | |||||||||||||||||
Hi Folks, I thought I had enough information whilst in attendance at the conference last week (by the way what a great time we had in Seattle... really enjoyed it) to tackle the above issue however it seems like I am lacking some information. I am looking to dump an entire instance of labkey (not just pointers to data, but the protocols, studies, registered modules, etc.) and migrate it to a new installation of LabKey. Having spoken with Adam last week I was aware that it is possible to one of the following 1) Utilize the export features present within the GUI. It would allow protocol, studies, assays, etc. to be exported however this has the limitation that any custom data structures (which may for example have been produced by a custom third party module) will not be exported. 2) Use SQL dump’s which is a replication of the entire Postgres database itself. This would include custom data structures which may be been implemented by custom modules which may have been added. On the 'custom modules' issue. I DO NOT want to loose registered modules when migrating so I need to have each module migrated as well. It was my understanding that I could do the following: Registered modules are described and stored within $LABKEY_HOME/server/distributions/*.xml. Each of these files contain a target called “gather_modules” which registers and builds each module within the current distribution. A module descriptor therefor looks like the following 14 <target name="gather_modules"> 15 <ant antfile="${basedir}/distributions/legacy.xml" target="gather_modules" /> 16 <copy todir="${dist.modules.dir}"> 17 <filelist dir="${staging.modules.dir}"> 18 <file name="cbcassay.module" /> 19 <file name="reagent.module" /> 20 <file name="viability.module" /> 21 <file name="letvin.module" /> 22 </filelist> 23 </copy> 24 </target> The only issue is that, with LabKey Server vLabKey15.2-39071.18-bin I have no $LABKEY_HOME/server/distributions/*.xml. Can someone advise as to what the best strategy is going forward with this migration? Thank you very much in advance. Lewis |
|||||||||||||||||
| |||||||||||||||||