wkim / h2database

Automatically exported from code.google.com/p/h2database
0 stars 0 forks source link

Backup.execute(...) does not work for split databases #446

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Backup.execute("data/termdb.zip", "data/db", "termdb", false) produces a .zip 
file, but does not have all the *.part files.

My database is a split database (jdbc:h2:split:24:data/db/termdb)

Drilling into the code FileLister.getDatabaseFiles(...) does not recognize the 
.part files (termdb.h2.db.1.part, etc) and it probably should.

Not super important/critical, but seems like a simple fix.

Thanks,
Brian

Original issue reported on code.google.com by brian.b...@gmail.com on 7 Mar 2013 at 2:17

GoogleCodeExporter commented 8 years ago
Please use the Google Group or StackOverflow, because only very few people look 
at the issue tracker.

You need to use:

Backup.execute("data/termdb.zip", "split:24:data/db", "termdb", false)

Original comment by thomas.t...@gmail.com on 7 Mar 2013 at 6:01