Migrating to new laptop


Brian Darracott
 

Hello.  I have now taken delivery of a new laptop and when I've got to grips with Windows 11 I will migrate over my FH work  I am currently using v6.2.7 on Windows 10  I intend to follow the guidance of first installing my v6 on the new machine and get it working before upgrading to v7.  I have re-installed FH in the past and at that time I manually copied over all the various settings (they were helpfully described in an old FHUG article) but don't recall copy any registry files.  I now know of the Backup and Restore plugin and had intended to use that this time.  However the notes in the relevant FHUG Knowledge Base article refers to two plugins: "Backup and Restore FH Settings" and "Backup and Restore Settings via Windows".  I have looked at the comparison article but am at a bit of a loss as to which I should be using. I'd appreciate any advice or recommendations on which use.

Regardless of which plugin I use, would I still have to copy across manually the ProgramData and AppData Folders as I did in the past, or do the plugins do this as well as dealing with registry keys?

Many thanks
Brian


joan Chopping
 

Hi Brian
I too recently bought a new laptop and transferred FH, although V7. I used the plug-in Backup and Restore settings for Windows. Everything went very smoothly following the print outs from the Knowledge Base - FH Copy and Migration Guide and Backup and Restore FH Settings via Windows -Plugin Store.
Good Luck
Joan Chopping

On Mon, 16 Jan 2023 at 12:23, Brian Darracott <brian@...> wrote:

Hello.  I have now taken delivery of a new laptop and when I've got to grips with Windows 11 I will migrate over my FH work  I am currently using v6.2.7 on Windows 10  I intend to follow the guidance of first installing my v6 on the new machine and get it working before upgrading to v7.  I have re-installed FH in the past and at that time I manually copied over all the various settings (they were helpfully described in an old FHUG article) but don't recall copy any registry files.  I now know of the Backup and Restore plugin and had intended to use that this time.  However the notes in the relevant FHUG Knowledge Base article refers to two plugins: "Backup and Restore FH Settings" and "Backup and Restore Settings via Windows".  I have looked at the comparison article but am at a bit of a loss as to which I should be using. I'd appreciate any advice or recommendations on which use.

Regardless of which plugin I use, would I still have to copy across manually the ProgramData and AppData Folders as I did in the past, or do the plugins do this as well as dealing with registry keys?

Many thanks
Brian


Brian Darracott
 

Thanks Joan - that gives me more confidence!

Brian


Brian Darracott
 

Well, I've now installed FH v6.2.7 on my new machine and all the data are there and accessible.  I then ran the plug-in Backup and Restore Settings for Windows on the old set up and transferred the resulting folder with the backup data to the new machine.  However on coming to use Restore on the plugin, it recognised the correct date of the backup but then after checking I wanted to proceed I was presented with a dialog box which implied I had more than one copy of FH running.  Clicking OK on this closed the dialog but just left the plugin box with nothing happening (and the status as no longer running).  Restarting the program shows no restoration has taken place.  I can't see how there can be more than one instance of the program running.

I'm now puzzled and would appreciate any advice.  I know I can always copy over the customisations etc via copy and paste of the same files in the original.

This is the screenshot of what I got:

 

Thanks for any help

Brian


Mike Tate
 

Hi Brian,

The plugin is looking for running processes with ‘fh’ at the end of their name.

Is it possible that some other task is running that is fooling the plugin?

 

If you cannot solve the problem try the other Backup and Restore FH Settings plugin.

 

Regards, Mike Tate

 


Brian Darracott
 

Thanks for that Mike.  I couldn't find in Task Manager any apps running that could have conflicted, though whether there were any Windows processes running to give a problem I'm not sure.  Anyhow, I reverted to the older B&R plugin.  However, I got a little confused by the options for copying older/new/all files, so chickened out and used my own backups of ProgramData and AppData.  However, I did use the plugin for moving over the registry keys and that worked a treat.  And I'm amazed at just how many of my customisations were contained in those two keys.  But all up and running.

And v7 here we come!

Thanks again for all the help,

Brian


Mike Tate
 

Brian, would you be prepared to perform a little diagnostic on the newer plugin to discover what it is seeing to fool it into thinking FH is running twice?

You seem quite computer literate so it should be fairly easy. 😊

 


Mark Draper
 

Brian - I am the author of this plugin. I know exactly how it works, so I can guide you in identifying the issue without any risk of accidentally triggering an unintended restore.


Brian Darracott
 

Mike:  Mark sent me a little diagnostic plugin, which I've run and I've sent him the result.

Thanks for the continued interest.

Brian


Mark Draper
 

Sorted, thanks to Brian for testing.

One of the more obscure bugs that I have come across. The plugin asks Windows how many fh processes are running. In FH7, that is fine, but FH6 reports its process name as Fh, not fh. Windows doesn't care about the subtle difference, as it is not generally case-sensitive, but the plugin does, as Lua (the plugin language) is case-sensitive. FH6 therefore fails to realise that the two are equivalent, so thinks that zero instances are running.  Anything different from one is reported as "possibly more than one", and the restore operation will not continue as the plugin has not received positive confirmation that it is safe to proceed.

A revised plugin with a case-insensitive check should be available from the store shortly (and of the Delete Recent File List plugin, which uses the same plugin function).