Backup Transfers failing??

splicey

Registered
Sep 7, 2020
3
1
1
Texas
cPanel Access Level
Root Administrator
Hi,
I'm having errors on backup transfers by FTP to local backup server. Have looked at forums for hour and cant figure out this error or where to change a timeout. Any help is appreciated. Seems to be happening on very large files <1GB, but some very large files are getting across successfully (some even over 5GB).

Code:
[2020-09-07 00:13:58 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x268a1c8) <<<  150 Opening data channel for file upload to server of "/backup/2020-09-07/system/system_files.tar"
[2020-09-07 00:14:32 -0400] info [cpbackup_transporter] Net::FTP: Net::Cmd::getline(): timeout at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/5.30.0/Net/FTP/dataconn.pm line 82.
[2020-09-07 00:14:32 -0400] info [cpbackup_transporter] put( /backup2/2020-09-07/system_files.tar, /backup/2020-09-07/system/system_files.tar ) FAILED
[2020-09-07 00:14:32 -0400] info [cpbackup_transporter] [Net::FTP] Timeout
[2020-09-07 00:14:32 -0400] warn [cpbackup_transporter] Upload attempt failed: [Net::FTP] Timeout at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 27.

here's another showing the ftp login

Code:
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) >>>  PORT 192,168,2,100,211,240
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<  200 Port command successful
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) >>>  FEAT
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<  211-Features:
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<   MDTM
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<   REST STREAM
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<   SIZE
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<   MLST type*;size*;modify*;
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<   MLSD
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<   UTF8
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<   CLNT
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<   MFMT
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<   EPSV
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<   EPRT
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<  211 End
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) >>>  HELP ALLO
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<  214 Command ALLO is supported by FileZilla Server
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) >>>  ALLO 63189770240
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<  202 No storage allocation neccessary.
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) >>>  STOR /backup/2020-09-07/accounts/acervosa.tar
[2020-09-07 01:03:03 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x28605a0) <<<  150 Opening data channel for file upload to server of "/backup/2020-09-07/accounts/acervosa.tar"
[2020-09-07 01:03:56 -0400] warn [cpbackup_transporter] Upload attempt failed: Timeout at /usr/local/cpanel/3rdparty/perl/530/lib/perl5/5.30.0/Net/FTP.pm line 857.
 at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 27.
        Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x19c6748), "Upload attempt failed: Timeout at /usr/local/cpanel/3rdparty/"...) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 658
        Cpanel::Backup::Queue::transport_backup::attempt_to_upload_file(Cpanel::Backup::Queue::transport_backup=HASH(0x17b1aa0), Cpanel::Transport::Files::FTP=HASH(0x289aaf8), "/backup2/2020-09-07/accounts/acervosa.tar", "/backup/2020-09-07/accounts/acervosa.tar", Cpanel::LoggerAdapter=HASH(0x19c6748)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 333
        Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x17b1aa0), Cpanel::TaskQueue::Task=HASH(0x17c12c0), Cpanel::LoggerAdapter=HASH(0x19c6748)) called at /usr/local/cpanel/Cpanel/TaskQueue.pm line 635
        eval {...} called at /usr/local/cpanel/Cpanel/TaskQueue.pm line 638
        Cpanel::TaskQueue::__ANON__() called at /usr/local/cpanel/Cpanel/StateFile.pm line 241
        eval {...} called at /usr/local/cpanel/Cpanel/StateFile.pm line 241
        Cpanel::StateFile::Guard::call_unlocked(Cpanel::StateFile::Guard=HASH(0x2842688), CODE(0x27ff198)) called at /usr/local/cpanel/Cpanel/TaskQueue.pm line 643
        Cpanel::TaskQueue::process_next_task(Cpanel::TaskQueue=HASH(0x28421f0)) called at /usr/local/cpanel/bin/cpbackup_transporter line 168
        eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 166
and here's one that gets thru successfully

Code:
[2020-09-07 01:04:28 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x30bb1b0) >>>  STOR /backup/2020-09-07/accounts/isavicos.tar
[2020-09-07 01:04:28 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x30bb1b0) <<<  150 Opening data channel for file upload to server of "/backup/2020-09-07/accounts/isavicos.tar"
[2020-09-07 01:06:52 -0400] info [cpbackup_transporter] Net::FTP=GLOB(0x30bb1b0) <<<  226 Successfully transferred "/backup/2020-09-07/accounts/isavicos.tar"
[2020-09-07 01:06:52 -0400] info [cpbackup_transporter] put( /backup2/2020-09-07/accounts/isavicos.tar, /backup/2020-09-07/accounts/isavicos.tar )
[2020-09-07 01:06:52 -0400] info [cpbackup_transporter] Successful transfer of /backup2/2020-09-07/accounts/isavicos.tar to /backup/2020-09-07/accounts/isavicos.tar for destination chillhost-backup-ftp

One other thing, when I go to Home »Backup »Backup Configuration > Additional Destinations in WHM, and I try to edit the existing destination or create a new destination, the "Save Destination" box at the bottom is greyed out and unclickable, and I can only 'cancel'. I don't think this is related to the above issue, but what could this be? I was trying to increase the timeout on that page in case it might help, but am unable to. But I don't think that that is the timeout causing the problem.

On WHM 90.0.5 Cloudlinux 7.8

thanks!!
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,255
313
Houston
Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,255
313
Houston
Hello,

I checked in on this and it looked to be a couple of issues, one was the relative path issue on the backup folder and the other portion of it seems to be increasing the timeout, but we're awaiting your feedback as to whether or not you continue to experience issues. If you get a chance we'd love to know if this is still occurring.
 

splicey

Registered
Sep 7, 2020
3
1
1
Texas
cPanel Access Level
Root Administrator
Hi, it seems like simply changing the timeout to the max of 300 seconds was enough to resolve the issue. And I was unable to change the timeout because of the relative path being entered with a preceding /. Removed the / and then I could change the timeout and save the changes. Thanks again. Will update here if any further issues.
 
  • Like
Reactions: cPanelLauren