Hi, If possible, I would use the SCRIPT statement, as described by Dario.
The BACKUP statement is supposed to work as well, but I'm not sure if it works in all cases if multi-threaded is enabled (I need to verify). It is quite dangerous to copy the database file while the database is in use. I don't see any obvious flaw in your approach, but I'm just not sure if I forgot no corner case. Regards, Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
