What is the most efficient way to move files to another server?

Discussion in 'Site & Server Administration' started by komirad, Nov 28, 2008.

  1. #1
    I am upgrading my server.

    I only got FTP and SSH.
    I want to move an entire directory of files consisting of around 2000 files to my new server which runs PLESK.
    Then, I got to move the MySQL database as well.

    What I am doing is downloading all the files from 1 server through FTP, to my computer, then uploading it to the new 1 through FTP.

    Is there a safer and more efficient way of doing this?
    I need to verify that all the files are there.
     
    komirad, Nov 28, 2008 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    If you want to do it more faster than compress the whole folder using ssh and then wget the backup to new server and extract it..

    Its faster and no data loss

    Rep is appreciated
     
    Bohra, Nov 28, 2008 IP
  3. qualityhostings

    qualityhostings Well-Known Member

    Messages:
    1,764
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    105
    #3
    use rsync
    it can check the remote file and will copy the file from the source if the destination file doesnt exits or older then the source file. Also faster.
     
    qualityhostings, Nov 29, 2008 IP
  4. qualityhostings

    qualityhostings Well-Known Member

    Messages:
    1,764
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    105