Expand my Community achievements bar.

SOLVED

Package Manager, what is Extract Only

Avatar

Level 7

Adobe's documentation gives very basic details about AEM Packager Manager's new extract only checkbox. Whar does it actually do?

Can someone please shed some more light?
extract-only.PNG

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

"Extract only" will not create a snapshot. That means you cannot uninstall the package.

 

If you know exactly that you never want that, then check that box. Not having a snapshot will improve the installation performance; the improvements depends on a few factor, but mostly on the filters in your packages. I have seen cases where the snapshot contained the complete /content/dam area, even if the package contained just a few assets; that was because the filters of that package were not a good match.

View solution in original post

3 Replies

Avatar

Level 5

Hi @SupportMember 

When we install a package without checking Extract only checkbox, as the information suggest on the dialog, snapshot will not be created. It means, it creates a copy of the package under /etc/packages/<package-group>/.snapshot (please see screen-shot attached), later it is being referred for installation if needed. Otherwise, if we check the checkbox, copy will not get created under .snapshot and uninstallation of the installed package will not be possible.

 

Hope this helps.

 

Chandra_Hire_0-1662715170748.png

 

Avatar

Correct answer by
Employee Advisor

"Extract only" will not create a snapshot. That means you cannot uninstall the package.

 

If you know exactly that you never want that, then check that box. Not having a snapshot will improve the installation performance; the improvements depends on a few factor, but mostly on the filters in your packages. I have seen cases where the snapshot contained the complete /content/dam area, even if the package contained just a few assets; that was because the filters of that package were not a good match.

Avatar

Level 2

To use "extract Only" with a CURL command installation, use the "extractOnly=true" flag in the URL-parameters:

curl -X POST "${AUTHOR_URL}/crx/packmgr/service/.json${urlencpath}?cmd=install&extractOnly=true