We are using CQ 5.4 on my current assignment and I have a (hopefully trivial :) question concerning deployment/rollback best practices.
Assume I have a content package ContentPackageA.zip which contains:
The subpackage ContentPackageB contains:
To install this in my environment I will do the following:
Now my environment, both Author and Publish instances, contains all the new nodes included in the content packages: ContentPackageA.zip and subpackage ContentPackageB.zip
Assume now that I want to rollback this deployment. I will then do the following:
My experience is that this procedure does not work entirely. The resulting state is:
My questions are:
Thanks for the support!
Currently OOB we do not have option that by deactivate it uninstall package. The enhancement request is in place & not yet considered for future release. Please file daycare with business impact & valid usecase.
You might not use this feature more often right ? During your code deployment if you wan't to rollback you can restore from the backup that you had before deployment.
If repository is big & restore is not an option. As a workaround You need to uninstall the package from publish before deactivate. This can be achieved through script using curl.