I'm writing an upgrade script and like to make a backup from withing that script.

Is it possible to get the name of the current database location to use for something like this:

BACKUP TO ${current-database-location}.bak


so if my current url is 'jdbc:h2:~/maydatabase' a backup is ~/maydatabase.db.bak

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/d5d069c1-e08e-2b0a-4b47-df6ecd2241ec%40googlemail.com.

Reply via email to