Expand my Community achievements bar.

SOLVED

Problems Using CRX2Oak for Migration of DAM Assets out of SegmentStore to S3

Avatar

Level 2

I'm going for a shared DAM repo in S3.

The is the crx2-oak command I'm using:

java -jar -Dlogback.configurationFile=/opt2/crx/author/logback.xml crx2oak-1.4.6-standalone.jar --copy-binaries --src-datastore=crx-quickstart/repository/segmentstore --s3config=crx-quickstart/install/org.apache.jackrabbit.oak.plugins.blob.datastore.SharedS3DataStore.config --datastore=crx-quickstart/repository/repository/datastore crx-quickstart/repository crx-quickstart/repository/rep-new -mmap

HOWEVER, when I run it, it keeps writing the datastore to the local file system instead of to S3 and I can't figure out why.

Here's what my crx-quickstart/install/org.apache.jackrabbit.oak.plugins.blob.datastore.SharedS3DataStore.config looks like:

customBlobStore=B"true"

Here's what my crx-quickstart/install/org.apache.jackrabbit.oak.plugins.blob.datastore.SharedS3DataStore.config looks like:

accessKey="AKIAJKEWPWLFCCJA7VPQ"

connectionTimeout="120000"

maxConnections="40"

maxErrorRetry="10"

s3Bucket="te-ebz-aem-dam-repo/dev"

s3Region="us-east-1"

secretKey="IuyrRpYLTAn/Wq9E/sEhsFAvUtyk/H//akqlnJIh"

socketTimeout="120000"

writeThreads="30"

Do I have the crx2oak command right to do this???  Should I may be remove the --datastore parm from that command?

1 Accepted Solution

Avatar

Correct answer by
Level 1

Works for me using --s3datastore as parameter instead of --datastore.

See Jackrabbit Oak – Repository migration for more details.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 1

Works for me using --s3datastore as parameter instead of --datastore.

See Jackrabbit Oak – Repository migration for more details.