{"id":9840,"date":"2020-06-14T21:19:28","date_gmt":"2020-06-14T21:19:28","guid":{"rendered":"https:\/\/fhug.org.uk\/kb\/?post_type=kb_article&#038;p=9840"},"modified":"2024-11-06T08:21:54","modified_gmt":"2024-11-06T08:21:54","slug":"backup-and-recovery","status":"publish","type":"kb_article","link":"https:\/\/www.fhug.org.uk\/kb\/kb-article\/backup-and-recovery\/","title":{"rendered":"Backup and Recovery"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>Every computer user needs a strategy for making backup copies of their precious data. Modern PCs are a lot more reliable than they used to be, but can still fail without warning. In addition, the user could make a mistake that corrupts their files, or the PC gets damaged or stolen.<\/p>\n<p>A file that is not backed up is a file that you are happy to lose.<\/p>\n<p>This overview of backup options considers options within <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span>, and gives pointers for more experienced PC users for incorporating <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> into a general backup strategy.<\/p>\n<h2>What needs to be backed up?<\/h2>\n<p>See <a href=\"https:\/\/fhug.org.uk\/kb\/kb-article\/understanding-the-scope-of-features\/\">Understanding the Scope of Features<\/a> for a full description of where <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> saves its data. A comprehensive backup needs to save all of these data, covering both your tree and program settings.<\/p>\n<h2>Options within Family Historian<\/h2>\n<p>These options give comprehensive coverage of <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> data and settings but do not copy any other files.\u00a0 They are most appropriate for less experienced PC users, as they are easy to set up and use and do not require detailed knowledge of PC filing systems.<\/p>\n<p>A limitation of these methods is that they do not copy any other user data, so need to be part of an overall strategy to protect your user data, not your sole backup mechanism.<\/p>\n<h3>User data<\/h3>\n<span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> provides three different data backups, with increasing scope, ranging from just the GEDCOM file to all files in the relevant project folder. Note that media files are copied only if they are within the project folder. Files held elsewhere that are linked to your project are not copied.<\/p>\n<p>Backup options are set from the Backup tab under either <a href=\"#!\" class=\"cs_tooltip\" fhugtt=\"This is the menu across the top of the main Family Historian windows. The &gt; denotes a submenu\">File&nbsp&gt;&nbspBackup\/Restore&nbsp&gt;&nbspBackup&nbspOptions&#8230;<\/a> or <a href=\"#!\" class=\"cs_tooltip\" fhugtt=\"This is the menu across the top of the main Family Historian windows. The &gt; denotes a submenu\">Tools&nbsp&gt;&nbspPreferences<\/a> in the <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> menu, both of which bring up the selection form. \u00a0The various options available are well described in the <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> help for <a href=\"http:\/\/www.family-historian.co.uk\/help\/fh6\" target=\"_blank\" rel=\"noopener\">Version 6<\/a> and <a href=\"http:\/\/www.family-historian.co.uk\/help\/fh7\" target=\"_blank\" rel=\"noopener\">Version 7<\/a>.<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/fhug.org.uk\/kb\/wp-content\/uploads\/2022\/03\/FH-Help-1.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/p>\n<p>To run a backup, select <a href=\"#!\" class=\"cs_tooltip\" fhugtt=\"This is the menu across the top of the main Family Historian windows. The &gt; denotes a submenu\">File&nbsp&gt;&nbspBackup\/Restore&nbsp<\/a>\u00a0 and the required backup type from the main <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> menu. \u00a0If the option is set (on by default), <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> will also save a backup when closing the program (if the project has changed).<\/p>\n<span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> also takes automatic &#8220;snapshots&#8221; of the project GEDCOM file to facilitate restoring an older version in the event of error or corruption.\u00a0 Optimisation of snapshot frequency is described in the program help for both <a href=\"https:\/\/www.family-historian.co.uk\/help\/fh6\/hh_start.htm#snapshotmanager.html\" target=\"_blank\" rel=\"noopener\">Version 6<\/a>\u00a0and\u00a0<a href=\"https:\/\/www.family-historian.co.uk\/help\/fh7\/hh_start.htm#snapshotmanager.html\" target=\"_blank\" rel=\"noopener\">Version 7<\/a>.<\/p>\n<h3>Backup file<\/h3>\n<p>The <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> backup compresses your data into a single backup file. These backup files use the standard Compressed (zipped) Folder format. In <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> version 7 they are saved as Family Historian Backup (.fhbak) files, but earlier <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> versions retain the default .zip extension. If necessary, advanced users can unpack them by using utilities such as 7-Zip and PkZip (but note that <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> blocks opening .fhbak files by simply right-clicking and selecting Open, as this produces a message directing users to restore using <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span>).<\/p>\n<h3>Program settings<\/h3>\n<p>Although many individual <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> custom features can be saved or exported individually, the program does not provide any options for automatically saving all customisations and other settings in the same way as it does for user project data. The easiest option is to download either the <a href=\"https:\/\/pluginstore.family-historian.co.uk\/page\/plugin\/backup-and-restore-family-historian-settings\">Backup and Restore Family Historian Settings<\/a> plugin or the new <a href=\"https:\/\/pluginstore.family-historian.co.uk\/page\/plugin\/backup-and-restore-family-historian-settings-via-windows\">Backup and Restore Family Historian Settings via Windows<\/a> plugin. Guidance on how to use the plugins are given in their help documentation.<\/p>\n<div class=\"lightweight-accordion\"><details><summary class=\"lightweight-accordion-title\"><h3>Why two plugins?<\/h3><\/summary><div class=\"lightweight-accordion-body\"><p>The original <a href=\"https:\/\/pluginstore.family-historian.co.uk\/page\/plugin\/backup-and-restore-family-historian-settings\">Backup and Restore Family Historian Settings<\/a> plugin has been available since the days of <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span>5, but it is becoming increasingly more complex to fully encompass the variability in different languages and other national settings while still supporting all versions of <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span>.<\/p>\n<p>All <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> settings are saved either as files in the Windows ProgramData or AppData folders (for system-level and user-level settings, respectively), or in one of two Registry keys. As such, they can all be copied directly from Windows itself, so if you know where the files are and the identity of the Registry keys, you don&#8217;t need either plugin to perform a complete backup or restore.<\/p>\n<p>The new <a href=\"https:\/\/pluginstore.family-historian.co.uk\/page\/plugin\/backup-and-restore-family-historian-settings-via-windows\">Backup and Restore Family Historian Settings via Windows<\/a> plugin, released in May 2022, simply compiles these backup commands for you from the configuration entered in its menu, then hands over to Windows to do the actual copying.<\/p>\n<p>The new plugin has a number of advantages over its predecessor:<\/p>\n<ul>\n<li>Simpler menu selections, with full support for <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span>7 custom fonts and zoom with no separate configuration required, while still supporting <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span>6 and <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span>5.<\/li>\n<li>Faster backup, particularly when updating an existing backup, as managing all copying within a plugin imposes a significant performance overhead.<\/li>\n<li>All copying is managed as a separate process outside <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span>, so runs in the background once started. You can therefore continue using <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> immediately, rather than having to wait until the backup is complete (which can be some time when writing to a slow destination such as a USB2 memory stick).<\/li>\n<li>A fully automatic restore process, without having to close <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> manually to complete the restore.<\/li>\n<li>Support for Windows 10\/11 long path names, enabling more deeply nested backup locations or settings files (but note that older 32-bit applications such as <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> cannot use long paths, so path lengths within <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> are still limited to about 250 characters).<\/li>\n<li>Tested extensively for use in MacOS and Linux (version 1.1 onwards).<\/li>\n<li>Creates templates for technically-minded users to develop advanced features such as automatic backups that run even when <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> is not open.<\/li>\n<\/ul>\n<p>The established plugin also has its benefits:<\/p>\n<ul>\n<li>Greater fine control over restoring individual settings files.<\/li>\n<li>Very familiar to existing users over many years use.<\/li>\n<\/ul>\n<p>The Windows plugin can restore backups created by its predecessor, but the reverse is not true.\u00a0 However, users who are comfortable with manipulating Windows files directly using File Explorer can restore either backup (either full or in part) directly from Windows.<\/p>\n<\/div><\/details><\/div>\n<h3>Ancestral Sources Backups<\/h3>\n<p>If you use Ancestral Sources, use its Tools &gt; Backup\/Restore A.S. Options to save\/recover settings, and backup the three Ancestral Sources folders specified in Tools &gt; Options under AS Folders.<\/p>\n<h3>Where to save<\/h3>\n<p>Backups should be saved to a location that is separate from your PC to give maximum protection. While saving a second copy of your files to another folder on the PC is better than no backup at all, it is not secure against something happening to the PC (mechanical failure, theft, accidental damage, etc). The two most common options today are an external hard disk or \u201cin the cloud\u201d.<\/p>\n<p>Simple USB sticks are cheap and are plenty big enough for family history projects, but are relatively slow to write to and not particularly robust. While USB hard disks are significantly more expensive, they are much faster (particularly USB3), more robust, and have much bigger capacity. They are the better option if you can afford it.<\/p>\n<p>An alternative is to subscribe to an external data storage service such as OneDrive, Dropbox, or Google Drive, which can be used for backup as well as <a href=\"https:\/\/fhug.org.uk\/kb\/kb-article\/synchronisation-of-fh-configuration-and-data\/\" target=\"_blank\" rel=\"noopener\">synchronising Family Historian between multiple PCs<\/a>.\u00a0 All of these services provide a limited free allowance, but charge for larger capacities. If you are happy to trust the provider to manage your data, they are a reliable and convenient option.<\/p>\n<h2>Integrating Family Historian into a general backup strategy<\/h2>\n<p>The more experienced PC user will already have a system for backing up their files, so may prefer to integrate <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> with this rather than using the dedicated <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> backup. <a href=\"https:\/\/fhug.org.uk\/kb\/kb-article\/understanding-the-scope-of-features\/\">Understanding the Scope of Features<\/a> gives an overview of the locations to the copied. Backing up <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> settings is simply a matter of copying the relevant ProgramData and AppData folders, plus the two Registry keys that <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> users for settings (extracted to file with the Windows <code>reg<\/code> command if necessary).<\/p>\n<p>A general backup strategy of this type is independent of <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span>, so you can use whichever backup tool you prefer.\u00a0 Many options are available, from simple file copying to sophisticated applications that manage automated backups or real-time syncing.\u00a0 Windows 8.1 and Windows 10 provide a <a href=\"https:\/\/support.microsoft.com\/en-us\/windows\/file-history-in-windows-5de0e203-ebae-05ab-db85-d5aa0a199255\" target=\"_blank\" rel=\"noopener\">File History<\/a> backup option that automatically saves old versions of files when they are overwritten (similar to the inbuilt Snapshot feature in <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span>, but of much wider applicability).\u00a0 This can be a useful option, particularly if the old copies are saved on an external or network drive, but note that it only protects files in defined locations, not all files.\u00a0 File History is available in Windows Settings &gt; Backup.<\/p>\n<h2>Restoring data<\/h2>\n<p>A backup is only useful if it can be restored when required. You need to know where your backup files are and how to access them.<\/p>\n<p>The methods described here are equally applicable for restoring <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> to its original location (say after upgrading a hard disk) or to a different location, PC, or user name.<\/p>\n<p>A backup (both user data and settings) should only be restored back into the same high level version of <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> that it was created from (<em>i.e.<\/em> Version 6 in Version 6 and Version 7 into Version 7).\u00a0 \u00a0The sub-version restored into can be equivalent or newer than the version backup up from, but should not be older (<em>e.g.<\/em> Version 7.0.7 into Version 7.0.8 is ok, but the other way around may give unpredictable results).\u00a0 Calico Pie only make the latest sub-version available, so older ones are not available unless you have saved the original installation file (which is recommended best practice, in case you need to downgrade a version for any reason).<\/p>\n<p>Start the restore process by installing the appropriate version of the application, and in the case of Version 7, ensure that it activates correctly.<\/p>\n<p>If you have used the <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> backup methods, select <a href=\"#!\" class=\"cs_tooltip\" fhugtt=\"This is the menu across the top of the main Family Historian windows. The &gt; denotes a submenu\">File&nbsp&gt;&nbspBackup\/Restore&nbsp&gt;&nbspRestore&nbspBackup&#8230;<\/a> to restore your user data. Reinstall the <a href=\"https:\/\/pluginstore.family-historian.co.uk\/page\/plugin\/backup-and-restore-family-historian-settings\">Backup and Restore Family Historian Settings<\/a> plugin, and follow the help guidance for how to restore program settings.<\/p>\n<p>If you have used your own backup method, close <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> and use the method appropriate for your chosen method to restore user data, the ProgramData and AppData folders, and the two Registry keys.\u00a0 Note that the <code>HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Calico Pie\\Family Historian\\2.0\\Preferences<\/code> key contains specific file locations for the default project, along with project and backup folders.\u00a0 If these are different in the new installation, you can either edit the reg file (which is a plain text file), or leave it as it is and set the new values within <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> after completing the restore.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"template":"","fh_version":[14,15,739],"skill_level":[18,17,16],"topic":[96,68,65],"class_list":["post-9840","kb_article","type-kb_article","status-publish","hentry","fh_version-v5","fh_version-v6","fh_version-v7","skill_level-advanced","skill_level-intermediate","skill_level-newcomer","topic-backup-and-restore","topic-faqs","topic-installing-migrating-and-upgrading"],"_links":{"self":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/kb_article\/9840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/kb_article"}],"about":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/types\/kb_article"}],"wp:attachment":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/media?parent=9840"}],"wp:term":[{"taxonomy":"fh_version","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/fh_version?post=9840"},{"taxonomy":"skill_level","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/skill_level?post=9840"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/topic?post=9840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}