troubleshooting Question

Robocopy syntax

Avatar of Brett Hartley
Brett Hartley asked on
Windows Server 2008* Robocopy
4 Comments1 Solution84 ViewsLast Modified:
Hi all -

I need to migrate a large file share from one hard drive on my file server to another newly installed hard drive on the same file server.  My confusion and concern is 2-fold:

1.  This share has a ton of sub/sub-sub, etc, folders in it.  Some have no spaces in their names, but many DO have spaces in their names, so I'm struggling to figure out what the Robocopy syntax would be to migrate the whole share and account for this mix, without having to resort to doing each and every "main" subfolder in the root of the share one at a time.
2.   I've seen suggestions that incorporate the /MIR switch and suggestions that just do a "/E /CopyAll" without MIR.

The share is E:\IT and is an actual share and I want to copy it to F:\IT2, which is also an actual share with the same perms as the original E:\IT share.  Everything inside it is just a huge collection of non-shared, NTFS-secured folders, but with that usual mix of spaces and no-spaces in the names.

I have manually already created the new share, F:\IT2, shared it and set the share and NTFS perms to match E:\IT

Any guidance on what syntax I should use would be greatly appreciated.
Hello ThereSystem Administrator
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros