You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to H2 Database
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
Noel Grandin
unread,
May 14, 2021, 5:42:41 AM5/14/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to h2-da...@googlegroups.com
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:
>