cancel
Showing results for 
Search instead for 
Did you mean: 

contentstore.deleted directory

camillo
Champ in-the-making
Champ in-the-making
Hi all,

I read some documents about the contentstore.deleted directory and I understand this directory is similar to the "trash bin " of Windows.
Is it right?
Because i'm not interested to deleted file which are in contentstore.deleted, can I empy the "trash bin" deleting just contentstore.deleted without any kind of problem?
(Now, I'm not interested to restore deleted file).
Thanks in advance for you reply.
12 REPLIES 12

derek
Star Contributor
Star Contributor
You can always delete the contents of contentstore.deleted - normally just after a backup, for example.  The content in there is not referenced by anything, not even the "trash bin".

camillo
Champ in-the-making
Champ in-the-making
Thank you very much for your reply!
I deleted contestore.deleted folder and I have now 260GB of free space more!

i5513
Champ in-the-making
Champ in-the-making
My alfresco "contentStoreCleanerTrigger" cron task is not running. I don't known how can I debug this issue.

Can I rm -rf /opt/alfresco/alf_data/contentstore.deleted/2008/ while alfresco is running ? Or I have to stop alfresco before doing that ?

Can we remove /opt/alfresco/alf_data/contentstore.deleted/ via cron system task (an script which rm directories older than x months) or it is mandatory to do it with Alfresco Trashcan Cleaner ? Which adventages have this module ?

Thank you very much

derek
Star Contributor
Star Contributor
See previous posts.

i5513
Champ in-the-making
Champ in-the-making
Hi,

I did, I read previous posts before asking here. Nobody comments about rm -rf … And it is not clear why should we have to have a backup before, because that files seems to be not referrenced anymore in db

Really I spent more than 45 minutes reading before asking. Sorry if I missed something

Thanks

derek
Star Contributor
Star Contributor
You can always delete the contents of contentstore.deleted - normally just after a backup, for example…
Sorry, I thought that answered the question about whether you can "rm -rf" … yes, you can after a backup.

i5513
Champ in-the-making
Champ in-the-making
You can always delete the contents of contentstore.deleted - normally just after a backup, for example…
Sorry, I thought that answered the question about whether you can "rm -rf" … yes, you can after a backup.

But, why would we want to do a backup from this files ?? If we can't recover it to see visible in alfresco ?

Thanks!

derek
Star Contributor
Star Contributor
If you backup strategy is not correct relative to the cleanup of orphaned content and the time that content is protected, you may have some content moved to contentstore.deleted without being backed up … we can't guarantee when Alfresco servers will be backup up or that they will be backed up correctly.  Of course, the acid test is to take any given backup and restore it to a test system and ensure that the data you expect to be there really is.

i5513
Champ in-the-making
Champ in-the-making
I can't imagine any case where having contentstored.deleted restored could be usefull, but maybe there are some alfresco tools which could do the magic with an database (from a older backup) containing references to object which are in this contentstored.deleted directory.

Thank clarifying this issue.