Transferring files from server a to b?

Discussion in 'Site & Server Administration' started by crazyryan, Jun 2, 2007.

  1. #1
    Hey, I need to move a site from a server, I have 1gb of files in a folder and don't want to have to download them then upload them.

    Can I use a command via SSH or .. how can I do it fast and effectively?
     
    crazyryan, Jun 2, 2007 IP
  2. Lordy

    Lordy Peon

    Messages:
    1,643
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #2
    wget or

    scp -r * root@ip:/home/
     
    Lordy, Jun 2, 2007 IP
  3. crazyryan

    crazyryan Well-Known Member

    Messages:
    3,087
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    175
    #3
    Can I get some more details instructions please, the folders need to be transferred from public_html/files and public_html/thumbnails to the same folders on a different server.

    Thanks :D
     
    crazyryan, Jun 2, 2007 IP
  4. krayton

    krayton Guest

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    A proggie called Flash FXP will allow you to transfer between server, but i think fxp has to be enabled on both.
     
    krayton, Jun 2, 2007 IP
  5. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #5
    Is this on a shared account or do you have WHM?
     
    login, Jun 2, 2007 IP
  6. crazyryan

    crazyryan Well-Known Member

    Messages:
    3,087
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    175
    #6
    Shared accounts
     
    crazyryan, Jun 2, 2007 IP
  7. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #7
    But you just want to transfer from server to server, not to download it first, right ? You have the backup utility in cPanel for that.
     
    login, Jun 2, 2007 IP
  8. livingearth

    livingearth Well-Known Member

    Messages:
    1,469
    Likes Received:
    83
    Best Answers:
    0
    Trophy Points:
    140
    #8
    I am wanting to do this same thing on Plesk...
     
    livingearth, Jun 2, 2007 IP
  9. crazyryan

    crazyryan Well-Known Member

    Messages:
    3,087
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    175
    #9
    I want transfer to different servers, but the accounts are shared, I don't have whm access.
     
    crazyryan, Jun 2, 2007 IP
  10. Agent_Smith

    Agent_Smith Well-Known Member

    Messages:
    890
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    145
    #10
    Ask your new webhost to do it. Thats what i used to do.
     
    Agent_Smith, Jun 2, 2007 IP
  11. zonzon

    zonzon Peon

    Messages:
    100
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #11
    rsync or scp is the way
     
    zonzon, Jun 2, 2007 IP
  12. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #12
    you can use cpanel to move your files as an alternative (if you have root account on the server)
     
    trichnosis, Jun 2, 2007 IP
  13. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Login to your cPanel on first server. Go to backups and generate a full backup.

    Ask your new host to restore the account and give him the cPanel backup or cPanel access.

    They'll do it for you.
     
    inworx, Jun 3, 2007 IP
  14. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #14
    He said he had Plesk, is it possible there also ?
     
    login, Jun 3, 2007 IP
  15. Travis

    Travis Peon

    Messages:
    539
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #15
    tarball the entire directory you want, make it web accessible, then
    wget "http://www.domain.com/file.gz"

    via SSH on the new server, then untar it...Will compact it, and will transfer at a higher speed as it's between two fast connections, and you're not playing the middle man.
     
    Travis, Jun 3, 2007 IP
  16. Pathan

    Pathan Well-Known Member

    Messages:
    2,196
    Likes Received:
    218
    Best Answers:
    0
    Trophy Points:
    165
    #16
    better would be u should ask ur new host to do it for u they will do it easily....

    or u can do like
    first tar tht folder or file by command
    tar -cvf filename.tar
    then copy it to ur server with wget command
    wget http://www.ursite.com/filename.tar

    now extract it with this command
    tar -xvf filename.tar

    U must have SSH access
     
    Pathan, Jun 6, 2007 IP
  17. bouncer69

    bouncer69 Peon

    Messages:
    978
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #17
    If you need help i can do it for you ;)
     
    bouncer69, Jun 6, 2007 IP
  18. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #18
    He already said he doesnt has ssh access.
     
    inworx, Jun 6, 2007 IP