Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 9e41a94a3e659caa5b91706d5c415d34 > files > 967

bugzilla-4.4.11-1.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>3.16.&#160;Checking and Maintaining Database Integrity</title><link rel="stylesheet" type="text/css" href="../../style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><meta name="keywords" content="Bugzilla, Guide, installation, FAQ, administration, integration, MySQL, Mozilla, webtools"><link rel="home" href="index.html" title="The Bugzilla Guide - 4.4.11 Release"><link rel="up" href="administration.html" title="Chapter&#160;3.&#160;Administering Bugzilla"><link rel="prev" href="groups.html" title="3.15.&#160;Groups and Group Security"><link rel="next" href="security.html" title="Chapter&#160;4.&#160;Bugzilla Security"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">3.16.&#160;Checking and Maintaining Database Integrity</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="groups.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;3.&#160;Administering Bugzilla</th><td width="20%" align="right">&#160;<a accesskey="n" href="security.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sanitycheck"></a>3.16.&#160;Checking and Maintaining Database Integrity</h2></div></div></div><p>
    Over time it is possible for the Bugzilla database to become corrupt
    or to have anomalies.
    This could happen through normal usage of Bugzilla, manual database
    administration outside of the Bugzilla user interface, or from some
    other unexpected event. Bugzilla includes a "Sanity Check" script that
    can perform several basic database checks, and repair certain problems or
    inconsistencies. 
    </p><p>
    To run the "Sanity Check" script, log in as an Administrator and click the
    "Sanity Check" link in the admin page. Any problems that are found will be
    displayed in red letters. If the script is capable of fixing a problem,
    it will present a link to initiate the fix. If the script cannot
    fix the problem it will require manual database administration or recovery.
    </p><p>
    The "Sanity Check" script can also be run from the command line via the perl
    script <code class="filename">sanitycheck.pl</code>. The script can also be run as
    a <span class="command"><strong>cron</strong></span> job. Results will be delivered by email.
    </p><p>
    The "Sanity Check" script should be run on a regular basis as a matter of
    best practice.
    </p><div class="warning" style="margin-left: 1em; margin-right: 1em"><table border="0" summary="Warning"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../images/warning.gif"></td><th align="left"></th></tr><tr><td align="left" valign="top"><p>
      The "Sanity Check" script is no substitute for a competent database
      administrator. It is only designed to check and repair basic database
      problems.
      </p></td></tr></table></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="groups.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="administration.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="security.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">3.15.&#160;Groups and Group Security&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Chapter&#160;4.&#160;Bugzilla Security</td></tr></table></div></body></html>