This problem is related to MAC, and not related to the database being opened.
*The database **is** closed*, and the Internal H2 backup fails to execute, and does not throw any exception / info. So, i had to use a third party lib to execute the file ZIP myself. On Saturday, November 2, 2013 2:55:03 PM UTC, Thomas Mueller wrote: > > Hi, > > Copying the database file while the database is open is not a good idea. > It will work in most cases, but not in all cases (for example if the > transaction log is rolled over while the backup is in progress). When it > doesn't work, the database will be corrupt. Don't blame us for that. > > If you want to backup the database while it is open, use the "backup" SQL > statement. Otherwise you need to close the database. > > Regards, > Thomas > > > On Sat, Nov 2, 2013 at 2:51 PM, marcolopes <[email protected] <javascript:> > > wrote: > >> I opted to ZIP it myself using zip4j and avoid H2 internal methods. Works >> flawlessly. >> >> >> On Saturday, November 2, 2013 9:08:36 AM UTC, Thomas Mueller wrote: >> >>> Hi, >>> >>> Sorry, I don't know what the problem might be. I guess I would add a few >>> lines System.out to understand what is executed and what not. >>> >>> Regards, >>> Thomas >>> >>> >>> >>> On Fri, Nov 1, 2013 at 7:56 PM, marcolopes <[email protected]> wrote: >>> >>>> No. Jars are never modified by Eclipse Product Export. >>>> >>>> On Friday, November 1, 2013 6:25:51 PM UTC, Noel Grandin wrote: >>>> >>>>> On Fri, Nov 1, 2013 at 8:16 PM, marcolopes <[email protected]> wrote: >>>>> '> >>>>> > We export as an Eclipse Product, so, it creates a NATIVE executable >>>>> file, >>>>> > just like any other app. >>>>> > >>>>> >>>>> I would guess that your export process is somehow modifying the H2 >>>>> jar, since it works fine for the rest of us. >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "H2 Database" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to h2-database...@**googlegroups.com. >>>> To post to this group, send email to [email protected]. >>>> >>>> Visit this group at >>>> http://groups.google.com/**group/h2-database<http://groups.google.com/group/h2-database> >>>> . >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>> . >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "H2 Database" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/h2-database. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/groups/opt_out.
