I am hoping you s3cmd cats can help a brother out...
I am attempting to copy all the s3 access logs - for a specific day -
from one s3 bucket to an s3 bucket/object.
s3cmd sync --exclude "*" --include "*2012-12-27*"
s3://logs.xxxxxxxx.com/ s3://archivedlogs.xxxxxxxx.com/backup/
It works fine with the --dry-run option, but the actual sync breaks with
the following error:
First I see 5 timeouts, then it quits with this error:
Problem: S3RequestError: Request failed for:
/backup/s3_xxxxxxx_access_log-2012-12-27-00-27-15-47BA360C2B2CB74F
S3cmd: 1.0.1
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/s3cmd",
line 2006, in <module>
main()
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/s3cmd",
line 1950, in main
cmd_func(args)
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/s3cmd",
line 1215, in cmd_sync
return cmd_sync_remote2remote(args)
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/s3cmd",
line 906, in cmd_sync_remote2remote
response = s3.object_copy(src_uri, dst_uri, extra_headers)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/S3/S3.py",
line 311, in object_copy
response = self.send_request(request)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/S3/S3.py",
line 487, in send_request
return self.send_request(request, body, retries - 1)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/S3/S3.py",
line 487, in send_request
return self.send_request(request, body, retries - 1)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/S3/S3.py",
line 487, in send_request
return self.send_request(request, body, retries - 1)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/S3/S3.py",
line 487, in send_request
return self.send_request(request, body, retries - 1)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/S3/S3.py",
line 487, in send_request
return self.send_request(request, body, retries - 1)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/S3/S3.py",
line 489, in send_request
raise S3RequestError("Request failed for: %s" % resource['uri'])
S3RequestError: Request failed for:
/backup/s3_xxxxxxxx_access_log-2012-12-27-00-27-15-47BA360C2B2CB74F
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the above lines to:
s3tools-b...@lists.sourceforge.net
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general