cancel
Showing results for 
Search instead for 
Did you mean: 

Migration to Alfresco - API?

dmralfing
Champ in-the-making
Champ in-the-making
I have to migrate 40.000 Documents from a CMS to Alfresco. All the information in Alfresco will be organized in Sites in the Alfresco Share, so the documents will be stored in the document libraries of the differente sites.
Somebody can tell me what is the most advisable way to do it?. I don´t care if it is with Web Services, JCR, CMIS…I only need to know a way that works OK and that let me do with a program everything I can do with the Share Web Explorer Interface,
Thank you so much!
3 REPLIES 3

rjohnson
Star Contributor
Star Contributor
There is a bulk loader in Alfresco 4.0+. In the Community version it only does "streaming" but for 40,000 docs that should be fine unless your documents are particularly large. I've loaded 150,000 small documents in less than an hour on modest sized hardware.

You call it by http://{yourhost}:8080/alfresco/service/bulkfsimport

and there is some documentation at

http://wiki.alfresco.com/wiki/Bulk_Importer

rjohnson
Star Contributor
Star Contributor
There is a bulk loader in Alfresco 4.0+. In the Community version it only does "streaming" but for 40,000 docs that should be fine unless your documents are particularly large. I've loaded 150,000 small documents in less than an hour on modest sized hardware.

You call it by http://{yourhost}:8080/alfresco/service/bulkfsimport

and there is some documentation at

http://wiki.alfresco.com/wiki/Bulk_Importer

kaynezhang
World-Class Innovator
World-Class Innovator
In alfresco sites are created as nodes of type st:site under  the "/Company Home/Sites" folder . Documents of a site is saved in ${SITE_SHORT_NAME}/documentLibrary folder under site node.So all documents of a site ${SITE_NAME} are saved under "/Company Home/sites/${SITE_NAME}/documentLibrary" folder.
Since You have 40.000 Documents(which is not two much ) and they will be sepreated in the document libraries of the differente sites. I suggest you write a program  using opencmis api or alfresco webscript api,by writting a program you can have more control over metadata an which document go to which site.