Page Versions | Community
Skip to main content
Jai1122
May 11, 2016

Page Versions

  • May 11, 2016
  • 4 replies
  • 6485 views

Hi Experts,

    I have this situation where i need to move the pages from one instance to another along with the versions of the page. I believe using package manger and adding the path to page in it will move only the page but not its versions.

Please let me know how to move pages from one instance to another along with its versions?

 

Thanks,

Jai

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Tuhin_Ghosh
May 11, 2016

Hi Jai,

You can use OAK migration tool, it transfers the versions along with the pages.

Just to let you know versions are stored by path /jcr:system/jcr:versionStorage in AEM but you can not directly install them in 6.x i guess, you can give it a shot if you are using 5.6.

Thanks

Tuhin

Jai1122
Jai1122Author
May 11, 2016

Hi Tuhin,

   Thanks for the response. The OAK migration tool could be a viable solution for migration but my case is a different. Say i wanna move the pages from aem6.0 author instance to another aem 6.0 author instance along with the page version what could be the best approach?

Adobe Employee
May 12, 2016

Hi,

As has been mentioned you would need to use the crx2oak migration tool, which can be used to migrate content between oak repositories.

edit: If you check the link it specifically mentions versions can be migrated.

Regards,

Opkar

[0]https://docs.adobe.com/content/docs/en/aem/6-1/deploy/upgrade/using-crx2oak.html

Tuhin_Ghosh
May 11, 2016
        I am sure its not possible by installing versionstorage node in 6.1. But since you are in 6 give it a shot.
Jai1122
Jai1122Author
May 12, 2016

Hi,

  I tried the following approaches.

  1. As specified in the above answers the  /jcr:system/jcr:versionStorage package. Some errors were thrown while installing the package and it seems we cannot install that.
  2. Page versions got saved under  /var/audit/com.day.cq.wcm.core.page/content as well. I tried to pack that along with the page but when installed only pages were available and not its version.

Is it like we can never  move versions from one instance to other?

smacdonald2008
May 12, 2016

In all docs i have read - only pages are moved - not versions. I do not think this is supported. 

kautuk_sahni
Community Manager
Community Manager
May 13, 2016

As mentioned by Tuhin, the crx2oak migration tool could be used, 

Link:-  https://docs.adobe.com/content/docs/en/aem/6-1/deploy/upgrade/using-crx2oak.html

// For version i am not sure if we can achieve it.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
Nandujee
May 15, 2019

Hello Jai,

I have a similar scenario i.e. move the versions from one instance to other instance. Did you find the way to do that?

Your input is much appreciated.

Note:

I cannot use the migration tool to move the version because in the older instance one of the segment stores (tar) got corrupted so I do not want the corrupt segment store to the new instance.

Thank you

Nanda

Adobe Employee
May 15, 2019

Hello,

crx2oak tool for migration is the best way. For fixing the corruption problems, you can review this doc [1]

[1] Offline Compaction fails with SegmentNotFoundException & IllegalArgumentException

Regards,

Vishu