Skip to main content

Using Robocopy to Migrate Files to a New Server

By July 2, 2013June 7th, 2022Blog, Windows Server
windows server feature image

ContactUsIconsAs an Operations Engineer at PEI, I have the opportunity to fulfill a wide range of requests for our clients. Recently, when migrating a physical file and print server to a newly build virtual server I discovered how useful the Robocopy command is.

Robocopy, or Robust File Copy for Windows, is built in to the Windows command line on Windows 7/8 and Windows Server 2008 or greater. The value of this command in a file and print server migration is the fact that it can copy an entire directory structure while leaving parameters intact (permissions, last modified dates, etc.)

The command that I recommend executing in a simple FP Server migration is below. This is assuming you are running it from the new FP Server:

By running the command as shown above, you will accomplish a simple and effective data transfer between two locations. To see a full list of ROBOCOPY switches, head to the following TechNet Article: https://technet.microsoft.com/en-us/library/cc733145(v=ws.10).aspx

Andy Shaffer, PEI

Contact us for Windows Server assistance from the experts!

 

4 Comments

  • James says:

    Hey;
    How did you move the actual share permissions? I’m doing a couple dry runs and it seems if the folder is share it will not move the share permissions.

  • Manuel says:

    change /COPY:DAT to /COPY:ALL

    /COPYALL Kopiert alle Dateiinformationen (Entspricht: D Data; A Attributes; T Time stamps; S NTFS access control list (ACL); O Owner information; U Auditing information).

  • Manuel says:

    sorry, in english:
    /COPYALL copies all information (Includes: D Data; A Attributes; T Time stamps; S NTFS access control list (ACL); O Owner information; U Auditing information).

  • vikas khandola says:

    use robocopy

Leave a Reply