The Nuxeo document repository let you choose between several storage options.
At some point you may need to migrate from one configuration to an other :
- change the storage from MySQL to PostgreSQL
- externalize le Blobs from DB
- migrate from Filesystem based storage to SQL based storage
- ...
Since the storage setting modifications may change the SQL structure you will need to:
- export the data from the orginal structure
- change the repository settings and recreate the repository
- import the data into the newly configured repository
You mainly have 2 solutions to do that :
- use Nuxeo Shell and [Core IO service]
- use [JCR export-import]
The first solution (Core IO) handles the export/import at a application level, this means you can export/import more that just documents. This also means that this method is suitable if you need to migrate from a JCR based repository to a non JCR based directory (like the SQL Repository).
The second solution (JCR IO) use JCR native format. The main advantage of this method is to allows the conservation of UUIDs (that is normally not possible via JCR APIs).