Hello,
I want to use RoboCopy XP026 to move files from one server to another as well as to back up files. Although I know how to use a command prompt, I am not very good at it. The GUI version of Robocopy does not support a command that I really need (DCOPY T which will copy the date time stamp of directories). This is part 1 of a two part question. I am looking for the specific command line text I need to type to get Robocopy to do what I need. Here is the situation:
1. I have 30GB of data on an old W2K file server that I want to move to a new 2003 SBS file server. The old file server was set up in a workgroup while the new one is part of a domain. For this, lets say the name of the old file server is "OLDSERVER" and the domain where the new server sits is called "mydomain".
2. I want all date time attributes to be duplicated.
3. If it makes sense, I also want to duplicate the security too. If we do this, will I be able to open the files on the domain server if they have the security settings from the workgroup?
4. The domain server is running Volume Shadowing Service. I could turn this off if needed before the transfer.
5. I do NOT want to mirror the drives. This is because I have been using the domain-based server for a few months and it has files on it that are either not on the old file server or are newer versions. Any suggestions how to handle this would be great.
Should I run this from my desktop PC that is connected to both servers or should I run it from the new file server?
Hope this makes sense. Let me know if you have any questions.
Chip
ASKER
Sorry for not replying sooner. My time online has been limited due to a strained back.
What version of robocopy are you using? I am note sure how to use the *.* option. I am going to type in exactly what I tried step by step, for my edification as well as your input. First I tried your syntax with the file folders changed:
robocopy.exe /COPY:DATSO G:\TWPanel Z:\0test
And nothing was copied due to trying to copy NTFS security. I then tried dropping the SO out of the command. This time only files from the root of TWPanel were copied. All of the subfolders were skipped. I then added the /E command for everything so that my syntax looked like this:
robocopy.exe /COPY:DAT G:\TWPanel Z:\0test /E
This copied all of the folders and subfolders, but the folders all showed today's date of 7/20/08. I then tried using the DCOPY command, so I modified the syntax as follows:
robocopy.exe /DCOPY:T G:\TWPanel Z:\0test /E
This time everything copied as before, but the folders still had the wrong date! I thought DCOPY:T copied the time stamps on directories? I am going to try some more things and add it in another comment. Sorry again for the slow reply. I purchased a copy of CopyRite, a program similar to the one you suggested. The developer is working on adding support for robocopy 26 (it currently supports 27 and 10).