cancel
Showing results for 
Search instead for 
Did you mean: 

Share Site Migration from one repository to another

santoshbaradwaj
Champ in-the-making
Champ in-the-making
Hello Folks,

Can Anyone please guide me which is the Best way to Migrate Alfresco Share Site from One Environment to another with all site Artifacts.

Version: Alfresco 5.1

Thanks
Santosh
8 REPLIES 8

angelborroy
Community Manager Community Manager
Community Manager
You can try this one: http://www.keensoft.es/en/alfresco-exporting-a-whole-sit-from-alfresco-4-2-c-to-alfresco-5-0-c/

To export a site (first part of the post) you can just use http://localhost:8080/alfresco/s/api/sites/site-name/export instead of using Alfresco Explorer

Take a look also at this Python script https://github.com/wabson/share-import-export
Hyland Developer Evangelist

gawadesk
Star Contributor
Star Contributor
Hi Santosh,

You can try <a href="http://localhost:8080/alfresco/s/api/sites/site-name/export"> http://localhost:8080/alfresco/s/api/sites/site-name/export</a> webscript to export all your site artifacts as zip. This zip will contains below 3 acp and one group-member relation txt file.

<ul>
<li>Contents.acp</li>
<li>Users.acp</li>
<li>People.acp</li>
<li>Groups.txt</li>
</ul>
Unfortunately we don't have site import. Neither we have inbuilt ACP import for share so you have to use addon https://addons.alfresco.com/addons/importexport-acpzip-share

This small workaround for few small to medium site should be manageable.

I have not tried Python Script mentioned by Angel Borroy but in case someone used it then let us know the feedback.

Thanks,
Krishna  

angelborroy
Community Manager Community Manager
Community Manager
gawadesk you can use a rule on a folder to import > http://www.keensoft.es/en/alfresco-exporting-a-whole-sit-from-alfresco-4-2-c-to-alfresco-5-0-c/
Hyland Developer Evangelist

Ok Great. So it will be lot easier for Santosh. He need to export it by webscript and import with rule mentioned by you in blog.

Thanks,
Krishna

Hi Angel,

Can you Please Provide Rule Selection Criteria in English?

Thanks
Santosh

Sure.

Just select
../Sites
instead of
../Sitios
Hyland Developer Evangelist

santoshbaradwaj
Champ in-the-making
Champ in-the-making
I will Try these options and Let you guys Know the feedback.
How big site(Content Size), I can migrate with Option DO you guys have any Idea?

Thanks
Santosh

gawadesk
Star Contributor
Star Contributor
You should not have any size issue as long as your network allow. Just in case check have a look for below property. It should be 0 in your share-documentlibrary-config.xml file.


<maximum-file-size-limit>0</maximum-file-size-limit>