I'm attempting to use Robocopy to routinely copy data between 2 servers. In the file structure being copied there are several folders + their associated sub-folders e.g DfsrPrivate and Projects\Archived for this example I don't want to copy.
I've attempted to use the switches /XD DfsrPrivate /XD Projects\Archived
/XF is also used to exclude all .bak files. (referenced after the 2 /XD switches)
This results in the log file header below:
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows :: Version XP010
-------------------------------------------------------------------------------
Started : Wed Dec 05 00:51:28 2007
Source : \\[Servername]\Data\
Dest : D:\Data\
Files : *.*
Exc Files : *.bak
Exc Dirs : DfsrPrivate
Projects\Archived
Options : *.* /S /E /COPYALL /ZB /MAXAGE:1 /R:10 /W:30
------------------------------------------------------------------------------
This results in the DfsrPrivate being excluded but Projects\Archived and all the subfolders below are not.
Has any one had experience with trying this, and had success?