【发布时间】:2012-01-11 13:15:24
【问题描述】:
我正在尝试按照 HSQLDB 用户指南中的说明创建我的 HSQLDB(使用 HSQLDB 2.2.6.jar)的脱机备份:http://hsqldb.org/doc/2.0/guide/management-chapt.html#N1400A
java -cp path/to/hsqldb.jar org.hsqldb.lib.tar.DbBackup --save \
tar/path.tar db/base/path
但我找不到 db/base/path 应该指向的位置。这是用户指南中的注释:
db/base/path is the file path to the catalog file base name (in same fashion as in server.database.* settings and JDBC URLs with catalog type file:.
这就是我得到的错误信息:
Exception in thread "main" java.io.FileNotFoundException: File not found:
path\to\hsqldb.jar.properties
at org.hsqldb.lib.tar.DbBackup.write(Unknown Source)
at org.hsqldb.lib.tar.DbBackup.main(Unknown Source)
【问题讨论】: