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.

backup not uploading to ftp

Discussion in 'Data Protection' started by izghitu, Feb 5, 2014.

  1. izghitu

    izghitu Well-Known Member

    Joined:
    Aug 9, 2006
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Please check the following log file:

    Code:
    /usr/local/cpanel/logs/cpbackup_transporter.log
    Do you see any particular error messages regarding the FTP transfer?

    Thank you.
     
  3. izghitu

    izghitu Well-Known Member

    Joined:
    Aug 9, 2006
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    Here's what I can see in that log file:
    Code:
    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 advise
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,808
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. ecommercesussex

    Joined:
    Sep 19, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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?

    David
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,808
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    What error messages do you see in the /usr/local/cpanel/logs/cpbackup_transporter.log file?

    Thank you.
     
Loading...

Share This Page