01-09-2026 03:32 AM
Hi,
I deleted a file in Alfresco. I know its name, content, and deletion date.
The file was first in the Trashcan, but after a few days it was purged by the Trashcan Cleaner. Is it still possible to retrieve a file after it has been purged?
Should the content still exist in contentstore or contentstore.deleted?
When a file is purged, does Alfresco keep the same date-based folder structure, or does it use a different one? Thanks for your help.
01-09-2026 04:57 AM
Regards
Roberto Gámiz Sánchez
Alfresco Content Services Engineer
01-09-2026 07:07 AM
This diagram may help you understand where to find the file: https://github.com/keensoft/alfresco-deleted-content-store-cleaner
The content will be there (contentstore or contentstore.deleted) with the same date-based folder structure. The main problem is how to search for it, as it's a binary file with a "random" name. The folder date corresponds to when the file was originally uploaded, so knowing that date should help you narrow down the search.
Or if you still have a copy of the original file (or know its exact content), you can compute its hash and search for matching binaries in the contentstore folders.