I agree fully. It is a glaring omission in FH, but unfortunately we are in a Catch-22. CP are a tiny outfit with limited resources. What is the right balance between fixing holes and providing new features? Plugins are a great feature, but in my view should be used mainly for niche operations that might apply to only a limited number of users. While there are users who are prepared to spend a huge amount of time fixing the holes (and we are all grateful to them), is it best use of CP's time to duplicate that work at the expense of other activities? That's the paradox that has been there for years, and probably won't get resolved anytime soon.
On the specifics of this issue, the following Windows script backs up all your settings to a specified backup folder, and the second script restores them back again by simply reversing the commands. It's a blunt "copy everything", but fine control isn't needed for setting up a new installation. It restores the same default project and backup folders as your original installation, but these can be simply changed in FH the first time you run it if necessary.
Code: Select all
robocopy "%PROGRAMDATA%\Calico Pie\Family Historian" X:\fhBackup\fhProgramData /MIR
robocopy "%APPDATA%\Calico Pie\Family Historian" X:\fhBackup\fhAppData /MIR
Reg export "HKEY_CURRENT_USER\SOFTWARE\Calico Pie\Family Historian" X:\fhBackup\fhCURRENT_USER.reg /y
Reg export "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Calico Pie\Family Historian\2.0\Preferences" X:\fhBackup\fhLOCAL_MACHINE.reg /y
Code: Select all
robocopy X:\fhBackup\fhProgramData "%PROGRAMDATA%\Calico Pie\Family Historian" /MIR
robocopy X:\fhBackup\fhAppData "%APPDATA%\Calico Pie\Family Historian" /MIR
Reg import X:\fhBackup\fhCURRENT_USER.reg
Reg import X:\fhBackup\fhLOCAL_MACHINE.reg
As written, it assumes 64-bit Windows on both PCs (virtually all are today). One of the Registry key paths would need editing for 32-bit.
Users are welcome to play with it. It's a prototype template, so only use it if you understand the file structure and are happy creating, modifying and running batch files. I actually use a slight variation for my routine backup, where I call 7-zip to create single file zip archives of the folders, rather than thousands of individual files.
With this approach, setting up a new installation follows these steps (but remember it must be the same main version of FH on both PCs, and the target PC revision should not be older than that on the source PC (unlikely, as the latest version is readily available).
- Run the backup script, either from the command line or by double clicking on the batch file. FH should be closed, to ensure that there are no unsaved changes in settings.
- Install the new copy of FH, allow it to activate, and then close it.
- Run the restore script. All your settings are now identical in both installations.
Copying is reliable and robust, as it is all done within Windows, but this is a prototype - please find the potential problems, and by all means suggest improvements and refinements. It worked flawlessly in my recent installation, but I want you to find the gotchas that I've not thought of...