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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Migrating to s3 datastore


Level 1

Hello all,

I'm currently working on migrating a stack over to using the s3 datastore. I downloaded the oak source and compiled it to get oak-upgrade-1.20-SNAPSHOT.jar.

When I run it following the directions here:

AEM 6 - Migrating to a FileDataStore | Content Management

I get the following error:

I also get the same error when I restructure my command to match the format listed in --help.

What am I missing?

2 Replies


Employee Advisor

Can you share the final command you used for migration?


Level 1

java -jar oak-upgrade*.jar upgrade –-mmap –-copy-binaries –-src-datastore=/absolute-path/cq5/author/crx-quickstart/repository/segmentstore –-datastore=/absolute-path/cq5/author/crx-quickstart/repository/repository/datastore /absolute-path/cq5/author/crx-quickstart/repository /absolute-path/cq5/author/crx-quickstart/repository_new

I have also tried without the "upgrade", with single dashes, and with different orderings of the additional parameters either before the options or after.