AEM_How to Purge Versions of a Web Site

Solution :

To purge versions of a web site, proceed as follows:
    • Navigate to the  Tools console  http://localhost:4502/misccadmin#  and select Versioning and double-click Purge Versions.
    • Set the start path of the content to be purged (e.g. /content/geometrixx-outdoors).
                         a. If you want to only purge the node defined by your path,                                   unselect Recursive.
                         b. If you want to purge the node defined by your path and its                              descendants select Recursive.
    • Set the maximum number of versions (for each node) that you want to keep. Leave empty to not use this setting.
    • Set the maximun version age in days (for each node) that you want to keep. Leave empty to not use this setting.
    • Click Dry Run to preview what the purge process would do.
    • Click Purge to launch the process.
    1. Caution:
    2. Purged nodes can not be reverted without restoring the repository. You should take care of your configuration, so we recommend you to always perform a dry run before purging.

                AEM_interpretation of Version purging results

                Analyzing the Console

                The Dry Run and Purge processes list all the nodes that have been processed. During the process, a node can have one of the following status:

                global_version_screenshot
                • ignore (not versionnable): the node does not support versioning and is ignored during the process.
                • ignore (no version): the node does not have any version and is ignored during the process.
                • retained: the node is not purged.
                • purged: the node is purged.
                Moreover the console provides useful information about the versions:
                • V 1.0: the version number.
                • V 1.0.1*: the star indicates that the version is the current one.
                • Thu Mar 15 2012 08:37:32 GMT+0100: the date of the version.
                In the above screenshot example:
                • The Shirts versions are purged because their version age is greater than 2 days.
                • The Tonga Fashions! versions are purged because their number of versions is greater than 5.

                AEM_IBM Thread analyzer guide