<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [

<!-- Process this file with docbook-to-man to generate an nroff manual
     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
     less'.  A typical entry in a Makefile or Makefile.am is:

manpage.1: manpage.sgml
	docbook-to-man $< > $@
  -->

<!-- This example was constructed by Colin Watson
     <email>cjwatson@debian.org</email>, based on a man page template
     provided by Tom Christiansen <email>tchrist@jhereg.perl.com</email>
     and a DocBook man page example by Craig Small
     <email>csmall@debian.org</email>.
  -->

  <!-- Fill in the various UPPER CASE things here. -->
  <!ENTITY manfirstname "<firstname>Daniel</firstname>">
  <!ENTITY mansurname   "<surname>Urban</surname>">
  <!-- Please adjust the date whenever revising the manpage. -->
  <!ENTITY mandate      "<date>June 21 2004</date>">
  <!-- SECTION should be 1-8, maybe with subsection. Other parameters are
       allowed: see man(7), man(1). -->
  <!ENTITY mansection   "<manvolnum>1</manvolnum>">
  <!ENTITY manemail     "<email>daniel@sente.pl</email>">
  <!ENTITY manusername  "Daniel Urban">
  <!ENTITY manucpackage "<refentrytitle>GFIX</refentrytitle>">
  <!ENTITY manpackage   "gfix">
]>

<refentry>
  <refentryinfo>
    <address>
      &manemail;
    </address>
    <author>
      &manfirstname;
      &mansurname;
    </author>
    <copyright>
      <year>2004</year>
      <holder>&manusername;</holder>
    </copyright>
    &mandate;
  </refentryinfo>
  <refmeta>
    &manucpackage;

    &mansection;
  </refmeta>
  <refnamediv>
    <refname>&manpackage;</refname>

    <refpurpose>GFIX - Firebird command-line tool</refpurpose>
  </refnamediv>

<refsect1>
    <title>DESCRIPTION</title>

    <para><command>&manpackage;</command> is a tool whitch performs a number
	of maintenance activities on a database eg. database shutdown, making minor
	data repairs.
    </para>

    <para> http://www.firebirdsql.org/ - Documentation -> Knowledgebase -> 
	User Documentation -> Interbase 6. Operation Guide.</para>


</refsect1>
<refsect1>
  <title>COMMON OPTIONS</title>
    <refsect2>
      <title>-activate</title>
      <para>Acivate shadow file for database usage</para>
    </refsect2>

    <refsect2>
      <title>-at[tach] n</title>
      <para>shutdown new database attachments</para>
    </refsect2>

	<refsect2>
      <title>-b[uffers] n</title>
      <para>Set page buffers n</para>
    </refsect2>

	<refsect2>
      <title>-c[ommit] {ID|all}</title>
      <para>Commit transaction (tr / all)</para>
    </refsect2>

	<refsect2>
      <title>-ca[che] n</title>
      <para>Shutdown cache manager</para>
    </refsect2>

	<refsect2>
      <title>-f[ull]</title>
      <para>Validate record fragments (-v)</para>
    </refsect2>

	<refsect2>
      <title>-f[orce] n</title>
      <para>Force database shutdown</para>
    </refsect2>
	
	<refsect2>
      <title>-h[ousekeeping] n</title>
      <para>Set sweep interval (n)</para>
    </refsect2>

	<refsect2>
      <title>-i[gnore]</title>
      <para>Ignore checksum errors</para>
    </refsect2>

	<refsect2>
      <title>-kill</title>
      <para>Kill all unavailable shadow files</para>
    </refsect2>

	<refsect2>
      <title>-l[ist]</title>
      <para>Show limbo transactions</para>
    </refsect2>

	<refsect2>
      <title>-m[end]</title>
      <para>Prepare corrupt database for backup</para>
    </refsect2>

	<refsect2>
      <title>-m[ode] [read_write|read_only]</title>
      <para>read-only or read-wrire</para>
    </refsect2>

	<refsect2>
      <title>n[o_update]</title>
      <para>read-only validation (-v)</para>
    </refsect2>

	<refsect2>
      <title>-o[nline]</title>
      <para>Database online</para>
    </refsect2>

	<refsect2>
      <title>-pa[ssword] password</title>
      <para>Default password</para>
    </refsect2>

	<refsect2>
      <title>-p[rompt]</title>
      <para>Prompt for commit/rollback (-v)</para>
    </refsect2>

	<refsect2>
      <title>-r[ollback] {ID|all}</title>
      <para>Rollback transaction (tr / all)</para>
    </refsect2>

	<refsect2>
      <title>-s[ql_dialect] n</title>
      <para>Set database dialect n</para>
    </refsect2>

	<refsect2>
      <title>-s[weep]</title>
      <para>Force garbage collection</para>
    </refsect2>

	<refsect2>
      <title>-sh[ut]</title>
      <para>Shutdown database</para>
    </refsect2>

	<refsect2>
      <title>-t[wo-phase] {ID|all}</title>
      <para>Perform automated two-phase recovery</para>
    </refsect2>

	<refsect2>
      <title>-tr[an] n</title>
      <para>Shutdown transaction startup</para>
    </refsect2>

	<refsect2>
      <title>-use</title>
      <para>Use full or reserve space for versions</para>
    </refsect2>

	<refsect2>
      <title>-user name</title>
      <para>Default user name</para>
    </refsect2>

	<refsect2>
      <title>-v[alidate]</title>
      <para>Validate database structure</para>
    </refsect2>

	<refsect2>
      <title>-w[rite] {sync|async}</title>
      <para>Write synchronously or asynchronously</para>
    </refsect2>

	<refsect2>
      <title>-z</title>
      <para>Print software version number</para>
    </refsect2>

</refsect1>


<refsect1>
  <title>EXAMPLES</title>
  
  <para></para>
    

  <refsect2>
    <title></title>
    <para></para>
  </refsect2>
</refsect1>


<refsect1>
  <title>AUTHOR</title>

  <para>This manpage was written by &manusername; &lt;&manemail;&gt; for Debian
  GNU/Linux but may be used by others.</para>
</refsect1>
<refsect1>
  <title>COPYRIGHT</title>
  <para>Permission is granted to modify and distribute this manpage under the
  terms of GNU General Public Licence version 2 or (at your oppinion) any later
  version. It is provided in the hope that it will be useful but with NO
  WARRANTY. Author is not responsible for any (mis)use of this manpage.</para>
</refsect1>

</refentry>

