Hi guys hope you are well.
------------------
SCENARIO:
------------------
ServerA ServerB
SourceFolderA DestinationFolderB
|_folder1 |_folder1
|_folder2 |_folder2
|_folder3
Okay, what I want to do is the following.....
1. All folder/files (and subdirs) in SourceFolderA to be copied to DestinationFolderB
2. Existing folders and files in DestinationFolderB to be maintained, that is, NOTHING in DestinationFolderB is to be overwritten.
3.If a folder is the same name in SourceFolderA and DestinationFolderB, then just copy to DestinationFolderB only files and folders that are different, and retain everything in DestinationFolderB.
So, if there are files and folders in a folder on ServerA that are not on ServerB, then copy over.
If there are folders with the same name on both, then look inside these to see if ServerB doesnt have any, and copy over, while always retaining ALL data on ServerB.
Any help on switches for robocopy here would be most appreicated.
I did try the /MIR command, but this overwrites folders on the destination.
Start Free Trial