Hi to all, in Alfresco 4.1.5 I have to import a contentstore from a live site to a test site. In live site are store Documents with personal information and is not possible to copy this document in test site. I can copy all db information and contentstore from a site to other one but i have to replace bin file that have inside document with fake files
Can you please elaborate more on this - "but i have to replace bin file that have inside document with fake files"
If I understand correctly then You need to import contentstore from your prod to test env then you need to restore your contentsore, DB and index as a single package. [You may rebuild index in test env. as per your requirement or back it up too to save time] All 3 must be in sync and need to follow standard backup [Hot or cold] and then restore it in test env else your restore may fail.
this is correct, but i can not move document saved by alfresco users from production to test env because this type of documents have reserverd infomration. this is why i have to replace bin file in content store that are file saved from alfresco users (As pdf, doc, xml, excel)
You should be able to replace the "contentStore" spring bean with your own fake implementation that generates test data. There may be unit tests in alfresco that already do this.