Hi Nilanjan,
I've done something similar and it works.
I even use rsync for synchronizing database directories calling it from the xquery proc module.
Just it has to be done when no access to the data is occurring because there could be consistency issues arising.
Regards,
M.
On 25/09/2014 12:16, Nilanjan Dutta wrote:
Hello Team,
In our project we are planning to use BaseX as XML DB.
My main concern is, we don't want to create DB again and again to different machines with same XML file as input and would like to reuse the DB that we'd generate in a server.
I see in the "data" directory of my BaseX installation these files are generated when I create a DB by importing an XML:
Would like to know if these can be zipped and ported into different machines and can be used to recreate the DB. Please do let me know how this can be done .
Regards,N ilanjan Dutta