Hi all,
I have an issue backing up to S3 - I've read the threads about bucket names not containing dots and V4 bucket support - but I'm still seeing the following in the transport log:
[2018-12-14 11:49:18 +0000] info [cpbackup_transporter] Validating destination path /Backups/2018-12-14/system/
[2018-12-14 11:49:21 +0000] info [cpbackup_transporter] Making Path /Backups/2018-12-14/system/
[2018-12-14 11:49:23 +0000] warn [cpbackup_transporter] Path creation failed: PermanentRedirect: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 27.
Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x181eeb0), "Path creation failed: PermanentRedirect: The bucket you are "...) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 838
Cpanel::Backup::Queue::transport_backup::_validate_path(Cpanel::Backup::Queue::transport_backup=HASH(0x1676190), Cpanel::Transport::Files::AmazonS3=HASH(0x26be7f0), "/Backups/2018-12-14/system/system_files.tar", Cpanel::LoggerAdapter=HASH(0x181eeb0)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 788
Cpanel::Backup::Queue::transport_backup::validate_path(Cpanel::Backup::Queue::transport_backup=HASH(0x1676190), Cpanel::Transport::Files::AmazonS3=HASH(0x26be7f0), "/Backups/2018-12-14/system/system_files.tar", Cpanel::LoggerAdapter=HASH(0x181eeb0)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 255
Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x1676190), cPanel::TaskQueue::Task=HASH(0x26b4900), Cpanel::LoggerAdapter=HASH(0x181eeb0)) 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(0x26a4910), CODE(0x26a42c8)) 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(0x26a47c0)) called at /usr/local/cpanel/bin/cpbackup_transporter line 167
eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 165
I've tried buckets set up in eu-west-1 (Ireland) and eu-west-2 (London) and neither validate or succeed when trying to back up to them. I can happily connect to the bucket via the AWS CLI, upload files etc. however I do have to set the region. Is there some way to tell the backup transport to use a specific region? Or have I got something wrong somewhere?
Thanks!
I have an issue backing up to S3 - I've read the threads about bucket names not containing dots and V4 bucket support - but I'm still seeing the following in the transport log:
[2018-12-14 11:49:18 +0000] info [cpbackup_transporter] Validating destination path /Backups/2018-12-14/system/
[2018-12-14 11:49:21 +0000] info [cpbackup_transporter] Making Path /Backups/2018-12-14/system/
[2018-12-14 11:49:23 +0000] warn [cpbackup_transporter] Path creation failed: PermanentRedirect: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 27.
Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x181eeb0), "Path creation failed: PermanentRedirect: The bucket you are "...) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 838
Cpanel::Backup::Queue::transport_backup::_validate_path(Cpanel::Backup::Queue::transport_backup=HASH(0x1676190), Cpanel::Transport::Files::AmazonS3=HASH(0x26be7f0), "/Backups/2018-12-14/system/system_files.tar", Cpanel::LoggerAdapter=HASH(0x181eeb0)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 788
Cpanel::Backup::Queue::transport_backup::validate_path(Cpanel::Backup::Queue::transport_backup=HASH(0x1676190), Cpanel::Transport::Files::AmazonS3=HASH(0x26be7f0), "/Backups/2018-12-14/system/system_files.tar", Cpanel::LoggerAdapter=HASH(0x181eeb0)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 255
Cpanel::Backup::Queue::transport_backup::process_task(Cpanel::Backup::Queue::transport_backup=HASH(0x1676190), cPanel::TaskQueue::Task=HASH(0x26b4900), Cpanel::LoggerAdapter=HASH(0x181eeb0)) 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(0x26a4910), CODE(0x26a42c8)) 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(0x26a47c0)) called at /usr/local/cpanel/bin/cpbackup_transporter line 167
eval {...} called at /usr/local/cpanel/bin/cpbackup_transporter line 165
I've tried buckets set up in eu-west-1 (Ireland) and eu-west-2 (London) and neither validate or succeed when trying to back up to them. I can happily connect to the bucket via the AWS CLI, upload files etc. however I do have to set the region. Is there some way to tell the backup transport to use a specific region? Or have I got something wrong somewhere?
Thanks!