Hi,
I am trying to maintain a daily backup of all the XML files stored in the database. When I run CREATE BACKUP *, zipped backups of all the databases are created. I unzipped these archives and noticed that the files inside are stored in an internal basex format. Please see an example archive attached. Will I be able to restore these archives to original state if I upgrade to a newer version of BaseX? Will the files in the internal format be compatible with newer versions? If not, is there an alternative way of creating backups? Or, do you suggest I write an XQuery to create timestamped versions of files?
Thanks, Sony
Dear Sony,
for quite some time now (since 5.7?), our storage has remained backward compatible, which means you can always import old databases with newer versions of BaseX, and optionally run the OPTIMIZE command to update the internal meta and index structures.
At some time in future (BaseX 8 or 9), we will completely rebuild the storage of BaseX to lift some current limitations (limited number of namespaces, etc). If this happen, be sure we'll either offer a converter or at least give you some feedback how to update your old backups.
In all cases, you will be able to EXPORT your database with an old version and create a new database from the resulting directory with the latest release.
All the best, Christian ________________________________________
On Mon, Apr 16, 2012 at 8:21 PM, Sony Vijay sony.vibh@gmail.com wrote:
Hi,
I am trying to maintain a daily backup of all the XML files stored in the database. When I run CREATE BACKUP *, zipped backups of all the databases are created. I unzipped these archives and noticed that the files inside are stored in an internal basex format. Please see an example archive attached. Will I be able to restore these archives to original state if I upgrade to a newer version of BaseX? Will the files in the internal format be compatible with newer versions? If not, is there an alternative way of creating backups? Or, do you suggest I write an XQuery to create timestamped versions of files?
Thanks, Sony
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de