Expand my Community achievements bar.

SOLVED

var/dam/download - Zip File maintenance in AEM.

Avatar

Level 1

If we download any assets as zip file in AEM using either AEM out of the box download asset feature or calling ' /content/dam/collections/public/I/IeX-vp9Jj2OvVBSyd58l/nameofcollection.downloadbinaries.json', using JS, they are stored in var/dam/download. we observed that they are automatically removed from var/dam/download in 24 hours. Please help us find documentation about the same that any zip files created under var/dam/download will be automatically deleted by AEM it self or do we need to specifically write a servlet or scheduler to delete it after given time to maintain the performance and not to load AEM. Also, If yes, will it automatically delete in both AEM author and publisher?

We are using AEM as Cloud. 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 7

The behavior you're observing with the automatic deletion of ZIP files from the /var/dam/download directory in AEM as Cloud Service after approximately 24 hours is indeed a built-in feature.

Adobe Experience Manager (AEM) as a Cloud Service automatically manages and deletes temporary ZIP files to maintain performance and optimize storage. This means there is no need for you to create a custom servlet or scheduler for cleanup purposes in this case.



For more information and official documentation, you can refer to these resources:

https://experienceleague.adobe.com/en/docs/experience-manager-65/content/sites/administering/operati...
https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/operations/maint...

To address your specific questions:

Yes, AEM as Cloud Service will automatically delete these files, and you don’t need to write custom logic for cleanup.
This cleanup process happens in both AEM Author and Publisher environments.

 

View solution in original post

3 Replies

Avatar

Community Advisor

Avatar

Community Advisor

Hi @tejaswi_19 ,

AEM as a Cloud Service is designed to automatically manage and delete temporary ZIP files in the /var/dam/download directory after about 24 hours. This built-in feature helps maintain system performance and storage efficiency, reducing the need for additional custom cleanup processes.

Reference - https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/operations/maint...

https://experienceleague.adobe.com/en/docs/experience-manager-65/content/sites/administering/operati...

Regards, 

Shiv Prakash

Avatar

Correct answer by
Level 7

The behavior you're observing with the automatic deletion of ZIP files from the /var/dam/download directory in AEM as Cloud Service after approximately 24 hours is indeed a built-in feature.

Adobe Experience Manager (AEM) as a Cloud Service automatically manages and deletes temporary ZIP files to maintain performance and optimize storage. This means there is no need for you to create a custom servlet or scheduler for cleanup purposes in this case.



For more information and official documentation, you can refer to these resources:

https://experienceleague.adobe.com/en/docs/experience-manager-65/content/sites/administering/operati...
https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/operations/maint...

To address your specific questions:

Yes, AEM as Cloud Service will automatically delete these files, and you don’t need to write custom logic for cleanup.
This cleanup process happens in both AEM Author and Publisher environments.