Hi Godmar,

in direct reference to your reference, you may use
the already available command
  'alter database [db] [newname]' 
for this [1].

Hope this helps,
Lukas

[1] http://docs.basex.org/wiki/Commands



On Wed, Mar 9, 2011 at 2:52 AM, Godmar Back <godmar@gmail.com> wrote:
Last year [1], the functionality to rename a database was requested.
We need this functionality as well.

The option to rename the folder would require shutting down, and
restarting, the BaseX server, which is not a good idea.
The other alternative would be to retrieve the entire XML content of
the source db, then create the target db with that content; this is
wasteful and inefficient for large db.

Please add a db rename functionality to the Java client binding.

 - Godmar


[1] https://mailman.uni-konstanz.de/pipermail/basex-talk/2010-May/000298.html
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk