Looking at the jdbc url, it seems you are using MySQL, not h2. To create a 
database backup with mysql, have a look at 
mysqldump<http://dev.mysql.com/doc/refman/5.6/en/mysqldump.html>command.

regards,

Wim

Op dinsdag 9 oktober 2012 15:12:37 UTC+2 schreef Maazy het volgende:
>
> I am very new to H2 , grails 2.0 comes with h2 database and dbconsole.
>
> it tools section of dbconsole there is a option to take database backup,
>
> it asks 2 things 
>
> Target file name:  ~/backup.zip (by default)
> Source directory:  ~ (by default)
> Source database name: opal (my database name)
>
> if i press run , system gives following message
>
> Command line:java -cp h2*.jar org.h2.tools.Backup -file "~/backup.zip" 
> -dir "~"
> Result:
>
> No database files have been found in directory C:/Documents and 
> Settings/Hussain for the database opal 
>
>
> my sql  url = "jdbc:mysql://localhost/opal"
>
> user name : root
>
> password :  (none)
>
>
> so, what is the correct way of taking database backup in dbconsole?
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/h2-database/-/xhvYvAaFNRYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to