cancel
Showing results for 
Search instead for 
Did you mean: 

Content store data deletion

brijeshnk
Star Contributor
Star Contributor

I have conentstore configured in below content store location.

D:\alfresco-content-services\alf_data\contentstore\2019

I want to delete above shown 2019 folder . I dont need 2019 anymore.  Essentilally  , I need to do purging .

If i delete files above folder ,will it clean-up the metadata and indexes also ?

or will it corrupt my respository ? Whats the best way to achive bulk deletion , which will delete references in database also without corrupting repo ?

1 ACCEPTED ANSWER

You can remove a folder or select multiple files to delete them in a row. That options are available in the UI.

Hyland Developer Evangelist

View answer in original post

6 REPLIES 6

angelborroy
Community Manager Community Manager
Community Manager

Hope this helps you to understand how to remove storage for deleted nodes:

https://github.com/keensoft/alfresco-deleted-content-store-cleaner

Hyland Developer Evangelist

Hi , thanks for this usefull link . 

I have another qustion too - Is it possible to  physically move file from contentstore folder to conentstore.deleted folder .  

I have bulk deletion , I was thinking to write PS script to move files physially to conentstore.deleted folder .  Is this approach will work out ?  OR will it corrupt the repository ?

Files references need also to be removed from Database and SOLR, so moving them directly from filesystem would corrupt your repository.

Hyland Developer Evangelist

Thanks a lot for the reply , 

Is there a bulk deletion script or addons ?   deleting files individually from Alfresco UI is tedious task . 

Regards