Hello. No, you can't copy a database file if database was not closed 
properly, but you can use a SHUTDOWN command to close it.

However, if you need a backup copy it can be created with BACKUP TO 
'filename.zip' command, there is no reason to close other connections for 
it.

Usually it's safe to send a SIGTERM to a process, but it depends on your 
database settings, there is an option that prevents H2 from automatic clean 
shutdown on process termination.

If you can create a standalone test case that reproduces a database 
corruption, please share it with 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to