Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 2
jforney
Level 2

Likes

3 likes

Total Posts

16 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
jforney
Level 2

Likes

3 likes

Total Posts

16 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
jforney
Level 2

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 1
Level 1
ConradW
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 1
ConradW
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
ConradW
Level 1

08-02-2018

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

See Jackrabbit Oak – Repository migration for more details.

Answers (0)