02-21-2019 02:13 AM
Hi,
there is big size of data store in alfresco file (contentstore.deleted)
can i have delete it from SSH
rm contentstore.deleted
Please suggest.
02-21-2019 09:58 PM
Trashcan Cleaner has nothing to see with contentstore.deleted folder. Probably this can help to understand removing process https://github.com/keensoft/alfresco-deleted-content-store-cleaner/blob/master/README.md
03-05-2019 12:27 AM
You can also have a Window/Linux (window task schedule) schedule job to run once in a month to delete the contentstorre.deleted folder.
Thanks
-D
03-06-2019 05:57 AM
I use a cron job to cleanup contentstore deleted - as you mention ssh, I think you are using Linux too.
First I create a file in contentstore deleted .... stands for the path to contentstore.deleted
touch ....contentstore.deleted/lastrun
(for my monitoring system and to prevent me from accidently deleting contentstore.deleted)
then delete all the files older than 8 days (for safety, it could be possible to have to restore from a backup)
find ....contentstore.deleted -type f -mtime +8 -delete
then delete all empty dirs there
find ...contentstore.deleted -type d -empty -delete
Explore our Alfresco products with the links below. Use labels to filter content by product module.