Willott Posted March 17, 2009 Posted March 17, 2009 Hi All, 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: /destination: 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!movehome.vbs 1
danrhodes Posted March 25, 2010 Posted March 25, 2010 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. D
box_l Posted March 25, 2010 Posted March 25, 2010 Also Edumove http://www.edugeek.net/forums/general-edugeek-news-announcements/48085-edumove-here.html BoX
danrhodes Posted March 25, 2010 Posted March 25, 2010 Also Edumove http://www.edugeek.net/forums/general-edugeek-news-announcements/48085-edumove-here.html BoX Yeah EduMove it good!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now