Restore data after update
use pre-install.xq
to backup and post-install.xq
to restore data when an update is made.
this should include everything inside /textgrid
. The collection.xconf should be preserved as well, so we need to set up in post-install.xq followed by xmldb:reindex(…)
.