2

Anyone knows how to transfer/migrate contents from one Magnolia CMS repository (Jackrabbit repository) to another custom jacrabbit repository used by our application?

Java SE
  • 2,073
  • 4
  • 19
  • 25

3 Answers3

3

As suggested by the other poster, the XML import/export functionality allows you to copy content between repositories.

Unfortunately the XML import/export functionality does not cover migrating data like version histories or custom node types. To migrate such data, you can use the backup/migrate feature of the Jackrabbit standalone jar.

Jukka Zitting
  • 1,092
  • 6
  • 13
0

According to the API you should be able to use the import/export methods on Session.

http://www.day.com/maven/jsr170/javadocs/jcr-2.0/javax/jcr/Session.html

TedTrippin
  • 3,525
  • 5
  • 28
  • 46
0

Seems like what you need is RepositoryCopier tools https://jackrabbit.apache.org/api/1.6/org/apache/jackrabbit/core/RepositoryCopier.html

One may copy repository to repository easily via the API of it.

Ducaz035
  • 3,054
  • 2
  • 25
  • 45