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

jforney

28-11-2017

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?

Answers (0)