File Deletion Mechanism in Alfresco Document Management System

Featured Image
File Deletion Mechanism in Alfresco Document Management System :
  • When user delete files, it will go directly to the Recycle Bin/Deleted Items. And it will remain there forever until user/admin permanently delete from : Profile in the “Manage Deleted Items” section
  • After that, the physical file will still exist in “alf_data/contentstore” directory. Only after passing system.content.orphanProtectDays (in repository.properties), physical files will be moved from “alf_data/contentstore” directory to “alf_data/contentstore.deleted” directory. The default value is 14 days.
  • After that the admin manually/automatically using scheduler can erase the contents of “alf_data/contentstore.deleted ” directory

It’s a bit tricky, since Alfresco is designed handle file deletion carefully.

Some values that need to be adjusted in repository.properties:
  • system.content.orphanProtectDays is the duration how many days deleted files will be moved from “contentstore” directory to “contentstore.deleted” directory
  • system.content.orphanCleanup.cronExpression = 0 0 4 * * ? means the scheduler will run every morning at 4.

 
0
+
Happy Clients
0
+
Projects
0
+
Years in Business

Contact Us

Email: info@softbless.com

Phone: +62-21-85918058 & +62-21-85918059

Mobile & Whatsapp: +62-811-221-305

Click here to Chat via Whatsapp : +62-811-221-305

Ask questions/book a meeting :