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.

FTP Remote

Discussion in 'Data Protection' started by anderson.deda, Sep 1, 2014.

  1. anderson.deda

    anderson.deda Member

    Joined:
    Feb 14, 2014
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello good evening.
    I have a question regarding the backup, I've read the documentation but still continue with it.

    Today there is a running cpanel latest version and the rule of backup server is configured to send files to a remote FTP, so far no problems, the problem is that when the backup file is very large it of error, backups generally superior to 3GB .

    If I connect via SSH and use a scp command I can send files to remote FTP without problems.

    Is there any hint that the configuration is not for me to transfer these files without problems?

    I thank you.
    Thank you very much!
     
  2. server9host

    server9host Well-Known Member

    Joined:
    Sep 18, 2013
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Please check FTP session timeout limit and increase it then try it.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please review the following log file:

    /usr/local/cpanel/logs/cpbackup_transporter.log

    Do you notice any specific error messages in this log file? In particular, do you see anything related to the account archive that failed to copy over?

    Thank you.
     
  4. anderson.deda

    anderson.deda Member

    Joined:
    Feb 14, 2014
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello good evening.
    Today my timeout is the maximum allowed, ie, 300.
    I'll put down the piece of the log where the file has to be backed up.

    Code:
    [2014-08-31 03:47:20 -0300] info [cpbackup_transporter] Net::FTP=GLOB(0x2bd4348) >>>  ALLO 35018997805
    [2014-08-31 03:47:20 -0300] info [cpbackup_transporter] Net::FTP=GLOB(0x2bd4348) <<<  200 A L'HUILE
    [2014-08-31 03:47:20 -0300] info [cpbackup_transporter] Net::FTP=GLOB(0x2bd4348) >>>  PORT 192,157,236,144,195,253
    [2014-08-31 03:47:20 -0300] info [cpbackup_transporter] Net::FTP=GLOB(0x2bd4348) <<<  200 PORT command successful
    [2014-08-31 03:47:20 -0300] info [cpbackup_transporter] Net::FTP=GLOB(0x2bd4348) >>>  STOR /weekly/2014-08-31/filebackup.tar.gz
    [2014-08-31 03:47:20 -0300] info [cpbackup_transporter] Net::FTP=GLOB(0x2bd4348) <<<  150 Connecting to port 50173
    [2014-08-31 04:32:19 -0300] warn [cpbackup_transporter] Upload attempt failed: time out reached
     at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 26
    	Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x2017590), 'Upload attempt failed: time out reached\x0A') called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 314
    	Cpanel::Backup::Queue::transport_backup::attempt_to_upload_file(Cpanel::Backup::Queue::transport_backup=HASH(0x2960278), Cpanel::Transport::Files::FTP=HASH(0x2975710), '/backup/weekly/2014-08-31/accounts/filebackup.tar.gz', '/weekly/2014-08-31/filebackup.tar.gz', Cpanel::LoggerAdapter=HASH(0x2017590)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 190
    	Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x2960278), cPanel::TaskQueue::Task=HASH(0x29fea10), Cpanel::LoggerAdapter=HASH(0x2017590)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 580
    	eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 583
    	cPanel::TaskQueue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 247
    	eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 247
    	cPanel::StateFile::Guard::call_unlocked(cPanel::StateFile::Guard=HASH(0x28c4630), CODE(0x2a08240)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 588
    	cPanel::TaskQueue::process_next_task(cPanel::TaskQueue=HASH(0x29ebcb8)) called at /usr/local/cpanel/bin/cpbackup_transporter line 150
    	eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 148
    [2014-08-31 04:32:19 -0300] info [cpbackup_transporter] Error encountered
    [2014-08-31 04:32:19 -0300] info [cpbackup_transporter] Error is not a reference time out reached
    
    [2014-08-31 04:32:19 -0300] info [cpbackup_transporter] Upload attempt #2 starting for /backup/weekly/2014-08-31/accounts/filebackup.tar.gz to /weekly/2014-08-31/filebackup.tar.gz for destination:  Backup Remoto
    [2014-08-31 04:32:19 -0300] info [cpbackup_transporter] Net::FTP=GLOB(0x2bd4348) >>>  ALLO 35018997805
    [2014-08-31 04:32:19 -0300] info [cpbackup_transporter] Net::FTP=GLOB(0x2bd4348) <<<  500 Unknown command
    [2014-08-31 04:32:19 -0300] info [cpbackup_transporter] Net::FTP=GLOB(0x2bd4348) >>>  PORT 192,157,236,144,208,136
    [2014-08-31 04:32:20 -0300] info [cpbackup_transporter] Net::FTP=GLOB(0x2bd4348) <<<  500 Unknown command
    [2014-08-31 04:32:20 -0300] info [cpbackup_transporter] put( /backup/weekly/2014-08-31/accounts/filebackup.tar.gz, /weekly/2014-08-31/filebackup.tar.gz ) FAILED
    [2014-08-31 04:32:20 -0300] info [cpbackup_transporter] Unknown command
    
    [2014-08-31 04:32:20 -0300] warn [cpbackup_transporter] Upload attempt failed: Unknown command
     
    #4 anderson.deda, Sep 3, 2014
    Last edited by a moderator: Sep 4, 2014
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please try increasing the "Maximum destination timeout" value under "Global Settings" in "WHM Home » Backup » Backup Configuration". The maximum value for this field is 50000 seconds. This is a different value than the one you have modified.

    Thank you.
     
  6. anderson.deda

    anderson.deda Member

    Joined:
    Feb 14, 2014
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello everyone.
    I've been informed that this process solved the problem.
    Confirmed and the backup was copied correctly, with 30GB files were copied.

    Thanks for your help.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page