>
> We do actually make a copy of the file, but we call SET EXCLUSIVE 1 before 
> we do that.

It does not matter, such copy may still be unusable. Database can write 
something in background and copy can read inconsistent older and newer 
data. If you really want to copy the file, you need to shutdown the 
database completely and somehow make sure that it will not be opened again 
while file is being copied.

The normal way for regular backup procedure is a BACKUP command:
https://h2database.com/html/commands.html#backup

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/605e70f3-08b0-47b6-ba20-a7ca772a502c%40googlegroups.com.

Reply via email to