0
votes

I need to export everything (sites, dashboard, users, groups ecc...) is under my Alfresco ed import all to another Alfresco installation.

I discovered this usefull tool https://github.com/atolcd/alfresco-share-import-export but seems to me that it is good to create an .acp of a site for example but it's not enought for others stuff expecially users.

Please, what's an easy way to export everything from Alfresco ? And then how to import ? Thank you.

I used this Pynthon scripts github.com/wabson/share-import-export but no way an error on the python script execution : C:\Users\xxx\Desktop\Nuova cartella>python export-users.py file.json --username=xxx --password=xxx --url=localhost:8080/share/page/site/xxx/dashboard File "export-users.py", line 5 ^ SyntaxError: invalid syntax

I have Alfresco 5.1 and Pynthon 2.7.12

screenshot

2
Thanks ! I did what you said but it gives me an error on the python script execution : C:\Users\xxx\Desktop\Nuova cartella>python export-users.py file.json --username=xxx --password=xxx --url=localhost:8080/share/page/site/xxx/dashboard File "export-users.py", line 5 <!DOCTYPE html> ^ SyntaxError: invalid syntaxMauro
Please update you question with these new informations.Akah

2 Answers

1
votes

Your url param is incorrect. Use the below one.

python export-users.py file.json --username=admin --password=admin --url=http://localhost:8080/share

This should work for you.

The Share URL should be, http://<IP or systemname>:<portnumber/share, but you've mentioned the one site dashboard url. Please change that.

0
votes

You can also use alfresco OOTB replication service and replicate all the data from one alfresco instance to second one.