Difference between revisions of "How to restore a backup"

From Gramps
Jump to: navigation, search
(Gramps version 5.0 and later)
(Restore a Gramps backup archive from within Gramps)
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{languages|How to restore a backup}}
 
'''How to restore a backup''' of your Gramps genealogy Family Tree database.
 
'''How to restore a backup''' of your Gramps genealogy Family Tree database.
  
==Gramps version 5.1 and later==
+
{{man note|Importing backup archives|The following workflow is for Gramps version 3.3 or later versions of the <code>.gramps</code> or <code>.gpkg</code> XML backup/archive files. Options to recover an archive from an earlier or a database are linked at the bottom of the page.}}
The default recommended database backend is ''SQLite''. Before following steps outlined for the 3.3 version of Gramps, choose a {{man label|Database backend}} from the {{Man menu|Edit &#x27a1; Preferences}}  [[Gramps_5.1_Wiki_Manual_-_Settings#Family_Tree|Family Tree]] tab.
+
==Restore a Gramps backup archive from the Desktop==
  
==Gramps version 3.3 and later==
+
The easiest method is to find the archive file (while Gramps is not running) in the OS. Right-click that file and choose to Open with Gramps from the context menu. The OS will launch the Gramps application, create a blank tree, name the tree to match the archive, import the archive, and you're ready to continue with your research. All that completes with a single action.
  
Start Gramps and from the menu select {{man menu|Family Trees > Manage Family Trees...}} then from the {{man label|Family Trees}} dialog.
+
{{-}}
 +
[[File:Menubar-FamilyTrees-overview-example-50.png|thumb|right|450px|Menubar - {{man menu|Family Trees > Manage Family Trees...}}]]
 +
[[File:Importfamilytree-dialog-51.png|thumb|right|450px|Import Family Tree - dialog example]]
  
* Select {{man button|New}} and either change the name of the family tree or accept the default.
+
==Restore a Gramps backup archive from within Gramps==
* Select {{man button|Load Family Tree}}
+
You can also Start Gramps and do those steps manually.  
* From the menu select {{man menu|Family Trees > Import...}} and use the {{man label|Import Family Tree}} file dialog to navigate to and select your family tree backup  then select the {{man button|Import}} button.
 
  
Once completed the {{man label|Import Statistics}} dialog will be shown to confirm a successful import.
+
* From the {{man menu|Family Trees}} menu, select {{man menu|Manage Family Trees...}}
 +
* From the {{man label|[[Gramps_{{man version}}_Wiki_Manual_-_Manage_Family_Trees#Family_Trees_manager_window|Family Trees]]}} manager window:
 +
** Select {{man button|New}}
 +
** When the new row appears, either: press {{man button|Enter}} key to accept default name; or, change the name before pressing the {{man button|Enter}} key. <br />''(The Tree can be renamed at a later time too.)''
 +
** Select the {{man button|Load Family Tree}} button
 +
* From the {{man menu|Family Trees}} menu, select {{man menu|Import...}}
 +
* Navigate to the family tree backup archive file in the [[Gramps_{{man version}}_Wiki_Manual_-_Manage_Family_Trees#Import_Family_Tree_dialog|{{man label|Import Family Tree}}]] file dialog
 +
* To begin restoring the family tree backup archive file, double-click it. (Or select it and then click the {{man button|Import}} button.)
  
You can now use your family tree.
+
Once completed, the {{man label|[[Gramps_{{man version}}_Wiki_Manual_-_Manage_Family_Trees#Import_Statistics_dialog|Import Statistics]]}} dialog will be shown to confirm a successful import.
 +
 
 +
You can now continue with your research on your family tree.
 +
{{-}}
  
 
==See also==
 
==See also==
 +
* [[Template:Backup_Omissions|Backup omissions]] - what is not included during a backup
 
* [[How to make a backup]]
 
* [[How to make a backup]]
 
* [[Recover corrupted family tree]]
 
* [[Recover corrupted family tree]]
 
+
* Discourse support forum: [https://gramps.discourse.group/t/create-a-data-recovery-category/4504 Create a “Data Recovery” category?]
{{grampsmanualcopyright}}
 
  
 
[[Category:How do I...|Restore]]
 
[[Category:How do I...|Restore]]

Latest revision as of 02:17, 11 March 2024

How to restore a backup of your Gramps genealogy Family Tree database.

Gramps-notes.png
Importing backup archives

The following workflow is for Gramps version 3.3 or later versions of the .gramps or .gpkg XML backup/archive files. Options to recover an archive from an earlier or a database are linked at the bottom of the page.

Restore a Gramps backup archive from the Desktop

The easiest method is to find the archive file (while Gramps is not running) in the OS. Right-click that file and choose to Open with Gramps from the context menu. The OS will launch the Gramps application, create a blank tree, name the tree to match the archive, import the archive, and you're ready to continue with your research. All that completes with a single action.


Menubar - Family Trees > Manage Family Trees...
Import Family Tree - dialog example

Restore a Gramps backup archive from within Gramps

You can also Start Gramps and do those steps manually.

  • From the Family Trees menu, select Manage Family Trees...
  • From the Family Trees manager window:
    • Select New
    • When the new row appears, either: press Enter key to accept default name; or, change the name before pressing the Enter key.
      (The Tree can be renamed at a later time too.)
    • Select the Load Family Tree button
  • From the Family Trees menu, select Import...
  • Navigate to the family tree backup archive file in the Import Family Tree file dialog
  • To begin restoring the family tree backup archive file, double-click it. (Or select it and then click the Import button.)

Once completed, the Import Statistics dialog will be shown to confirm a successful import.

You can now continue with your research on your family tree.

See also