コミュニティアチーブメントバーを展開する。

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

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

removing packages from author and publish

Avatar

Level 1

We have a premium on disk space in our dev environment (AEM 5.6).

We use packages to install "content" and svn / Vault to install "code"

One idea I had was as follows.

All packages that are 2-3 weeks old should be removed from author / publish. Because they are available in jira, they have been installed in the jcr.

Is that what other people do? is this a best practice? Thanks.

the packages over time can get into the 100's. Most are very small, but one or two can be quite large. I do reclaim space by doing tarPM optimization, Data store garbage collection and removal of dam workflow logs.

1 受け入れられたソリューション

Avatar

正解者
Administrator

Hi 

There is no such best practice for this afaik. 

You can delete the packages with the documented ways:- 

Link:- https://docs.adobe.com/docs/en/aem/6-0/administer/content/package-manager.html#Deleting packages

Link:- https://docs.adobe.com/docs/en/crx/2-3/how_to/package_manager.html#Deleting Packages

Link:- http://www.wemblog.com/2012/01/how-to-delete-packages-created-before.html [Curl]

 

If the package created is resulting in consuming large amount of memory, then you can surely remove it with any of the mentioned ways. It is you to decide, what to remove: - Most Recent/Least Recent/Least Frequent etc.

And for regaining the space :-  tarPM optimization, Data store garbage collection, audit purge, version purge, removal of dam workflow logs etc. are the ways.

I hope this will help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

元の投稿で解決策を見る

5 返信

Avatar

Level 9

I think this can achieved either by manually deleting the packages or automated process.

Depends on the operating system you are running you can create cron job to check the age of the package and delete them.

Please refer below links on how to use cURL commands to manipulate packages.

http://www.aemcq5tutorials.com/tutorials/adobe-cq5-aem-curl-commands/

https://hashimkhan.in/2015/05/27/aem-with-curl/

https://docs.adobe.com/docs/en/crx/2-3/how_to/package_manager.html

Thanks,

Kishore

Avatar

Level 1

Thanks. I do know how to remove package programatically but will refer to those pages.

I guess my question  is -

 

Is that what other people do?

Is this a best practice? 

Avatar

Employee

You can try this script[0] on a copy of your instance to see if it achieves what you want.

Do you also do an audit purge and version purge?

Regards,

Opkar

[0]http://www.wemblog.com/2012/01/how-to-delete-packages-created-before.html

Avatar

正解者
Administrator

Hi 

There is no such best practice for this afaik. 

You can delete the packages with the documented ways:- 

Link:- https://docs.adobe.com/docs/en/aem/6-0/administer/content/package-manager.html#Deleting packages

Link:- https://docs.adobe.com/docs/en/crx/2-3/how_to/package_manager.html#Deleting Packages

Link:- http://www.wemblog.com/2012/01/how-to-delete-packages-created-before.html [Curl]

 

If the package created is resulting in consuming large amount of memory, then you can surely remove it with any of the mentioned ways. It is you to decide, what to remove: - Most Recent/Least Recent/Least Frequent etc.

And for regaining the space :-  tarPM optimization, Data store garbage collection, audit purge, version purge, removal of dam workflow logs etc. are the ways.

I hope this will help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Level 1

thanks for the answers. I Do most of these tasks. I do not do version purge. thanks for pointing that out.