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.

Amazon S3 backup errors

Discussion in 'Data Protection' started by mbekezm, Nov 3, 2014.

  1. mbekezm

    mbekezm Member

    Joined:
    Dec 22, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Port 80
    cPanel Access Level:
    Root Administrator
    Hello

    I have a small problem .. I recently enabled the Amazon S3 backups on one of my servers and after the backup had completed, i got an email stating

    Code:
    [backup] Backup transport errors on hostname.com
    
    The following errors occurred while transporting your backup files:
    
    Unable to send “/backup/2014-11-03/accounts/xxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxxxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxxxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxxxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxxxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxxx.tar.gz” to destination “AmazonS3 Backup”
    Unable to send “/backup/2014-11-03/accounts/xxxxx.tar.gz” to destination “AmazonS3 Backup”
    I looked into the transport logs and i got the following for one of the backups

    Code:
    [2014-11-03 09:06:27 +0200] info [cpbackup_transporter] cpbackup_transporter - Checking queue for tasks
    [2014-11-03 09:06:27 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
    [2014-11-03 09:06:27 +0200] info [cpbackup_transporter] Instantiating Object
    [2014-11-03 09:06:27 +0200] info [cpbackup_transporter] Starting a "copy" operation on the "AmazonS3 Backup" destination ID "keygoeshere".
    [2014-11-03 09:06:27 +0200] info [cpbackup_transporter] Validating destination path /2014-11-03
    [2014-11-03 09:10:35 +0200] info [cpbackup_transporter] Making Path /2014-11-03
    [2014-11-03 09:10:41 +0200] info [cpbackup_transporter] Path creation successful
    [2014-11-03 09:10:41 +0200] info [cpbackup_transporter] Uploading /backup/2014-11-03/accounts/domain.tar.gz to /2014-11-03/domain.tar.gz
    [2014-11-03 09:10:41 +0200] info [cpbackup_transporter] Attempting to upload /backup/2014-11-03/accounts/domain.tar.gz to /2014-11-03/domain.tar.gz for destination:  AmazonS3 Backup
    [2014-11-03 09:10:41 +0200] info [cpbackup_transporter] Upload attempt #1 starting for /backup/2014-11-03/accounts/domain.tar.gz to /2014-11-03/domain.tar.gz for destination:  AmazonS3 Backup
    [2014-11-03 09:13:35 +0200] warn [cpbackup_transporter] Upload attempt failed: RequestTimeout: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed. at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 26
    	Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x2000590), 'Upload attempt failed: RequestTimeout: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.') called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 314
    	Cpanel::Backup::Queue::transport_backup::attempt_to_upload_file(Cpanel::Backup::Queue::transport_backup=HASH(0x2949278), Cpanel::Transport::Files::AmazonS3=HASH(0x3bfeae8), '/backup/2014-11-03/accounts/w=domain.tar.gz', '/2014-11-03/domain.tar.gz', Cpanel::LoggerAdapter=HASH(0x2000590)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 190
    	Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x2949278), cPanel::TaskQueue::Task=HASH(0x3aeec20), Cpanel::LoggerAdapter=HASH(0x2000590)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 580
    	eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 583
    	cPanel::TaskQueue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 247
    	eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 247
    	cPanel::StateFile::Guard::call_unlocked(cPanel::StateFile::Guard=HASH(0x3562f00), CODE(0x352e5a8)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 588
    	cPanel::TaskQueue::process_next_task(cPanel::TaskQueue=HASH(0x29d4828)) called at /usr/local/cpanel/bin/cpbackup_transporter line 150
    	eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 148
    [2014-11-03 09:13:35 +0200] info [cpbackup_transporter] Error encountered
    [2014-11-03 09:13:35 +0200] info [cpbackup_transporter] Error is not a reference RequestTimeout: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.
    [2014-11-03 09:13:35 +0200] info [cpbackup_transporter] Upload attempt #2 starting for /backup/2014-11-03/accounts/domain.tar.gz to /2014-11-03/domain.tar.gz for destination:  AmazonS3 Backup
    [2014-11-03 09:15:53 +0200] warn [cpbackup_transporter] Upload attempt failed: RequestTimeout: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed. at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 26
    	Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x2000590), 'Upload attempt failed: RequestTimeout: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.') called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 314
    	Cpanel::Backup::Queue::transport_backup::attempt_to_upload_file(Cpanel::Backup::Queue::transport_backup=HASH(0x2949278), Cpanel::Transport::Files::AmazonS3=HASH(0x3bfeae8), '/backup/2014-11-03/accounts/domain.tar.gz', '/2014-11-03/domain.tar.gz', Cpanel::LoggerAdapter=HASH(0x2000590)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 190
    	Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x2949278), cPanel::TaskQueue::Task=HASH(0x3aeec20), Cpanel::LoggerAdapter=HASH(0x2000590)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 580
    	eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 583
    	cPanel::TaskQueue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 247
    	eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 247
    	cPanel::StateFile::Guard::call_unlocked(cPanel::StateFile::Guard=HASH(0x3562f00), CODE(0x352e5a8)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 588
    	cPanel::TaskQueue::process_next_task(cPanel::TaskQueue=HASH(0x29d4828)) called at /usr/local/cpanel/bin/cpbackup_transporter line 150
    	eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 148
    [2014-11-03 09:15:53 +0200] info [cpbackup_transporter] Error encountered
    [2014-11-03 09:15:53 +0200] info [cpbackup_transporter] Error is not a reference RequestTimeout: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.
    [2014-11-03 09:15:53 +0200] info [cpbackup_transporter] Upload attempt #3 starting for /backup/2014-11-03/accounts/domain.tar.gz to /2014-11-03/domain.tar.gz for destination:  AmazonS3 Backup
    [2014-11-03 09:19:10 +0200] warn [cpbackup_transporter] Upload attempt failed: RequestTimeout: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed. at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 26
    	Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x2000590), 'Upload attempt failed: RequestTimeout: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.') called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 314
    	Cpanel::Backup::Queue::transport_backup::attempt_to_upload_file(Cpanel::Backup::Queue::transport_backup=HASH(0x2949278), Cpanel::Transport::Files::AmazonS3=HASH(0x3bfeae8), '/backup/2014-11-03/accounts/domain.tar.gz', '/2014-11-03/domain.tar.gz', Cpanel::LoggerAdapter=HASH(0x2000590)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 190
    	Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x2949278), cPanel::TaskQueue::Task=HASH(0x3aeec20), Cpanel::LoggerAdapter=HASH(0x2000590)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 580
    	eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 583
    	cPanel::TaskQueue::__ANON__() called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 247
    	eval {...} called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/StateFile.pm line 247
    	cPanel::StateFile::Guard::call_unlocked(cPanel::StateFile::Guard=HASH(0x3562f00), CODE(0x352e5a8)) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/TaskQueue.pm line 588
    	cPanel::TaskQueue::process_next_task(cPanel::TaskQueue=HASH(0x29d4828)) called at /usr/local/cpanel/bin/cpbackup_transporter line 150
    	eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 148
    [2014-11-03 09:19:10 +0200] info [cpbackup_transporter] Error encountered
    [2014-11-03 09:19:10 +0200] info [cpbackup_transporter] Error is not a reference RequestTimeout: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.
    [2014-11-03 09:19:10 +0200] info [cpbackup_transporter] cpbackup_transporter - Checking queue for tasks
    [2014-11-03 09:19:10 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
    [2014-11-03 09:19:10 +0200] info [cpbackup_transporter] Instantiating Object
    [2014-11-03 09:19:10 +0200] info [cpbackup_transporter] Starting a "prune" operation on the "AmazonS3 Backup" destination ID "1EGtLCK5yr3PLWtWSaFV93qg".
    [2014-11-03 09:19:10 +0200] info [cpbackup_transporter] Performing prune operation, retaining 50 items on:  AmazonS3 Backup
    [2014-11-03 09:19:31 +0200] info [cpbackup_transporter] cpbackup_transporter - Checking queue for tasks
    [2014-11-03 09:19:31 +0200] info [cpbackup_transporter] cpbackup_transporter - Processing next task
    [2014-11-03 09:19:31 +0200] info [cpbackup_transporter] cpbackup_transporter - Checking queue for tasks
    [2014-11-03 09:19:31 +0200] info [cpbackup_transporter] cpbackup_transporter - Exiting - the queue has been emptied; no more work to do
    [2014-11-03 09:19:31 +0200] info [cpbackup_transporter] cPanel Backup Transporter Queue Daemon is being stopped.
    Any ideas what this means ? And how i can fix it to allow all the backups to be transported over to amazon s3 ?
     
  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 :)

    Please browse to "WHM Home » Backup » Backup Configuration" and increase the timeout value to "300" for Amazon S3 destination. You can then force a generation of backups to see if the issue persists with a command such as:

    Code:
    /usr/local/cpanel/bin/backup --force
    Thank you.
     
Loading...

Share This Page