Node Store to Data Store Migration | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Create a fresh new instance with datastore you need let's say s3.    Then any of the tools below ([1], [2] and [3]) can be used to migrate the content from existing instance to new instance.

[1] http://adamcin.net/net.adamcin.recap/

[2] https://github.com/TWCable/grabbit

[3] http://jackrabbit.apache.org/filevault/usage.html

6 replies

bhaskar3bk
New Participant
June 25, 2017

Hi bsloki

Did you get the answer to your question? Even I'm looking for the solution of it.

Actually, I'm trying to keep the data store in an external disc.

So, I created

1. org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg

path=D:/data-store/AEM/repo-datastore-102

minRecordLength=4096

2. org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.cfg

customBlobStore=B"true"

This works fine with a new AEM instance, I mean keeping these configurations before installing AEM.

But how shall we do this in an already installed AEM instance?

Employee
October 16, 2015

Is your question, how to migrate from current data store to a different datastore type?

If you dont want versions, you can replicate to another instance with a different datastore. 

Lokesh_Shivalingaiah
New Participant
October 16, 2015

Nope its different.

Lets say I am storing in node store within AEM instance which comes OOB. But now if I have to move my repository to an external file system, the option is to configure the data store. In this case, how do we migrate the existing data into it

Sham_HC
Sham_HCAccepted solution
New Participant
October 16, 2015

Create a fresh new instance with datastore you need let's say s3.    Then any of the tools below ([1], [2] and [3]) can be used to migrate the content from existing instance to new instance.

[1] http://adamcin.net/net.adamcin.recap/

[2] https://github.com/TWCable/grabbit

[3] http://jackrabbit.apache.org/filevault/usage.html

Employee
October 16, 2015

Try 

1. export as package or vlt

2. run DS GC

3. import back to AEM

Lokesh_Shivalingaiah
New Participant
October 16, 2015

Thanks guys !!