BACKUP/RESTORE - 32 bits limitation / java 7
Dear BaseX users,
BACKUPing a big database (leading to a bigger than 2 Go archive) is ok, But RESTOREing it fails because archive is corrupted.
It seems to be related to the 32 bit zip library limitation, that may be solved with java 7. Did someone already try BACKUP/RESTORing big databases with BaseX running on a java 7 jre ?
Best regards, Fabrice Etanchaud Questel-Orbit
Hi Fabrice,
yes, the problem has been resolved with Java 7 [1]. If you are using a newer version of Java 6, you should at least be able to process files up to 4GB [2]. I’ve added some enlightening words in our documentation [3].
Hope this helps, Christian
[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6860950 [2] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4681995 [3] http://docs.basex.org/wiki/Commands#CREATE_BACKUP
Quoted text · Fabrice Etanchaud · 15 lines
On Fri, Feb 22, 2013 at 4:42 PM, Fabrice Etanchaud <fetanchaud at questel.com> wrote: > Dear BaseX users, > > BACKUPing a big database (leading to a bigger than 2 Go archive) is ok, > But RESTOREing it fails because archive is corrupted. > > It seems to be related to the 32 bit zip library limitation, that may be > solved with java 7. > Did someone already try BACKUP/RESTORing big databases with BaseX running on > a java 7 jre ? > > Best regards, > Fabrice Etanchaud > Questel-Orbit
Written for BaseX 7.6. BaseX may have changed since: please check the current documentation.