Thursday, August 01, 2013

Find and restore a single document from alfresco backup

I haven't tested this, but it looks good. Must test soon. Preferably before I need to do it against someone's production setup :-) Find and restore a single document from alfresco backup Highlights: Given the filename ${fname}
  1. load the database dump into a scratch db
  2. sql selects to identify which file on disk corresponds to the file you want (including which version)
  3. grab the file from the backup