Page Versioning | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
DPrakashRaj
DPrakashRajAccepted solution
New Participant
Mar 2, 2023 4:27 PM UTC

page versioning in aem has multiple options available. check at https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/version-purging.html?lang=en

out of which 2 options are most important in identifies which versions will be purged and which will be retained maxAgeDays(default: 30) and maxNumberVersions(default 5) . so if any of the above value will become true it will purge the page.

its not recommended to keep large number of versions as it will increase your repository size. however, you can always customize these values as per your business need. 

5 replies

DPrakashRaj
DPrakashRajAccepted solution
New Participant
Mar 2, 2023 4:27 PM UTC

page versioning in aem has multiple options available. check at https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/version-purging.html?lang=en

out of which 2 options are most important in identifies which versions will be purged and which will be retained maxAgeDays(default: 30) and maxNumberVersions(default 5) . so if any of the above value will become true it will purge the page.

its not recommended to keep large number of versions as it will increase your repository size. however, you can always customize these values as per your business need. 

Translate
BrianKasingli
New Participant
Mar 1, 2023 4:43 PM UTC

if you like, you can update the OSGI configuration, com.day.cq.wcm.core.impl.VersionManagerImpl > versionmanager.maxAgeDays to 1825. Version Purging | Adobe Experience Manager

Translate
Level 2
Mar 1, 2023 4:42 PM UTC

Interesting ask.

Translate
Level 4
Mar 1, 2023 9:10 AM UTC

Hi @kavya6875 

Please find the below documentation which explains about the version management.

It also talks about the number of versions to be maintained and retention of the version created configurations

Make sure keeping more number of versions and for longer time results in repository storage increase and can cause the performance impacts.

https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/version-purging.html?lang=en

Translate
Kavya6875Author
Level 2
Mar 1, 2023 9:56 AM UTC

Hi @veenak 

Thanks for replying,

 

May I know what is the versionmanager.maxAgeDays I can store?

And also, when the upgrade happens all the versions are getting lost, I want to retain all the versions even after upgrading. 

 

Translate