cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo Export / Import data between versions with document relations included

Paco_Alías
Confirmed Champ
Confirmed Champ

Hi

We are facing an interesting challenge with Nuxeo platform. We have some Nuxeo 5.4.3 instances and we want to migrate all the documents to a single already running instance with version 8.10. We have tried the bulk export / import :

  • we export the workspace/folder with export option in 5.4.3 (including blob)
  • we import the ZIP in 8.10 successfully, but the relations between documents are missing.

How can we preserve document relations? Can we make the content transfer in a better way including doc relations?

Thanks in advance

P.D. When importing in 8.10 we have found sometimes that document validation (for example, with field dc:subjects) breaks all the process with the message:

Caused by: org.nuxeo.ecm.core.api.validation.DocumentValidationException: Constraint violation thrown: '"DeptName/J..." is not a valid l10nsubjects id.'

How can we avoid this validation?

3 REPLIES 3

Vladimir_Pasqui
Star Collaborator
Star Collaborator

Hello,

Paco_Alías
Confirmed Champ
Confirmed Champ

Hi Vladimir Pasquier and thanks for your response: Yes, we have made some migrations following the documentation and usually works fine. But that's not what we want to do. We don't wanna migrate a nuxeo version. We want to migrate ("move") the content from one instance to another preserving structure and relations. That's why we have tried the bulk import/export but with no success because of the validation of some metadata which we want to avoid. Is it possible? And how to preserve document relations when bulk import/export documents ?

Thanks

So I guess all your metadata validations are made via listeners? In this case you can deactivate them (with studio you have a button on your right top side otherwise in XML you set enable=false for each related listener) to let pass all the documents getting imported.