The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Moving Server: 4Gb cpmove file

Discussion in 'General Discussion' started by Jason Brice, Sep 9, 2006.

  1. Jason Brice

    Jason Brice Active Member

    Joined:
    Sep 29, 2001
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I'm movig a very large site onto a new server, and I have tried moving the manually created 4Gb cpmove-user.tar.gz file using wget. I get this response:


    Code:
    root@newserver [/backup/cpbackup/daily]# wget http://www.domain.com/cpmove-sbc.tar.gz
    --18:39:59--  http://www.domain.com/cpmove-user.tar.gz
               => `cpmove-user.tar.gz'
    Resolving www.domain.com... XXX.XXX.XXX.XXX
    Connecting to www.domain.com|XXX.XXX.XXX.XXX|:80... connected.
    HTTP request sent, awaiting response... 403 Forbidden
    18:39:59 ERROR 403: Forbidden.
    
    when I use ftp from shell I get this:

    Code:
    ftp> get cpmove-user.tar.gz
    local: cpmove-user.tar.gz remote: cpmove-user.tar.gz
    227 Entering Passive Mode (XXX,XXX,XXX,XXX,XXX,252)
    550 Can't open cpmove-user.tar.gz: File too large
    ftp>
    
    What should I use to move the file across?

    Thanks!
     
  2. Mysteerie

    Mysteerie Well-Known Member

    Joined:
    Dec 29, 2003
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    SCP is great for moving large files over. I have used it to transfer about 10GB accounts over.
     
  3. Jason Brice

    Jason Brice Active Member

    Joined:
    Sep 29, 2001
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
  4. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    if I remember correctly, using your example above, it would be:

    #scp -p 4000 user.tar.gz user@domain.com:/home/user/
     
  5. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Actually, it's -P not -p for scp, so the command should be:
    Code:
    #scp [B]-P[/B] 4000 user.tar.gz [email]user@domain.com[/email]:/home/user/
     
  6. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    thanks for catching that one ... yep .. scp port numbers arguement uses a capitalized P !

    my laziness typing all lower got the worst of me.
     
  7. vishwas

    vishwas Well-Known Member

    Joined:
    Feb 9, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Front of PC
    Transfering Large file

    Hello,

    When i try to move large file many time it fails completing due to network problem or pc is there any way that i can run scp in background so it will keep running even if my local network fails or pc dies.

    Any suggestion will be great.

    -Vishwas.
     
Loading...

Share This Page