On 2021/05/13 8:07 pm, 'Christoph Läubrich' via H2 Database wrote:
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:
DATABASE_PATH() is the function you want: http://h2database.com/html/functions.html#database_path -- 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/16273586-f095-5170-c4fb-099be0cf7759%40gmail.com.