提交 99382477 authored 作者: Thomas Mueller's avatar Thomas Mueller

Improved documentation.

上级 e4bd2c60
...@@ -25,8 +25,13 @@ import org.h2.util.Tool; ...@@ -25,8 +25,13 @@ import org.h2.util.Tool;
/** /**
* Creates a backup of a database. * Creates a backup of a database.
* <br /> * <br />
* The database must be closed before using this tool, * This tool copies all database files. The database must be closed before using
* except when running in quiet mode. * this tool. To create a backup while the database is in use, run the BACKUP
* SQL statement. In an emergency, for example if the application is not
* responding, creating a backup using the Backup tool is possible by using the
* quiet mode. However, if the database is changed while the backup is running
* in quiet mode, the backup could be corrupt.
*
* @h2.resource * @h2.resource
*/ */
public class Backup extends Tool { public class Backup extends Tool {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论