2016-11-25 30 views
0

我需要導出一切(網站,儀表板,用戶,組ecc ...)是在我的Alfresco導入所有到另一個Alfresco安裝。導出一切從Alfresco

我發現了這個有用的工具https://github.com/atolcd/alfresco-share-import-export,但在我看來,創建一個站點的.acp文件比較好,但對其他用戶來說並不足夠。

請問,什麼是從Alfresco出口一切的簡單方法?然後如何導入?謝謝。

我用這個Pynthon腳本github.com/wabson/share-import-export但沒有辦法在python腳本執行時出錯:C:\ Users \ xxx \ Desktop \ Nuova cartella> python export-users.py文件.json --username = xxx --password = xxx --url = localhost:8080/share/page/site/xxx/dashboard文件「export-users.py」,第5行^ SyntaxError:無效語法

I有露天5.1和Pynthon 2.7.12

screenshot

+1

看看這個:https://github.com/wabson/share-import-export – wildloop

+0

謝謝!我做了你說的,但它給了我一個Python腳本執行錯誤:C:\ Users \ xxx \ Desktop \ Nuova cartella> python export-users.py file.json --username = xxx --password = xxx - URL = HTTP://本地主機:8080 /股/網頁/網站/ XXX /儀表板 文件 「export-users.py」,第5行 ^ 的SyntaxError <!DOCTYPE HTML!>:無效的語法 – Mauro

+0

請更新你的問題與這些新的信息。 – Akah

回答

1

你的URL參數是不正確。使用下面的一個。

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

這應該適合你。

共享網址應該是http://<IP or systemname>:<portnumber/share,但是您提到了一個網站儀表板網址。請改變它。

+0

謝謝。我執行了你的命令python export-users.py file.json --username = myusername --password = mypassword --url = http:// localhost:8080/share但是錯誤與之前一樣,如上所述 – Mauro

+0

你'重新丟失http://爲--url參數。請檢查。 –

+0

對不起,但在現實中我使用http://並且結果相同 – Mauro

0

您還可以使用露天OOTB複製服務並將所有數據從一個露天實例複製到另一個露天實例。