내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

deleting repository in AEM 6.2

Avatar

Level 2

Hi all,

 

I have to clean up the repository of AEM publishers. Does it need downtime? May I know deleting repo impact the current data? How can I clean up repo.

aem_repo.JPG

 

Thanks.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi @Snow123 - Understood. Please perform the Datastore garbage collection (when the instance is running) and Offline compaction (recommend to perform during non-business hours) and check the repository size once. Un-referenced files will be deleted from the repository.

원본 게시물의 솔루션 보기

6 답변 개

Avatar

Community Advisor

Hi - To cleanup the repository ,please perform the maintenance activity as below:

Data store Garbage collection - When instance up and running ( No downtime)

Offline compaction - need to bring down the instance to perform this.

 

There will be NO impact to your repository while you perform this activity.

 

Please refer these link :

 https://experienceleague.adobe.com/docs/experience-manager-cloud-service/operations/maintenance.html...

https://helpx.adobe.com/experience-manager/kb/AEM6-Maintenance-Guide.html

 

Avatar

Level 2

Hi @Raja-Karuppsamy ,

 

Thanks for the information. Can I just directly delete *.bak folder inside that segmentstore?

Avatar

Community Advisor

Can you please share the screenshot of directory name under segmenstore ?

 

Avatar

Level 2

D:/publish/crx-quickstart/repository/segmentstore.

You can also see a file ended with *tar.bak in the screenshot mentioned in my question.

Avatar

정확한 답변 작성자:
Community Advisor

Hi @Snow123 - Understood. Please perform the Datastore garbage collection (when the instance is running) and Offline compaction (recommend to perform during non-business hours) and check the repository size once. Un-referenced files will be deleted from the repository.

Avatar

Community Advisor

Hi @Snow123 

 

you can use Offline compaction:

Offline compaction:
sudo java -jar oak-run-1.38.0.jar checkpoints /Users/Documents/myfolder/crx-quickstart/repository/segmentstore
 
sudo java -jar oak-run-1.38.0.jar checkpoints /Users/Documents/myfolder/crx-quickstart/repository/segmentstore rm-all