I am attempting to migrate a little over 12 TB of data as we move our data center. In the past we've used and become very proficient with robocopy. However, we found that although we can seed data relatively quickly with robocopy, it is too slow in doing a data refresh. It was suggested that we use emcopy instead.
My initial testing proved out that emcopy is extremely fast when compared to robocopy. However, I've run into a problem with excluding directories.
I need to be able to exclude certain directories from being purged from the destination when doing a refresh. But although emcopy recognizes my /xd switch and places the information in the "command information" section, it ignores it and purges out the directories on the target anyway.
I found that there were bugs with this function that were fixed in version 4.03 and again in version 4.11, but I'm using the most current version 4.14 and still can't make this work correctly.
Here is one of several commands I've tried as an example:
This command still ends up deleting the destination directory "Cisco".
I don't believe I have the syntax wrong because emcopy indicates exactly what I expect - that it will ignore the "Cisco" directory. Is there some tick to this or is this yet another bug?
I appreciate you testing that out yourself Claude and providing that feedback. Yes, you do have the directory structure correct. I used your exact syntax which was the same as I've tried with the exception of redirecting to a log file -- and it still deleted the destination directory called "Cisco".
Here are all the details and the resultant deletion of the excluded directory:
I was able to determine that emcopy (at least, 64-bit v4.14) is case sensitive in a non-sensical manner. At least the /xd switch is. Although the directory itself is cased, emcopy will only ignore it if you place it in ALL LOWER-CASE in the command.
You would think that emcopy would be (a) case insensitive, (b) error out with upper case characters, or (c) change the case internally before executing.
*sigh*
However, I'm still having a problem with excluding sub-directories. I'm sure there's some trick like the lower-case issue, but I haven't found it yet. For instance:
That's what I was worried about. We've since opened a ticket with EMC but they haven't indicated that it's actually not a supported function...yet. And actually it won't ignore a directory anywhere in the path either. Tested and failed with that.
Thanks for all your feedback Claude. We're counting on EMC Support to work out the last couple issues.
bergec
275 Posts
4580
0
Posted April 11th, 2012 01:00
Have you tried to just specify the name "Cisco" (instead of the full path)?
But this will exclude any occurence of that directory in the tree
Claude