AEM removing .snapshot packages. | Community
Skip to main content
Level 6
June 2, 2023
Solved

AEM removing .snapshot packages.

  • June 2, 2023
  • 4 replies
  • 1463 views

Hi folks,

I have a lot of .snapshot packages in /etc/packages/<various>/.snapshot  directories.

 

I have been deleted them with curl scripts as they are taking up space. Just checking it is o.k. to do this .

 

thanks

Fiona

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by EstebanBustamante

Yeah, That's ok. The snapshot packages are auto-created when you installed a new version of the same artifact(1) for the "uninstall" feature from packageManager to work, so it is good to purge these from time to time.

 

(1). https://experienceleague.adobe.com/docs/experience-manager-65/administering/contentmanagement/package-manager.html?lang=en#installing-packages

4 replies

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 2, 2023

Yeah, That's ok. The snapshot packages are auto-created when you installed a new version of the same artifact(1) for the "uninstall" feature from packageManager to work, so it is good to purge these from time to time.

 

(1). https://experienceleague.adobe.com/docs/experience-manager-65/administering/contentmanagement/package-manager.html?lang=en#installing-packages

Esteban Bustamante
rawvarun
Community Advisor
Community Advisor
June 2, 2023

It is safe to delete any packages under/etc/packages and it will not uninstall any package.

Packages under /etc/packages are just a backup for installing or uninstalling packages.

The same is true for snapshots.

Jagadeesh_Prakash
Community Advisor
Community Advisor
June 3, 2023

@fionas76543059 

My recommendation would be to upload service packs to the package manager and delete them from /etc/packages when not needed anymore.

 

Using crx-quickstart/install means anyway when cleaning up disk space that one has to clean up crx-quickstart/install and /etc/packages. 

Level 6
June 6, 2023

Thanks all for the responses!!