Maybe you can use this bash script from @maba007?
I didn’t use it for my own FP2->FP3 migration, probably would have tried it out if I’d found it last monday
Now that I’m on 17.1 I’ll try out SeedVault, which ships by default from LOS17.1+ and can be found in Settings.