-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Exporting a site (Alfresco 4.0)
python export-site.py http://127.0.0.1:8080/share/page/site/unternehmenshandbuch/dashboard bla.json --username=x--password=x --export-content
Log in (admin)
Get site information
Export all site content
Export documentLibrary
Log out (admin)
Traceback (most recent call last):
File "export-site.py", line 254, in
main(sys.argv[1:])
File "export-site.py", line 214, in main
results = sc.exportAllSiteContent(sitename, siteContainers, includePaths, tempContainerName, async)
File "/Volumes/DMS/xp/share-import-export/shareclient/alfresco.py", line 810, in exportAllSiteContent
self.exportSiteContent(siteId, child['name'], includePaths, tempContainerName, async)
File "/Volumes/DMS/xp/share-import-export/shareclient/alfresco.py", line 775, in exportSiteContent
self.doJSONPost('proxy/alfresco/api/actionQueue?async=%s' % (str(async).lower()), json.dumps(actionDef))
File "/Volumes/DMS/xp/share-import-export/shareclient/alfresco.py", line 163, in doJSONPost
resp = self.doPost(path, dataStr, 'application/json; charset=UTF-8', method)
File "/Volumes/DMS/xp/share-import-export/shareclient/alfresco.py", line 144, in doPost
return self.doRequest(method, path, data, dataType)
File "/Volumes/DMS/xp/share-import-export/shareclient/alfresco.py", line 132, in doRequest
raise SurfRequestError(method, e.url, e.code, e.msg, e.hdrs, e.fp)
alfresco.SurfRequestError