Posted on 2009-04-02
I think this is a simple question, but then again if that is the case why am I asking the experts ?
I have never used Robocopy in the past, but I have come across a situation where I need to use it and I have to make sure I don't mess things up.
We currently have a 60 GB folder which contains hundreds of folders and subfolders and about 700,000 files. This files in this folder are being accessed throughout the day and people are making changes and creating new files.
We need to copy this folder to a new server. We have taken last nights backup and restored to the new server.
Tomorrow night at we are going to have everyone logoff the server we are going to disable access to the server. Then we are going to copy all files that have changed since last nights backup to the new server. after this copy the two directories should be identical , nerw server and old server. I will probablt run the windiff.exe to verify the files are the same.
My understanding of Robocopy is I can use it to copy from the source to the detination and maintain security on the files and folders.
Can anyone tell me the proper syntax of Robocopy to accomplish this task and make sure I do not delete any files from the source. I really want to make sure it is a one way copy, from source to dsestination and that it is only files that have a newer timestamp than what is already on the destination folder. Of course if the file or folder does not exist in the destination I need it created, and if the folder is empty i still need it copied.
We use EVAULT for backup and that is why I cannot do an incremental backup. I spoke to evault at length and there software does not allow you to do a restore of just files with a newer timestamp.
Thanks in advance.