Transferring from one server to another

Discussion in 'Site & Server Administration' started by xXTHeEddYXx, Mar 14, 2010.

  1. #1
    Is there a way to transfer from one server directly to another without me having to download it to my computer first?
     
    xXTHeEddYXx, Mar 14, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Yes, you can use things like rsync or even scp. Do you have ssh access on both servers? If they are both cPanel servers, there is a transfer utility that you can use as well, or, if you do not have WHM access, your host should be able to move the site over using this.

    Chris
     
    RHS-Chris, Mar 14, 2010 IP
  3. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #3
    tar the file
    wget the file
    extract the file
    thats it ,,,,
     
    Bohra, Mar 14, 2010 IP
  4. phpcat

    phpcat Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes..If you run cpanel or DA, then you can use very quick methods.
     
    phpcat, Mar 20, 2010 IP
  5. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #5
    I prefer rsync and use it with the options:

    rsync -axv --progress --delete --stats

    to get a clean copy of all files on new server
    including all ownership/permissions etc
    if you shut down mysql
    you may even copy correctly all mysql db incl all permissions etc
    this of course requires dedicated server on both sides
    while regular site copy is possible on hosted sites as well
     
    hans, Mar 21, 2010 IP
  6. perfectblue

    perfectblue Well-Known Member

    Messages:
    1,123
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #6
    rsync is the 1st & best choice you should go for ... when you want to migrate the contents with permissions intact...
    if its just media files / docs just tar them and wget them like how bohra said...
     
    perfectblue, Mar 21, 2010 IP
  7. plyrjohn404

    plyrjohn404 Peon

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    wget files.tar.gz
    /scripts/restorepkg --force files.tar.gz

    Your Done.
     
    plyrjohn404, Mar 21, 2010 IP
  8. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #8
    olddocks, Mar 22, 2010 IP
  9. maestria

    maestria Well-Known Member

    Messages:
    705
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #9
    There is a feature in WHM, where you can migrate accounts between the servers
     
    maestria, Mar 24, 2010 IP