Thanks Marco and Marco for your prompt response. So that is OK now - I have to configure the client instance with a db path for those files and it should work. Now one more concern is, is there a way I can encrypt those files while pushing them to clients from the server? And decrypt in the client code? Or do I rely on some 3rd party tool to do that? I don't want my users to play around those files at all.
Regards, N.D.
On Thu, Sep 25, 2014 at 4:04 PM, Marco Lettere marco.lettere@dedalus.eu wrote:
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:
[image: Inline image 1] 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