Expand my Community achievements bar.

SOLVED

Node Store to Data Store Migration

Avatar

Level 10

How can we migrate data from current Node Store to external Data Store ?

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

6 Replies

Avatar

Employee

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. 

Avatar

Level 10

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

Avatar

Correct answer by
Level 10

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

Avatar

Employee

Try 

1. export as package or vlt

2. run DS GC

3. import back to AEM

Avatar

Level 2

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?