Expand my Community achievements bar.

SOLVED

Migrating JCR Data from one AEM instance to another

Avatar

Level 6

I have a situation where I have created a new instance of aem 6.2

I have installed and run a package on the new instance with my AEM 6.0 site.

My code works correctly, the DAM moved correctly, content is correct.

However the versions I have on several pages is not transferred.

So I need a method to export the relevant JCR data from my old instance into the new instance.

Is there any recommended tools and best practices to doing this.

 

Regards

Clive Stewart

1 Accepted Solution

Avatar

Correct answer by
Level 9
7 Replies

Avatar

Level 10

The best way is to indeed use Package Manager:

https://docs.adobe.com/docs/en/aem/6-2/administer/content/package-manager.html

When you use Package Manager and include your pages under /content - what exactly is missing? 

Avatar

Level 6

Hi Scott, it is the previous versions of a page that are missing.

Avatar

Level 6

To elaborate.

All the content is transferred, but archived content is not.

The authors often run special events on a page and then revert back to the previous version after a period of time.

I have tried moving content across using the package manager, and I do get everything across but I end up loosing all previous versions of the pages.

Avatar

Level 10

I am going to check to see if this is a known issue. I seem to recall in the past - this was an issue. 

Avatar

Employee Advisor

Package manager does not support version copy.  You can use OAK migration utility to copy the full repository content including the version history. 

Refer this documentation - http://jackrabbit.apache.org/oak/docs/migration.html 

Avatar

Correct answer by
Level 9

Avatar

Level 6

Thank you Scott,

 

That was what I was looking for