FTP Remote
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!
-
Hello, Please check FTP session timeout limit and increase it then try it. 0 -
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. 0 -
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. [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 command0 -
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. 0 -
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. 0 -
I am happy to see that backups now copy over successfully. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
6 comments