Reputation: 11
We have a Plone site whose data is stored in PostGresql using Relstorage. Now we are looking to migrate the site to Dot Net.
My question is: how can we migrate data from the Plone site to sql server so it can be used by the dot net application.
Upvotes: 0
Views: 124
Reputation: 561
For Archetypes based contet you can use ore.contentmirror, for Dexterity content types there is new plugin collective.dexteritycontentmirror (it was forked from ore.contenmirror with same features but supporting Dexterity content types). Both products can be used to mirror the entire Plone site into relational database. ore.contentmirror has excellent documentation which can be applied also to collective.dexteritycontentmirror
Upvotes: 0
Reputation: 4345
Write a Python script to export the data from Plone into whatever format you like for import into dot net. E.g.:
# my_script.py
items = app.Plone.portal_catalog()
for item in items:
obj = item.getObject()
print "Migrating %s" obj.Title()
# Do stuff with obj
Run the script via:
$ bin/instance run my_script.py
Upvotes: 2