Hey all,
With ROBOCOPY, is there a way to configure a directory exclude with
a full path with a wildcard in the middle of the path? I want to do
something like this:
ROBOCOPY /E D:\ \\backup_server\backup_share\original_server\D /XD
D:\Programs\Microsoft\RIS\Setup\English\Images\*\i386\
If I try the above, ROBOCOPY refuses to run, saying "Invalid Parameter".
The official docs just say /XD supports wildcards, but don't explain
any details. From what little third-party info I can find, you can
say "/XD *cache*" to exclude any folder containing the substring
"cache", but I'm not so sure about full paths. I suspect ROBOCOPY
just doesn't do this, but I wanted a second opinion.
The specific application is: I want to exclude the Remote
Installation Services "i386" folders from a server-to-server backup,
since those can be trivially copied from CD again. I want to preserve
other things, such as customizations under \$OEM$\. I want to avoid
having to specify each and every image explictly, if I can, since I'm
sure one of these days we'll forget to add a new image name to the
exclude list, and accidentally backup a gigabyte of Windows install
CD.
-- Ben
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~