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 Backups Not Rotating

Discussion in 'Data Protection' started by graham86uk, Apr 22, 2015.

  1. graham86uk

    graham86uk Registered

    Joined:
    Apr 22, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    I'm having an issue where our backups are not being removed from the remote FTP server.

    I've checked the backup_transporter logs and this is what I'm getting.

    This has been going on since we switched from using NFS to FTP.

    Code:
    [2015-04-21 02:18:59 +0100] info [cpbackup_transporter] Starting a "prune" operation on the "Remote FTP" destination ID "kdaRfvX6xnBkDu9rqDcq6qAw".
    
    [2015-04-21 02:18:59 +0100] info [cpbackup_transporter] Base path for destination is /vol/vol05_ftp/remote_web/Web02
    
    [2015-04-21 02:18:59 +0100] warn [cpbackup_transporter] Unable to prune:  “Cpanel::Transport::Files::_perms_str2oct” was given an invalid permissions string:  at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 26
        Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x23b0f50), 'Unable to prune:  \xE2\x80\x9CCpanel::Transport::Files::_perms_str2oct\xE2\x80\x9D was given an invalid permissions string: ') called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 407
        Cpanel::Backup::Queue::transport_backup::attempt_to_prune_destination(Cpanel::Backup::Queue::transport_backup=HASH(0x2e99fe8), Cpanel::Transport::Files::FTP=HASH(0x3167ec8), 3, Cpanel::LoggerAdapter=HASH(0x23b0f50)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 157
        Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x2e99fe8), cPanel::TaskQueue::Task=HASH(0x2f33808), Cpanel::LoggerAdapter=HASH(0x23b0f50)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 582
        eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 585
        cPanel::TaskQueue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 238
        eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 238
        cPanel::StateFile::Guard::call_unlocked(cPanel::StateFile::Guard=HASH(0x2faba10), CODE(0x3042090)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 590
        cPanel::TaskQueue::process_next_task(cPanel::TaskQueue=HASH(0x2f33838)) called at /usr/local/cpanel/bin/cpbackup_transporter line 151
        eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 149
     
    #1 graham86uk, Apr 22, 2015
    Last edited by a moderator: Apr 22, 2015
  2. 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,

    Could you let us know the version of cPanel installed on this system so we can verify if the issue is associated with any existing internal cases?

    Thank you.
     
  3. graham86uk

    graham86uk Registered

    Joined:
    Apr 22, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    It's happening on two servers both running 11.48.3 (build 0)
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Internal case number 101193 addressed an issue related to pruning backups on certain remote destinations, however that case is already included in the version of cPanel you are using. Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  5. graham86uk

    graham86uk Registered

    Joined:
    Apr 22, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Ticket ID is 6422073
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Internal case number 187065 is now open to address an issue where pruning remote backups can fail when FTP directory listing format is different than expected (a different format than what's reported in the original case). There's currently no time frame for a resolution, but you can monitor our change logs for this case number at:

    cPanel - Change Logs

    Thank you.
     
Loading...

Share This Page