Hi all,
I'm testing out the s3 tools, and the cmd tool works great. I'm running on Cent OS 5.1. I fire up a terminal, and export my environment variables via the following.
export AWS_ACCESS_KEY_ID="foo"
export AWS_SECRET_ACCESS_KEY="bar"
Then I can execute the following command, and everything works great.
./s3cmd.rb put 01rekf0mgfa5v6h5ktg2.backup:README.txt README.txt
However, when I try the s3sync below, I receive the following error. Any ideas? My key does have a '+' character in it.
$ ./s3sync.rb -r /usr/local/backup/upload/ rekf0mgfa5v6h5ktg2.backup:/projects
S3 command failed:
list_bucket max-keys 200 prefix /projects delimiter /
With result 404 Not Found
S3 ERROR: #<Net::HTTPNotFound:0xb7d4a730>
./s3sync.rb:289:in `+': can't convert nil into Array (TypeError)
from ./s3sync.rb:289:in `s3TreeRecurse'
from ./s3sync.rb:345:in `main'
from ./thread_generator.rb:79:in `call'
from ./thread_generator.rb:79:in `initialize'
from ./thread_generator.rb:76:in `new'
from ./thread_generator.rb:76:in `initialize'
from ./s3sync.rb:266:in `new'
from ./s3sync.rb:266:in `main'
from ./s3sync.rb:724