How to export a repository and import into another Business Central in JBoss B*MS 6?
Environment
- Red Hat JBoss BRMS (BRMS)
- 6.x
- Red Hat JBoss BPM Suite (BPMS)
- 6.x
Issue
- How to export an entire repository from one Business Central instance to another one? While exporting, does it include the model jar file also that was uploaded into the source Business Central instance?
- what is the proper procedure to back up Business Central repository, not only the assets but also the packages, projects etc.
Resolution
- In this current use-case the suggested way to achieve both the requirements would be to copy the
.niogitdirectory fromjboss-eap-6.1/bin(default)location of the sourceBRMS/BPMSinstallation and use it in the targetBRMS/BPMSinstallation. Once it is done users can see the new repository being imported, but users might not see theMaven artifactswhich were imported into the sourceBRMS/BPMSrepository. - This first activity can also be achieved using the Clone Repository feature of
Business Central, however it requires the user to have anadminrole. But, note that it still can't clone theMaven artifactsstored inBusiness Central, likekjarand other uploaded artifacts. - In order to import those
Maven artifactsofBusiness Centralusers would need to copy and paste thejboss-eap-6.1/bin/repositories/folder too in order to see theMaven artifactswhich are uploaded to the repository.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
