backup not uploading to ftp
Hi,
I am trying to use the cpanel backup to upload the backups to ftp. I've added the FTP transport/destination, enabled it and validated it. There were no errors.
When I run:
/usr/local/cpanel/bin/backup --force
and check the logs I can see absolutely no errors there. After the backup is finished nothing is uploaded to ftp and if I check WHM the remote FTP transport/destination I added is now listed as disabled.
If I enable and validate it again via WHM and re-force the backup it gets disabled again.
Am I doing something wrong? Please advise
-
Hello :) Please check the following log file: /usr/local/cpanel/logs/cpbackup_transporter.log
Do you see any particular error messages regarding the FTP transfer? Thank you.0 -
Hi, Here's what I can see in that log file: 2014-02-05 01:19:58 -0600] warn [cpbackup_transporter] Upload attempt failed: time out reached at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 26 Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x23c7830), 'Upload attempt failed: time out reached\x0A') called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 219 Cpanel::Backup::Queue::transport_backup::attempt_to_upload_file(Cpanel::Backup::Queue::transport_backup=HASH(0x239ade8), Cpanel::Transport::Files::FTP=HASH(0x2c97390), '/home/backup/2014-02-05/accounts/account.tar.gz', '/backup/ 2014-02-05/knifewea.tar.gz', Cpanel::LoggerAdapter=HASH(0x23c7830)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 135 Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x239ade8), cPanel::TaskQueue::Task=HASH(0x2bc49d8), Cpanel::LoggerAdapter=HASH(0x23c7830)) called at /usr/local/cpanel/3rdparty/p erl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 571 eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 574 cPanel::TaskQueue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 246 eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 246 cPanel::StateFile::Guard::call_unlocked(cPanel::StateFile::Guard=HASH(0x2cadd18), CODE(0x2cd1008)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 579 cPanel::TaskQueue::process_next_task(cPanel::TaskQueue=HASH(0x23af320)) called at /usr/local/cpanel/bin/cpbackup_transporter line 89 eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 87 [2014-02-05 01:20:58 -0600] warn [cpbackup_transporter] Upload attempt failed: Unknown Error at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 26 Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x23c7830), 'Upload attempt failed: Unknown Error') called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 219 Cpanel::Backup::Queue::transport_backup::attempt_to_upload_file(Cpanel::Backup::Queue::transport_backup=HASH(0x239ade8), Cpanel::Transport::Files::FTP=HASH(0x2c97390), '/home/backup/2014-02-05/accounts/account.tar.gz', '/backup/ 2014-02-05/knifewea.tar.gz', Cpanel::LoggerAdapter=HASH(0x23c7830)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 135 Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x239ade8), cPanel::TaskQueue::Task=HASH(0x2bc49d8), Cpanel::LoggerAdapter=HASH(0x23c7830)) called at /usr/local/cpanel/3rdparty/p erl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 571 eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 574 cPanel::TaskQueue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 246 eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 246 cPanel::StateFile::Guard::call_unlocked(cPanel::StateFile::Guard=HASH(0x2cadd18), CODE(0x2cd1008)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 579 cPanel::TaskQueue::process_next_task(cPanel::TaskQueue=HASH(0x23af320)) called at /usr/local/cpanel/bin/cpbackup_transporter line 89 eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 87 [2014-02-05 01:21:59 -0600] warn [cpbackup_transporter] Upload attempt failed: Unknown Error at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 26 Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x23c7830), 'Upload attempt failed: Unknown Error') called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 219 Cpanel::Backup::Queue::transport_backup::attempt_to_upload_file(Cpanel::Backup::Queue::transport_backup=HASH(0x239ade8), Cpanel::Transport::Files::FTP=HASH(0x2c97390), '/home/backup/2014-02-05/accounts/account.tar.gz', '/backup/ 2014-02-05/knifewea.tar.gz', Cpanel::LoggerAdapter=HASH(0x23c7830)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 135 Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x239ade8), cPanel::TaskQueue::Task=HASH(0x2bc49d8), Cpanel::LoggerAdapter=HASH(0x23c7830)) called at /usr/local/cpanel/3rdparty/p erl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 571 eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 574 cPanel::TaskQueue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 246 eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 246 cPanel::StateFile::Guard::call_unlocked(cPanel::StateFile::Guard=HASH(0x2cadd18), CODE(0x2cd1008)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 579 cPanel::TaskQueue::process_next_task(cPanel::TaskQueue=HASH(0x23af320)) called at /usr/local/cpanel/bin/cpbackup_transporter line 89 eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 87 [2014-02-05 02:53:40 -0600] warn [cpbackup_transporter] Upload attempt failed: time out reached
although I can't see any mentioning of FTP upload attempts inside the main backup log file. Please advise0 -
Could you try uploading a backup archive from the cPanel server to the remote server via FTP to verify it works manually? Thank you. 0 -
[quote="cPanelMichael, post: 1564852">Hello :) Please check the following log file: /usr/local/cpanel/logs/cpbackup_transporter.log
Do you see any particular error messages regarding the FTP transfer? Thank you.
Tbh, I'm getting the same problems. Both SCP and FTP, so something is amiss here. Is there any way of triggering the "copy to remote" process without having to backup all the accounts again using force. cPanel Backup Transporter Queue Daemon started There's a daemon, how do I trigger it to recopy? David0 -
[quote="ecommercesussex, post: 1579851">Tbh, I'm getting the same problems. Both SCP and FTP, so something is amiss here.
What error messages do you see in the /usr/local/cpanel/logs/cpbackup_transporter.log file? Thank you.0
Please sign in to leave a comment.
Comments
5 comments