FTP Backups Not Rotating
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.
[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-
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. 0 -
It's happening on two servers both running 11.48.3 (build 0) 0 -
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. 0 -
Ticket ID is 6422073 0 -
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: 0
Please sign in to leave a comment.
Comments
5 comments