blob: 4f8fb11c6902b34ea1d031b9cad545464f6f6b8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
.. _sanity-check:
Sanity Check
############
Over time it is possible for the Bugzilla database to become corrupt
or to have anomalies. This could happen through manual database
administration outside of the Bugzilla user interface, or from some
other unexpected event. Bugzilla includes a "Sanity Check" that
can perform several basic database checks, and repair certain problems or
inconsistencies.
To run a Sanity Check, log in as an Administrator and click the
:guilabel:`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.
Sanity Check can also be run from the command line via the perl
script :file:`sanitycheck.pl`. The script can also be run as
a :command:`cron` job. Results will be delivered by email to an address
specified on the command line.
Sanity Check should be run on a regular basis as a matter of
best practice.
|