|
@@ -20,7 +20,7 @@
|
|
|
<refentry>
|
|
|
|
|
|
<refentryinfo>
|
|
|
- <date>March 20, 2012</date>
|
|
|
+ <date>June 20, 2012</date>
|
|
|
</refentryinfo>
|
|
|
|
|
|
<refmeta>
|
|
@@ -60,14 +60,15 @@
|
|
|
<refsect1>
|
|
|
<title>DESCRIPTION</title>
|
|
|
<para>
|
|
|
- The <command>b10-dbutil</command> utility is a general administration
|
|
|
- utility for SQL databases. (Currently only SQLite is supported by
|
|
|
- BIND 10.) It can report the current verion of the schema, and upgrade
|
|
|
- an existing database to the latest version of the schema.
|
|
|
+ The <command>b10-dbutil</command> utility is a general
|
|
|
+ administration utility for SQL databases for BIND 10. (Currently
|
|
|
+ only SQLite is supported by BIND 10.) It can report the
|
|
|
+ current verion of the schema, and upgrade an existing database
|
|
|
+ to the latest version of the schema.
|
|
|
</para>
|
|
|
|
|
|
<para>
|
|
|
- <command>b10-dbutil</command> operates in one of two modes, check mode
|
|
|
+ <command>b10-dbutil</command> operates in one of two modesr: check mode
|
|
|
or upgrade mode.
|
|
|
</para>
|
|
|
|
|
@@ -76,9 +77,10 @@
|
|
|
utility reads the version of the database schema from the database
|
|
|
and prints it. It will tell you whether the schema is at the latest
|
|
|
version supported by BIND 10. Exit status is 0 if the schema is at
|
|
|
- the correct version, 1 if the schema is at an older version, 2 if
|
|
|
+ the correct version, 1 if the schema is at an older version, or 2 if
|
|
|
the schema is at a version not yet supported by this version of
|
|
|
- b10-dbutil. Any higher value indicates an error during command-line
|
|
|
+ <command>b10-dbutil</command>.
|
|
|
+ Any higher value indicates an error during command-line
|
|
|
parsing or execution.
|
|
|
</para>
|
|
|
|
|
@@ -115,8 +117,8 @@
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>Selects the version check function, which reports the
|
|
|
- current version of the database. This is incompatible
|
|
|
- with the --upgrade option.
|
|
|
+ current version of the database. This is mutually exclusive
|
|
|
+ with the <option>--upgrade</option> option.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
@@ -126,11 +128,12 @@
|
|
|
<option>--noconfirm</option>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
- <para>Only valid with --upgrade, this disables the prompt.
|
|
|
+ <para>Only valid with <option>--upgrade</option>, this disables
|
|
|
+ the prompt.
|
|
|
Normally the utility will print a warning that an upgrade is
|
|
|
about to take place and request that you type "Yes" to continue.
|
|
|
If this switch is given on the command line, no prompt will
|
|
|
- be issued: the utility will just perform the upgrade.
|
|
|
+ be issued and the utility will just perform the upgrade.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
@@ -141,15 +144,16 @@
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>Selects the upgrade function, which upgrades the database
|
|
|
- to the latest version of the schema. This is incompatible
|
|
|
- with the --upgrade option.
|
|
|
+ to the latest version of the schema. This is mutually exclusive
|
|
|
+ with the <option>--check</option> option.
|
|
|
</para>
|
|
|
<para>
|
|
|
- The upgrade function will upgrade a BIND 10 database - no matter how
|
|
|
- old the schema - preserving all data. A backup file is created
|
|
|
- before the upgrade (with the same name as the database, but with
|
|
|
- ".backup" suffixed to it). If the upgrade fails, this file can
|
|
|
- be copied back to restore the original database.
|
|
|
+ The upgrade function will upgrade a BIND 10 database —
|
|
|
+ no matter how old the schema — preserving all data.
|
|
|
+ A backup file is created before the upgrade (with the
|
|
|
+ same name as the database, but with ".backup" suffixed
|
|
|
+ to it). If the upgrade fails, this file can be copied
|
|
|
+ back to restore the original database.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
@@ -160,7 +164,7 @@
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>Enable verbose mode. Each SQL command issued by the
|
|
|
- utility will be printed to stderr before it is executed.</para>
|
|
|
+ utility will be printed to STDERR before it is executed.</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
@@ -181,7 +185,7 @@
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- Name of the database file to check of upgrade.
|
|
|
+ Name of the database file to check or upgrade.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|