Oak offline compaction steps
- Download oak-run jar from, http://mvnrepository.com/artifact/org.apache.jackrabbit/oak-run
Use 1.2.11 for AEM 6.1
- Take backup,
java –jar oak-run-*.jar backup crx-quickstart/repository/segmentstore backup/segmentstore
- Find all the checkpoints,
java -jar oak-run-*.jar checkpoints crx-quickstart/repository/segmentstore
- Remove all the unreferenced checkpoints,
java -jar oak-run-*.jar checkpoints crx-quickstart/repository/segmentstore rm-unreferenced
- Now, run the compaction of the tar files
java -jar oak-run-*.jar compact crx-quickstart/repository/segmentstore
No results for your search, please try with something else.
Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.