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.

Files aren't uploaded to remote FTP server

Discussion in 'Data Protection' started by Yossi, Sep 12, 2015.

  1. Yossi

    Yossi Member

    Joined:
    Sep 12, 2015
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Israel
    cPanel Access Level:
    Root Administrator
    Hey,

    I can't seem to make a proper upload to the server.
    The backup runs well, and everything is backed up on my system.
    When the cpbackup_transporter runs, it doesn't move all of the files, it moves one file at a time - and then it gets stuck. Then I have to kill the process, and re-run it - until all of the files are being uploaded.

    The FTP timeout is set to 300, the entire backup timeout is 36000.

    Here is the log when I run it manually:
    Code:
    info [cpbackup_transporter] Uploading /backup/2015-09-12/accounts/xxx.tar to /yyy/2015-09-12/xxx.tar
    
    info [cpbackup_transporter] Attempting to upload /backup/2015-09-12/accounts/xxx.tar to /yyy/2015-09-12/xxx.tar for destinati
    on:  ftp.myserver.com
    info [cpbackup_transporter] Upload attempt #1 starting for /backup/2015-09-12/accounts/xxx.tar to /yyy/2015-09-12/xxx.tar for
    destination:  ftp.myserver.com
    info [cpbackup_transporter] Net::FTP=GLOB(0x344b418) >>>  PASV
    info [cpbackup_transporter] Net::FTP=GLOB(0x344b418) <<<  227 Entering Passive Mode (192,110,0,56,254,128)
    info [cpbackup_transporter] Net::FTP=GLOB(0x344b418) >>>  STOR /yyy/2015-09-12/xxx.tar
    info [cpbackup_transporter] Net::FTP=GLOB(0x344b418) <<<  150 Opening BINARY mode data connection for file xxx.tar.
    It just gets stuck here. When I check the server, the file is partly uploaded.

    Here is the log file from: tail -f /usr/local/cpanel/logs/cpbackup_transporter.log
    Code:
    [2015-09-12 19:13:38 -0400] info [cpbackup_transporter] cPanel Backup Transporter Queue Daemon is being stopped.
    [2015-09-12 19:13:39 -0400] info [cpbackup_transporter] Initializing log file
    [2015-09-12 19:13:39 -0400] info [cpbackup_transporter] cPanel Backup Transporter Queue Daemon started.
    [2015-09-12 19:13:39 -0400] info [cpbackup_transporter] cpbackup_transporter - started
    [2015-09-12 19:13:39 -0400] info [cpbackup_transporter] cpbackup_transporter - Checking queue for tasks
    [2015-09-12 19:13:39 -0400] info [cpbackup_transporter] cpbackup_transporter - Processing next task
    [2015-09-12 19:13:40 -0400] info [cpbackup_transporter] Starting a "copy" operation on the "ftp.myserver.com" destination ID "HkoC7l7RG
    DhZKPW0ofA5BhXI".
    [2015-09-12 19:13:40 -0400] info [cpbackup_transporter] Base path for destination is /yyy/
    [2015-09-12 19:13:41 -0400] info [cpbackup_transporter] Upload attempt #1 starting for /backup/2015-09-12/accounts/xxx.tar to /ams1
    -cp/2015-09-12/xxx.tar for destination:  ftp.myserver.com
    
    It could be that the remote server is extremely slow - how could I check that?
    Maybe a leech protection is enabled on my own server?

    Thanks a lot!
     
  2. cPTerrance

    cPTerrance *nix Technical Analyst II / Migrations Specialist
    Staff Member

    Joined:
    Jul 9, 2015
    Messages:
    72
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It sounds like the transfer is going it is just transferring really slow either due to the Connection and/or Remote Server. You can check this either by seeing if the file size increases on the remote server or by running a strace on the Transporter's process.
     
Loading...

Share This Page