SFTP Server Migration

less than 1 minute read

Description:

We needed to setup a new FTP server that is SFTP compliant and can run on Server 2012. This ended up being a similar to process to migrating a file server.

To Resolve:

  1. Follow the steps on Create A New VM.

  2. Once the VM is created, install the SFTP server software.

  3. After installation, open up the old box and the new one and mirror the directories and users exactly. We didn’t have many users so we recreated them and changed their passwords. For mirroring the directories of the FTP server to the SFTP server, we just used robocopy:

    robocopy z: g: /mir
    

^Assuming the original FTP data was shared out and mapped on the SFTP server as the Z: with the SFTP server hosting the SFTP data on the G: