6,817
edits
Changes
From Gramps
m
This The {{man label|Check and repair Database}} tool checks the selected database /Family Tree for integrity problems, fixing the problems it can. Specifically, the tool is checking for:
Starting in Gramps 6.0.x after After Gramps crashes [https://github.com/gramps-project/gramps/pull/778 on restart, Gramps will offer to run Check & Repair] tool.(Introduced in Gramps 5.1.x)
→Family Tree Repair: copy en page
=== Family Tree Repair ===
The following Family Tree Repair tools are available:
* [[Gramps_6.0_Wiki_Manual_-_Tools#Check_and_Repair_Database|Check and Repair Database]]
* [[Gramps_6.0_Wiki_Manual_-_Tools#Rebuild_Gender_Statistics|Rebuild Gender Statistics]]
* [[Gramps_6.0_Wiki_Manual_-_Tools#Rebuild_Reference_Maps|Rebuild Reference Maps]]
* [[Gramps_6.0_Wiki_Manual_-_Tools#Rebuild_Secondary_Indexes|Rebuild Secondary Indexes]]
* [[Gramps_6.0_Wiki_Manual_-_Tools#Remove_Unused_Objects|Remove Unused Objects]]
<!-- add paragraph/section about when best to use these tools? -->
====<u>Check and Repair Database</u>====
{{man warn|1=Warning|2=: The {{man label|Check and repair Database}} tool performs automatic fixes. |Once completed, this cannot be undone by the regular {{man label|[[Gramps_6.0_Wiki_Manual_-_Navigation#Using_Undo_History|UndoHistory]]}} function.}}
*Broken family links. These are the cases when a person's record refers to a family while the family's record does not refer to that person, and vice versa.
{{-}}
=====Integrity Check Results dialog=====
[[File:IntegrityCheckResults-dialog-CheckAndRepairDatabase-example-50.png|right|thumb|450px|Fig. {{#var:chapter}}.{{#vardefineecho:figure|{{#expr:{{#var:figure}}+1}}}} "Integrity Check Results" - example result dialog - for the "Check and Repair Database" tool]]
Any issues found are automatically fixed and the {{man label|Integrity Check Results}} dialog will be shown with a summary actions taken.
{{-}}
=====No errors were found dialog=====
Otherwise you will see the {{man label|No errors were found}} dialog stating that ''The database has passed internal checks''.
{{-}}
[[File:GrampsHadAProblemTheLastTimeItWasRun-dialog-51.png|right|thumb|450px|Fig. {{#var:chapter}}.{{#vardefineecho:figure|{{#expr:{{#var:figure}}+1}}}} Gramps had a problem the last time it was run - dialog ]]
{{-}}
*{{checkbox|1}} {{man label|Search for notes}} (checkbox checked by default)
Select the {{man button|Find}} button to run the reporttool, and once completed the results if any will show in the bottom section of the {{man label|Unused Objects}} dialog with the following columns shown:
* {{man label|Mark}} Select the row if you want to delete the object (unchecked by default)
* {{man label|}} - Icon representing the type of object.