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 user@domain.com was random numerics like 607.
Fix is the same as the Just re-import server details? option in the Restore form in the UI.
It restores just the Virtualmin metadata for the domain found in the backup. This is useful if you uninstalled Webmin or otherwise removed the Virtualmin metadata for the domain, but nothing else has changed.