@Tom-Elliott For future readers, I’ll add that if you HAVE to do an export in this fashion - you probably have much larger issues…
FOG has a built in DB export tool; this is how you get to it:
FOG Configuration -> Configuration Save -> Export
That copies everything from the DB - literally everything.
The Import tool is in the same spot and it does work.
If for some reason the FOG front-end is broke and you can’t use it to import/export - you can do the same thing manually. Examples are here in the WiKi: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL