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?
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 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?
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.
As @opkar mentioned, the migration tool should work for your usecase.
The other option, I can think of is, copy the repository folder from the existing version to a new location. Start the new version of AEM pointing to that repository folder.
I tried the following approaches.
Is it like we can never move versions from one instance to other?
As mentioned by Tuhin, the crx2oak migration tool could be used,
// For version i am not sure if we can achieve it.
Thanks and Regards
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.
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.
crx2oak tool for migration is the best way. For fixing the corruption problems, you can review this doc