Kevin M
asked on
Robocopying data from one server to three new ones
We've got some Citrix home directories on one server, call it "citrixhome", that are mapped to authenticated users' U:. The new server, "newhome", will now house their home directories and be mapped to H:.
i.e. H: maps to \\newhome\Shares\HomeDirs\ username
We wish to move over all of the data in their Citrix home directories (U:) to (H:).
H: already houses containers with identical usernames, but there are some with out Citrix data.
Ideally we could run this command to not move but copy the data to seed it on \\newhome, and then run the copy one last time to synch it before telling Citrix to use those drives instead of on \\citrixhome.
Note: This is one of three new servers for home drives, so really there would be three destinations for the data depending on job role. This I was thinking robocopy may need a test file to parse of the users and where to send the data.
i.e. \\newhome1\Shares\HomeDirs\ username is for one dept
\\newhome2\Shares\HomeDirs \username is for another dept
\\newhome3\Shares\HomeDirs \username is for a third dept
I'm relatively new to using robocopy and I'd figured someone on here would have a quick and simple response. Thanks very much for any input or direction you can provide.
i.e. H: maps to \\newhome\Shares\HomeDirs\
We wish to move over all of the data in their Citrix home directories (U:) to (H:).
H: already houses containers with identical usernames, but there are some with out Citrix data.
Ideally we could run this command to not move but copy the data to seed it on \\newhome, and then run the copy one last time to synch it before telling Citrix to use those drives instead of on \\citrixhome.
Note: This is one of three new servers for home drives, so really there would be three destinations for the data depending on job role. This I was thinking robocopy may need a test file to parse of the users and where to send the data.
i.e. \\newhome1\Shares\HomeDirs\
\\newhome2\Shares\HomeDirs
\\newhome3\Shares\HomeDirs
I'm relatively new to using robocopy and I'd figured someone on here would have a quick and simple response. Thanks very much for any input or direction you can provide.
ASKER
So that will mirror whatever is in the Citrix directories onto the new servers. Cool--but unfortunately the list of people getting data out of their Citrix folders will have to be separated to go to the correct server. Can you pass robocopy a text file with those parameters?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hmph, interesting. I'm going to give this a go, thanks very much!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Question is answered.
Robocopy /e /dcopy:t /mir /r:3 /w:1 /log:c:\results.txt \\oldhome1\Shares\HomeDirs
When you run it a second time, it will just copy what's needed and skip all else