Expand my Community achievements bar.

SOLVED

Page Versioning

Avatar

Level 2

Hi,

 

How can I maintain all versions of page even if there is an upgrade? And want to keep the data for more than 5 yrs?

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

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. 

View solution in original post

5 Replies

Avatar

Level 5

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....

Avatar

Level 2

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. 

 

Avatar

Community Advisor

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

Avatar

Correct answer by
Community Advisor

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

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.