S3Sync.net

General Category => General Discussion => Topic started by: svittal on April 21, 2009, 12:48:02 PM



Title: S3_s3sync_modstring_to_format: Unsupported calling formauntime Error)
Post by: svittal on April 21, 2009, 12:48:02 PM
If anyone is getting this problem on a s3sync.rb -r option then you will need to export $AWS_CALLING_FORMAT = REGULAR
if you have $AWS_CALLING_FORMAT = SUBDOMAIN and on your s3 bucket you do not have a subdomain, then  you will get this error.

Also, with 'REGULAR' the call to your ruby script will be like this -

ruby s3sync.rb -r --ssl --delete --debug /var/log/  syslogs:

where 'syslogs' is my main bucket.

Hope this helps someone...