Extracting data and metadata from an old Alfresco instance
In some of my last projects, I needed to create some helper scripts to extract information from an old Alfresco instance. My previous post about jq showed some of the helper scripts for getting users, groups or sites from Alfresco repository. I uploaded to github some examples:
- getPeople.sh
- getGroups.sh
- getSites.sh
- getSiteMemberships.sh
- getUserGroups.sh
- getAuthority.sh
https://github.com/zylklab/alfresco-export-scripts#other-helper-scripts
Besides of getting basic information, I needed to extract sites data and metadata from a repo to local disk. I tried with Alfresco Bulk Export Module, but it only worked from Alfresco 4.2 and above (JDK7 needed), so I needed a simple way of downloading documents from Alfresco sites and folders, and then to extract the corresponding metadata information. For downloading sites, I thought in a old recipe that used wget command via webdav, while for extracting the corresponding metadata information I thought in a custom webscript that provides the basic metadata information in Bulk Import syntax.
You can check the details and examples for the different scripts on github:
https://github.com/zylklab/alfresco-export-scripts/blob/master/README.md#bulk-export-scripts
Links:
- https://www.zylk.net/es/web-2-0/blog/-/blogs/using-jq-for-parsing-json-documents
- https://github.com/vprince1/alfresco-bulk-export