cancel
Showing results for 
Search instead for 
Did you mean: 

merge two instances of Alfresco

masofcon
Champ in-the-making
Champ in-the-making
Hi all.

I have two instances of Alfresco 2.2 installed in two different servers.These two installations are used by two departments of organization for storing their documents. I need to merge this instanses. The final goal is to have one instance of Alfresco in one server.

How can I do it?

Thanks a lot.
4 REPLIES 4

openpj
Elite Collaborator
Elite Collaborator
Alfresco provide Export and Import feature, you can try to export all the first repository, or a single space, using Export feature on Administration Console in Alfresco Web Client, you must login in Web Client as an administrators.
When you view the target space in Web Client, you must click on Administration Console (the target is the space that you are viewing).
Then you can select the spaces or entire repository to export, and you must select where Alfresco stores the ACP module (export of all of your contents).
Then you can download ACP module and you can try to import in the second repository.


If you would like to solve this problem with an implementation I think you can do it in two way:

1. You can create an Alfresco Webscript/Job that automatically read all contents from the first repositoty and it store them on the second repository via Alfresco Webscript RESTful API.

2. If you would like to use Alfresco Web Services API you can create a J2EE application that call the first repository to real contents and it can store contents calling the second repositoty, all invoking Alfresco via Web Services API.

Hope this helps.

masofcon
Champ in-the-making
Champ in-the-making
Thanks, OpenPj.

I have one more question. These two installations have their own independent models and user groups. Will everything be ok if I follow one of your advices?

mdutoo
Champ on-the-rise
Champ on-the-rise
Hi

You have to first migrate models and users (by merging their configurations). Then it should be OK.
Obviously try it first on a test target Alfresco server !

If you need more versatility, or want to do it in trial-and-error steps, have a look at ATL Tools. Talend 3.1 comes with an Open Source Alfresco import connector.

groutal
Champ in-the-making
Champ in-the-making
Indeed, the new version of Talend 3.1 comes with connectors that allow the ETL tool to perform all kinds of operation, such as data integration, migration, synchronization with Alfresco. For more information: http://www.talend.com/