Backup transport log verbosity
Hi,
Is it possible to add more info to backup transport error logs? I have failures with Gdrive but can't find out the real problem, it just says it failed.
Here is the failure part from tonight:
-----------------------------
warn [cpbackup_transporter] Upload attempt failed: Error uploading /backup/2019-02-19/accounts/ACCOUNT_NAME.tar.gz: Forbidden at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 27.
Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x160fdb8), "Upload attempt failed: Error uploading /backup/2019-02-19/acc"...) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 624
Cpanel::Backup::Queue::transport_backup::attempt_to_upload_file(Cpanel::Backup::Queue::transport_backup=HASH(0x1468190), Cpanel::Transport::Files::GoogleDrive=HASH(0x2590430), "/backup/2019-02-19/accounts/ACCOUNT_NAME.tar.gz", "/ServerBackup/srvcp01/2019-02-19/accounts/ACCOUNT_NAME.tar.gz", Cpanel::LoggerAdapter=HASH(0x160fdb8)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 309
Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x1468190), cPanel::TaskQueue::Task=HASH(0x24a5aa0), Cpanel::LoggerAdapter=HASH(0x160fdb8)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 624
eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 627
cPanel::TaskQueue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 233
eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 233
cPanel::StateFile::Guard::call_unlocked(cPanel::StateFile::Guard=HASH(0x2495370), CODE(0x2278930)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 632
cPanel::TaskQueue::process_next_task(cPanel::TaskQueue=HASH(0x2495298)) called at /usr/local/cpanel/bin/cpbackup_transporter line 167
eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 165
------------------------------------------------------
It's just the bigger domain, all other domains work fine.
The "forbidden" error is not quite meaningful, as all other domains work.
Being the bigger domain, might be the problem is size, but I should have proper size on my Gdrive.
So: meaningful error code would be easyer to debug.
Thank you very much
-
Ok, it actually was a space problem. Still, debug is quite problematic. Thank you very much. 0 -
Hi @Nicola Urbinati There isn't any setting for this right now though I'm unsure if it would have made a difference since the backup transport is reporting back the error code that was provided by google. I do think the ability to increase the backup transport verbosity to debug is a fantastic idea, please feel free to open a feature request for this using the link in my signature. Once it's open please update this thread with the link so others can vote on it as well. Thanks! 0
Please sign in to leave a comment.
Comments
2 comments