Move Home Directories
Having had some issues/reservations about Ranger Migrate, I've spent the morning (whilst doing other things) putting a script together to copy home directory information from one server to another, and change mapping in AD. It is a very simple script, but may prove a good base for others wanting to do similar things. Our home directories are all named the same as the user, so this was written to work with that fact.
Command line should be:
movehome.vbs /source:<source dir> /destination:<destinationdir>
Currently I send the destination path with a \ at the end (due to not having the energy today to code checks for the \ or directory creation). This is used in the home directory, and all home directories are under one root share (instead of indiviual shares).
Any comments welcome (would be quite happy if someone said "there's a tool that will do that for you", but I haven't spotted on whilst browsing over the past couple of days!
Why not just move the files using robocopy, this way you keep the ACL intact.
Then in AD just upate your users on mass using environment variables? Would that not be quicker and easier?
To re-share the folders just use rmtshare.
Yeah EduMove it good!
Originally Posted by box_l