2
Using Robocopy for migration
Question asked by Kevin McNally - 9/5/2020 at 7:09 AM
Unanswered
I have been following https://portal.smartertools.com/kb/a2874/migrate-smartermail-to-a-different-server-using-robocopy.aspx?KBSearchID=836521 to migrate to a new server.  But I want to do this phases, first with an initial migration and then just copy the new files when I am ready. I don't see in this article how to only copy new files from the date of the initial copy. How do you modify the command to do that?

Thank you,
Kevin

6 Replies

Reply to Thread
0
Ben Replied
The /mir switch will mean only the changed files are copied/updated so you don't need to worry.
0
Nathan Replied
Show caution with /MIR as it maintains sync between the source and target, so it does not only copy new files but also deletes files from the target that do not exist in the source. 

This is almost certainly what you want but the 'only changes files are copied/updated' statement above is not quite correct and could be costly if taken at face value.
0
Ben Replied
Sorry yes, that was bad wording by me! 
0
echoDreamz Replied
Last time we did this, we used Beyond Compare and it worked brilliantly.
0
Ron Raley Replied
Kevin,

In case you are interested, here is the command w/ flags that we used to perform our server migration, which worked very very well.

robocopy "\\ServerName\SmarterMail" "C:\SmarterMail" /E /Z /COPY:DAT /dcopy:T /MIR /MT:64 /LOG:c:\SmarterMail_Log.txt /TEE /FFT /R:0 /W:0

Ron
0
Kevin McNally Replied
Thank you Ron, I will be giving this a try.

Kevin

Reply to Thread