I have a cluster migration happening. I have taken a back up of all the user home directory data . I now have to create application user and bring the home directories data back to the new cluster. While doing so , I have to make sure that I take care of the uids and gids and see that they are the same as they were in the older cluster.
Can anyone suggest me as to what would be the most convenient approach to this? Do i have to create the groups again with the same gids ? Also, while creating the user in the new cluster should I create each of them with the uids available from the back data ?
Would appreciate if someone can guide me through this/ Thanks in advance.