Referring to the CLI restore-domain command here:
What does --fix do? Has --fix have anything to do with --reuid ?
The reason why I am asking, we restored 50 domains to a new server, 47 restored perfectly. 3 did not restore /homes permissions correctly. The group permissions were correct but the user permissions, instead of firstname.lastname@example.org was random numerics like 607.