Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Best approach | Copy large amount of data from one CRX to another

Avatar

Level 4

Hi all,

 
Hope everyone is doing fine !
 
I have a query related to content copy from one CRX to another.
 

Context

We have large amount of content on one AEM instance. We need to copy entire data/content from this AEM instance to PROD AEM instance. What will be the best way to copy these content. 
Also to note is Source AEM instance is 6.0 (Apache Jackrabbit Oak 1.0.0) and Destination AEM instance is 5.6.1 (CRX 2.4.76). I tried vlt command above and it went fine without any issue
 

Approachs

1. vlt command

 

We can use "vlt rcp" command for such copy
http://www.wemblog.com/2011/09/how-to-use-vlt-tool-to-copy-data-from.html
 

2. Package Manager

 

If we use package manager then we will need to create lots of small packages (this will be lot of work). We cannot create one hugh package since it will take time to create that package and also during upload it might timeout or give java heap errors.

 

Questions

1) Are there any other solution apart from this "vlt rcp" which can be used for this content copy. We have multiple AEM instances (say 3) where this data/content needs to be copied.

 

2) Will there be any future issues with the repository since my source repo is Oak 1.0.0 and destination repo is CRX 2.4.76 (I did not saw any issue with my sample copy using vlt command)

 

3) One advantage of using package manager is that you can rollback (but package manager cannot be used for large content). With "vlt rcp" command i do not see any rollback option.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

VLT RCP based tools- 

You can try the recap tool - http://adamcin.net/net.adamcin.recap/. I have tried it in the past and really works well. It uses vlt rcp under the hood but gives a very convenient easy to use interface for syncing nodes.  

Another one built by Adobe CS team based on vlt rcp - https://github.com/Adobe-Consulting-Services/adobe-consulting-services.github.io/blob/94aa095f4c09ba...

Tool based on Google's Protocol Buffers  - https://github.com/TWCable/grabbit

I don't think there will be any issue with the repository implementation as these tools uses JCR Node APIs which are common both in OAK and previous versions. 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

VLT RCP based tools- 

You can try the recap tool - http://adamcin.net/net.adamcin.recap/. I have tried it in the past and really works well. It uses vlt rcp under the hood but gives a very convenient easy to use interface for syncing nodes.  

Another one built by Adobe CS team based on vlt rcp - https://github.com/Adobe-Consulting-Services/adobe-consulting-services.github.io/blob/94aa095f4c09ba...

Tool based on Google's Protocol Buffers  - https://github.com/TWCable/grabbit

I don't think there will be any issue with the repository implementation as these tools uses JCR Node APIs which are common both in OAK and previous versions. 

Avatar

Level 4

Thanks Kunal so much for quick reply. I will give it a try now. Just installed recap on my local.