My mistake Andreas, I completely forgot raw content...
By the way, Happy new year to all happy BaseX users, the BaseX team, and to you, Christian !
Best regards, Fabrice
-----Message d'origine----- De : BaseX-Talk [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de Christian Grün Envoyé : mercredi 2 janvier 2019 17:05 À : Andreas Jung Cc : BaseX Objet : Re: [basex-talk] Bulk import (moving from eXist to BaseX)
Hi Andreas,
In BaseX, you can use the EXPORT command or the db:export function to write all database contents to disk [1,2]. I know too little about eXist-db; maybe they offer a similar feature?
After that, as Fabrice indicated, you can use the CREATE DB command to create a database by pointing to that directory. If the database contains non-XML resources, you may need to write a little XQuery script or a BaseX command script that imports the data in the format you prefer.
Hope this helps Christian
[1] http://docs.basex.org/wiki/Commands#EXPORT [2] http://docs.basex.org/wiki/Database_Module#db:export
On Tue, Jan 1, 2019 at 4:21 PM Andreas Jung lists@zopyx.com wrote:
Hi there,
consider moving my XML stuff for a particular project from eXist to BaseX.
I have a full dump from eXist with all related content and I want to import it 1:1 into BaseX…is there a bulk loader or what is the preferred way to import an existing folder structure? Of course I can create my own script what would import the data through WebDAV but the dump has about 50.000 files.
Andreas